When you use gedit, maybe you will get this kind of warnning.
(gedit:4748): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.1ZUZZV': No such file or directory
(gedit:4748): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
(gedit:4748): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.BN13ZV': No such file or directory
(gedit:4748): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
(gedit:4748): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.Q0E9ZV': No such file or directory
(gedit:4748): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
Solution:
open terminal and type
sudo mkdir -p /root/.local/share/
本文介绍了解决在使用gedit时遇到的警告信息的方法。当尝试保存文件时,gedit可能会显示一系列关于无法创建或设置权限的警告。解决此问题可以通过在终端中运行特定命令来创建缺失的目录。

2万+

被折叠的 条评论
为什么被折叠?



