Welcome 微信登录
编程资源 图片资源库 蚂蚁家优选 PDF转换器

首页 / 操作系统 / Linux / 关于删除Ubuntu应用程序菜单

使用wine安装了QQ 2006,在应用程序菜单自动生成Wine-腾讯软件-...多级文件夹&程序菜单,因为qq老是启动出错(ps.还是Pidgin好用),使用wine uninstaller也无法卸载,只好把文件夹qq安装目录删掉,还要把应用程序菜单下的Wine-腾讯软件-...删除(为什么这里没有像win下右键删除菜单的功能呢?),以为和其他菜单一样,菜单保存在/usr/share/applications下,可在这个目录下没有找到Wine目录项,在~/.wine目录翻了半天也没有,最后在帮助文档看到:

If you are confused about the order in which paths are searched, here is a simple list for resolving the location of applications.menu:

1. Search each directory in $XDG_CONFIG_HOME in order to find menus/applications.menu. If $XDG_CONFIG_HOME is not set, it defaults to the ~/.config/ directory.

2. Search each directory in $XDG_CONFIG_DIRS in order to find menus/applications.menu. If $XDG_CONFIG_DIRS is not set, it defaults to the /etc/xdg/ directory.

3. Use the first applications.menu file found.

应用程序的菜单是在~/.config/menus/applications.menu和/etc/xdg/menus/applications.menu文件定义,找到文件存放位置就好办了。

1. 如果只要使一些菜单不显示,打开 系统-首选项-主菜单,把不想显示的菜单取消选中状态就ok了。

2. 如果要把主菜单下的右窗格的一些菜单删除,可以选中菜单点右键,选择“删除”

3. 如果要删除左窗格下的新增的项目(比如我的Wine项)就要先到~/.config/menus/目录下,把所有带有“undo“字样文件名的文件删除,然后点击主菜单上的“还原”按钮即可恢复系统默认的状态。让ubuntu的播放器发声又有影的方法Ubuntu7.04 virtualbox 摄像头的使用相关资讯      Ubuntu 
  • 如果没有Ubuntu,我们将去哪里?  (02月04日)
  • Libra—扁平化风格Ubuntu Unity主  (11/30/2014 08:21:04)
  • 一盘棋:Ubuntu明明不赚钱为什么还  (08/19/2013 16:59:50)
  • 桌面/移动端 Ubuntu 将获重大 UI   (09/29/2015 11:48:18)
  • Ubuntu将消失 有人欢喜有人愁  (10/18/2013 11:43:45)
  • 烧钱不断的Ubuntu——一个理想主义  (08/14/2013 07:36:21)
本文评论 查看全部评论 (0)
表情: 姓名: 字数