(gedit:5943): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: 创建文件“/root/.local/share/recently-used.xbel.FVTZ9V”失败:没有那个文件或目录
(gedit:5943): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: 没有那个文件或目录
解决:
sudo mkdir -p /root/.local/share/
分析:
由于ubuntu默认不启用root账户,所以root就从来没登录过,所以就没有/root/.local/share/目录