Ubuntu使用gedit時報waring

2021-06-03 06:24:44 字數 1438 閱讀 2486

(gedit:1953): gtk-warning **: attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: 建立檔案「/root/.local/share/recently-used.xbel.kayl7v」失敗:沒有那個檔案或目錄

(gedit:1953): gtk-warning **: attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: 沒有那個檔案或目錄

(gedit:1953): gtk-warning **: attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: 建立檔案「/root/.local/share/recently-used.xbel.c2ms7v」失敗:沒有那個檔案或目錄

(gedit:1953): gtk-warning **: attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: 沒有那個檔案或目錄

(gedit:1953): gtk-warning **: attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: 建立檔案「/root/.local/share/recently-used.xbel.fyau7v」失敗:沒有那個檔案或目錄

(gedit:1953): gtk-warning **: attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: 沒有那個檔案或目錄

(gedit:1953): gtk-warning **: attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: 建立檔案「/root/.local/share/recently-used.xbel.negz7v」失敗:沒有那個檔案或目錄

(gedit:1953): gtk-warning **: attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: 沒有那個檔案或目錄

解決辦法如下:

切換到root使用者:

sudo -s

建立/root/.local/share/目錄:

mkdir -p /root/.local/share/

在使用gedit時,不再報上訴錯誤,問題解決。

Ubuntu使用gedit時報waring

gedit 1953 gtk warning attempting to store changes into root local share recently used.xbel but failed 建立檔案 root local share recently used.xbel.kayl7v...

ubuntu使用gedit開啟檔案出現警告

在用gedit開啟檔案時,出現下面警告資訊 但是gedit仍然可以正常工作。這個資訊的出現是來警告我們 任何具有超級許可權的人都可以編輯這些檔案。更糟糕的是,沒有什麼機制能夠 阻止別人修改你的配置。現實中,我們一般不會去關心這個問題。除非你是一些保密的國家機關單位,他們肯定把這個已經關閉了。想要在基...

ubuntu 10 04 gedit 中文亂碼

那倆選項新增 gb18030 gb2312 gbk 這樣就可以解決來自windows下的檔案的中文亂碼問題了。我新增了gb10830 gb2312之後,發現不管用。logout 之後,還是不管用。重新gconf editor一下。發現沒有新增進去。這說明了是賬戶的問題。我用root登陸,終端下的啟動...