Thronds

一问你会什么 二问你做出过什么 三问你为了什么

  C++博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  36 随笔 :: 0 文章 :: 56 评论 :: 0 Trackbacks
作者:Automatic 时间:2007-7-30 00:27 来源:Linux110红联社区
      使用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“字样文件名的文件删除,然后点击主菜单上的“还原”按钮即可恢复系统默认的状态。
[1]http://www.linuxdiyf.com/bbs/redirect.php?tid=53969&goto=lastpost
posted on 2008-12-11 19:03 thronds 阅读(736) 评论(0)  编辑 收藏 引用 所属分类: Linux桌面技术

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理