Chinaunix首页 | 论坛 | 博客
  • 博客访问: 413427
  • 博文数量: 75
  • 博客积分: 2020
  • 博客等级: 大尉
  • 技术积分: 663
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-04 16:56
文章分类

全部博文(75)

文章存档

2010年(10)

2009年(65)

分类: LINUX

2009-08-23 11:53:57

希望在主菜 单中添加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 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 *

  就可以了

  这个问题的出现,

 php?f=80&t=129568

  处说是因为:

 .config/menus下的applications.menu以及settings.menu两个文件的内容被清空了,至于为什么会被清空,我就不知道了。

 将.config/menus目录下的文件都删除后,系统(可能是gnome)找不到这两个配置文件,它会重新生成这两个配置文件,并把内容设置成与/etc/xdg/menus下的对应文件相同的内容。关于这个,可以查看一下两个目录的applications.menu以及settings.menu的内容。

阅读(1962) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~