king

Mandriva2009无法启动Edit menus和Main Menu怎样解决

king 运维技术 2022-11-18 411浏览 0

希望在主菜单中添加maple12启动项,可是对着启动菜单点击右键的Edit menus后没有反应,从System->Preferences->Main Menu启动也没有反应,后来尝试从终端启动alacarte,却弹出一大堆错误提示:An error occurred while loading or saving configuration information for alacarte. Some of your configuration settings may not work properly. Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details – 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) 在网上找了半天,终于知道如何纠正了: 1,cd ~,进入 用户主目录 2,cd .config/menus 3, sudo rm -rf * 就可以了 这个问题的出现, http://forum.ubuntu.org.cn/viewtopic.php?f=80&t=129568 处说是因为: .config/menus下的applications.menu以及settings.menu两个文件的内容被清空了,至于为什么会被清空,我就不知道了。 将.config/menus目录下的文件都删除后,系统(可能是gnome)找不到这两个配置文件,它会重新生成这两个配置文件 ,并把内容设置成与/etc/xdg/menus下的对应文件相同的内容。关于这个,可以查看一下两个目录的applications.menu以及 settings.menu的内容。

继续浏览有关 系统运维 的文章
发表评论