曲径通幽论坛

标题: Bad key or directory name: "/desktop/gnome/url-handlers/": Key/dire [打印本页]

作者: beyes    时间: 2009-4-19 01:52
标题: Bad key or directory name: "/desktop/gnome/url-handlers/":
装了 VMWARE 后 ,系统开始出现问题,表现为:表现为不断的弹出个错误窗口,十分烦人。
An error occurred while loading or saving configuration information for slab.
Some of your configuration settings may not work properly

点击查看错误的详细信息:
Bad key or directory name: "/desktop/gnome/url-handlers/": Key/directory may not end with a slash '/'
Bad key or directory name: "/desktop/gnome/url-handlers/": Key/directory may not end with a slash '/'
Bad key or directory name: "/desktop/gnome/url-handlers/": Key/directory may not end with a slash '/'
Bad key or directory name: "/desktop/gnome/url-handlers/": Key/directory may not end with a slash '/'
Bad key or directory name: "/desktop/gnome/url-handlers/": Key/directory may not end with a slash '/'
Bad key or directory name: "/desktop/gnome/url-handlers/": Key/directory may not end with a slash '/'
到 opensuse 社区里看了一下,原来有这个问题的人还不少。

找到个办法:
1,先 CD 到 /home/$USER 目录下
2,执行以下命令:
chattr +i .recently-used.xbel

还有个什么先删除 .recently-used.xbel 文件并建立一个同名文件夹亦可解决。

chattr +i filename 命令的意思是:
     
A file with the `i' attribute cannot be modified: it cannot be  deleted
       or  renamed,  no  link  can  be created to this file and no data can be
       written to the file.  Only the superuser or a  process  possessing  the
       CAP_LINUX_IMMUTABLE capability can set or clear this attribute.
一个有 i 属性的文件不能被修改:它不能被删除或者重命名,也不能对它创建链接并且不能对此文件写。只有超级用户或一个可以处理“CAP_LINUX_IMMUTABLE"能力的进程可以对此进行设置或清除此属性。

参考链接:
http://forums.opensuse.org/pre-r ... ups-all-time-4.html




欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) Powered by Discuz! X3.2