Linux Gedit 报出警告

新装Fedora15后,在终端中输入# gedit /etc/profile 报出警告
(gedit:2184): Gtk-WARNING **: Attempting to read the recently used resources file at `/root/.local/share/recently-used.xbel', but the parser failed: 读取文件“/root/.local/share/recently-used.xbel”出错:是一个目录.
(gedit:2184): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: 将文件“/root/.local/share/recently-used.xbel.IJO6XV”重命名为“/root/.local/share/recently-used.xbel”失败:g_rename() 失败:是一个目录

解决方法是创建如下目录和文件/root/.local/share/recently-used.xbel

创建目录命令 mkdir 目录名

创建文件命令 touch 文件名

posted @ 2011-12-25 18:43  秋裤大叔  阅读(1023)  评论(0编辑  收藏  举报