System tips‎ > ‎


It is possible that when using the sudo command an error message appears in the terminal relating to Gtk, for example:

(gedit:8305): 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.3VXH3V': No such file or directory

(gedit:8305): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

The error shows that Gtk attempting to get read/write access and try to save (temporary) files in the directory. This is not working because this folder is missing, see the last part of the first line of the error: No such file or directory.

The solution to manually creating this folder by doing the following:
- Open a terminal
- Type the following command:
sudo mkdir -p /root/.local/share

To check if this directory is created type the following command in the terminal:
sudo ls /root/.local/

Note: It is important to start with the command sudo as one looks into a locked folder. Normal users have no write/read access in the above mentioned directory.