求助:“系统/首选项”菜单消失了

为当前最终发行版之前的所有版本提供支持
回复
judas
帖子: 14
注册时间: 2006-07-16 21:24
送出感谢: 0
接收感谢: 0

求助:“系统/首选项”菜单消失了

#1

帖子 judas » 2007-04-27 17:10

右键单击菜单/选择编辑菜单/选择系统,没有“首选项”这一项,如附件所示
请问怎么把它弄出来?
下面是“系统”菜单的配置文件,不知问题出在哪里
~/.config/menus/settings.menu

代码: 全选

<!DOCTYPE Menu
  PUBLIC '-//freedesktop//DTD Menu 1.0//EN'
  'http://standards.freedesktop.org/menu-spec/menu-1.0.dtd'>
<Menu>
	<Move>
		<Old>Preferences</Old>
		<New>Preferences/Preferences</New>
	</Move>
	<Name>Desktop</Name>
	<MergeFile type="parent">/etc/xdg/menus/settings.menu</MergeFile>
	<Menu>
		<Name>Administration</Name>
		<AppDir>/home/judas/.local/share/applications</AppDir>
		<Exclude>
			<Filename>redhat-system-config-printer.desktop</Filename>
		</Exclude>
		<Exclude>
			<Filename>shares.desktop</Filename>
		</Exclude>
		<Exclude>
			<Filename>gnome-keyring-manager.desktop</Filename>
		</Exclude>
		<Layout>
			<Merge type="menus"/>
			<Filename>update-manager.desktop</Filename>
			<Filename>synaptic.desktop</Filename>
			<Filename>bum.desktop</Filename>
			<Filename>shares.desktop</Filename>
			<Filename>gnome-keyring-manager.desktop</Filename>
			<Filename>time.desktop</Filename>
			<Filename>services.desktop</Filename>
			<Filename>gnome-cups-manager.desktop</Filename>
			<Filename>users.desktop</Filename>
			<Filename>gdmsetup.desktop</Filename>
			<Filename>gnome-system-log.desktop</Filename>
			<Filename>gnome-system-monitor.desktop</Filename>
			<Filename>gnome-nettool.desktop</Filename>
			<Filename>network.desktop</Filename>
			<Filename>hal-device-manager.desktop</Filename>
			<Filename>language-selector.desktop</Filename>
			<Filename>software-properties.desktop</Filename>
			<Filename>gswitchit-plugins.desktop</Filename>
			<Merge type="files"/>
		</Layout>
	</Menu>
	<Menu>
		<Name>Preferences</Name>
		<AppDir>/home/judas/.local/share/applications</AppDir>
		<Exclude>
			<Filename>gdmphotosetup.desktop</Filename>
		</Exclude>
		<Include>
			<Filename>gnomecc.desktop</Filename>
		</Include>
		<Include>
			<Filename>Gnome控制中心.desktop</Filename>
		</Include>
		<Include>
			<Filename>gstreamer-properties.desktop</Filename>
		</Include>
		<Exclude>
			<Filename>gpilotd-control-applet.desktop</Filename>
		</Exclude>
		<Exclude>
			<Filename>gnome-about-me.desktop</Filename>
		</Exclude>
		<Exclude>
			<Filename>wine-regedit.desktop</Filename>
		</Exclude>
		<Exclude>
			<Filename>wine-winecfg.desktop</Filename>
		</Exclude>
		<Exclude>
			<Filename>sun-java6-controlpanel.desktop</Filename>
		</Exclude>
		<Exclude>
			<Filename>sun-java6-policytool.desktop</Filename>
		</Exclude>
		<Layout>
			<Merge type="menus"/>
			<Filename>Gnome控制中心.desktop</Filename>
			<Filename>alacarte.desktop</Filename>
			<Filename>cddb-slave.desktop</Filename>
			<Filename>gpilotd-control-applet.desktop</Filename>
			<Filename>scim-setup.desktop</Filename>
			<Filename>sun-java5-controlpanel.desktop</Filename>
			<Filename>sun-java5-policytool.desktop</Filename>
			<Filename>gtk-theme-selector.desktop</Filename>
			<Filename>session-properties.desktop</Filename>
			<Filename>gnome-about-me.desktop</Filename>
			<Menuname>Accessibility</Menuname>
			<Filename>gnome-volume-properties.desktop</Filename>
			<Filename>gstreamer-properties.desktop</Filename>
			<Filename>font-properties.desktop</Filename>
			<Filename>gnome-screensaver-preferences.desktop</Filename>
			<Filename>display-properties.desktop</Filename>
			<Filename>nautilus-file-management-properties.desktop</Filename>
			<Filename>kde-kdepasswd.desktop</Filename>
			<Filename>background.desktop</Filename>
			<Filename>gnome-power-preferences.desktop</Filename>
			<Filename>gdmphotosetup.desktop</Filename>
			<Filename>window-properties.desktop</Filename>
			<Filename>gnome-network-preferences.desktop</Filename>
			<Filename>gnome-ui-properties.desktop</Filename>
			<Filename>vino-preferences.desktop</Filename>
			<Filename>kde-kwalletmanager.desktop</Filename>
			<Filename>keyboard.desktop</Filename>
			<Filename>keybinding.desktop</Filename>
			<Filename>gnome-settings-sound.desktop</Filename>
			<Filename>default-applications.desktop</Filename>
			<Filename>gnome-settings-mouse.desktop</Filename>
			<Filename>hal-device-manager.desktop</Filename>
			<Filename>hplip.desktop</Filename>
			<Filename>wine-winecfg.desktop</Filename>
			<Filename>wine-regedit.desktop</Filename>
			<Filename>desktop-effects.desktop</Filename>
			<Filename>gnome-volume-control.desktop</Filename>
			<Filename>emerald-theme-manager.desktop</Filename>
			<Filename>sun-java6-controlpanel.desktop</Filename>
			<Filename>sun-java6-policytool.desktop</Filename>
			<Merge type="files"/>
		</Layout>
	</Menu>
	<Layout>
		<Merge type="menus"/>
		<Menuname>Preferences</Menuname>
		<Menuname>Administration</Menuname>
		<Merge type="files"/>
	</Layout>
</Menu>
附件
b.png
a.png
judas
帖子: 14
注册时间: 2006-07-16 21:24
送出感谢: 0
接收感谢: 0

#2

帖子 judas » 2007-04-27 17:28

通过对比~/.config/menus/settings.menu与其所继承的父文件/etc/xdg/menus/settings.menu,
修改个人配置文件~/.config/menus/settings.menu,竟然搞定^_^
只需删除一下内容

代码: 全选

   <Move>
      <Old>Preferences</Old>
      <New>Preferences/Preferences</New>
   </Move> 
另外,可以直接修改~/.config/menus/settings.menu,调整“系统”菜单中的内容与顺序
回复

回到 “老旧版本支持”