红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

关于删除Ubuntu应用程序菜单

发布时间:2007-07-30 00:27:41来源:红联作者:Automatic
  使用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 条评论

  1. blackrain 于 2007-07-30 10:15:08发表:

    ubuntu我的电脑装不上,怎么办?
    我的电脑是ACER的宽屏,型号TraveMate3250AWXC
    intel core processor T1350
    14.1''WXGA wide TFT LCD
    ATI Mobillity Radeon X1300 with 128MB graphic memory
    512MB DDR2
    我是第一次安装ubuntu,在安装时,进入安装程序后就会跳出失败安装的提示:
    Failed to stare the x server (your graphical interface).It is likely that it is not set up correctly.
    接下去按下OK后,看具体的信息,然后就是不动了,不能安装,只好退出安装。
    是不是宽屏的不能安装Ubuntu ,还是我的硬件问题,如果不能安装,那我的电脑能安装哪个版本的LINUX。我的Ubuntu安装盘是从官网上申请来的。