Ubuntu解决gedit warning问题的方法
生活随笔
收集整理的這篇文章主要介紹了
Ubuntu解决gedit warning问题的方法
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
1.問(wèn)題:Ubuntu11.04用sudo gedit打開(kāi)文件編輯保存后會(huì)出現(xiàn)如下提示:
? (gedit:26742): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: 創(chuàng)建文件“/root/.local/share/recently-used.xbel.D2BO6V”失敗:沒(méi)有那個(gè)文件或目錄
(gedit:26742): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: 沒(méi)有那個(gè)文件或目錄
2.在終端執(zhí)行命令:sudo mkdir -p /root/.local/share 即可解決。具體原因未知,似乎是和root權(quán)限有關(guān)。
總結(jié)
以上是生活随笔為你收集整理的Ubuntu解决gedit warning问题的方法的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: virtualbox虚拟机ubuntu和
- 下一篇: ubuntu18.04安装pycharm