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