配置桌面菜单时出现的问题
我用的是FC4我把/etc/xdg/menus下的所有.menu删掉
然后又写了一个applications.menu文件如下:“
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
<Menu>
<Name>Applications</Name>
<Directory>Applications.directory</Directory>
<!-- Scan legacy dirs first, as later items take priority -->
<LegacyDir>/usr/share/gnome/apps</LegacyDir>
<LegacyDir>/etc/X11/applnk</LegacyDir>
<!-- Read standard .directory and .desktop file locations -->
<DefaultAppDirs/>
<DefaultDirectoryDirs/>
<!-- Read in overrides and child menus from applications.d -->
<DefaultMergeDirs/>
<!-- CServ -->
<Menu>
<Name>CServ</Name>
<Directory>cserv.directory</Directory>
<OnlyUnallocated/>
<Include>
<And>
<Category>CServ</Category>
</And>
</Include>
</Menu> <!-- End CServ -->
<!-- Other -->
<Menu>
<Name>Other</Name>
<Directory>Other.directory</Directory>
<OnlyUnallocated/>
<Include>
<And>
<Category>Application</Category>
<Not><Category>Core</Category></Not>
<Not><Category>Settings</Category></Not>
<Not><Category>SystemSetup</Category></Not>
<Not><Category>X-Red-Hat-ServerConfig</Category></Not>
</And>
</Include>
</Menu> <!-- End Other -->
<MergeFile>applications-kmenuedit.menu</MergeFile>
</Menu> <!-- End Applications -->
”另外我也写了一个cserv.directory文件
但发现除了CServ外,应用程序的下拉菜单还有很多别的像“Game”“系统工具”这样的菜单
请问为什么会这样?
怎么把这些其它的菜单去掉?
多谢! 看看 applications-kmenuedit.menu 中是否有你不需要的菜单内容。
页:
[1]