Press enter to see results or esc to cancel.

Failed to create recently-used.xbel : No such file or directory

I switched all my machines over to Linux from Windows recently – with Ubuntu (11.10) being my distribution of choice. One of the main reasons for the switch was the escalating cost of using commercial software like products from the Microsoft and Adobe families – costs I was able to cut out by using open source alternatives.

Although the switch to Ubuntu Unity turned out to be quite easy on the nerves, I did run into a few issues I had to iron out in order to have things running as smooth as I wanted them.

Gedit is a text editor that comes bundled with Ubuntu by default – and it looks quite solid and easy to use. When run from terminal however, an annoying message gets echoed which reads as follows:

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.K7DRBW': No such file or directory

I found the solution to this problem on ubuntuforums.org – it turns out the root of the problem (excuse the pun) is that the share directory is missing (thanks PROTEUS_5).

To fix the issue all I had to do was create the share directory in the specified location as follows:

sudo mkdir -p /root/.local/share

Tags

Comments

Leave a Comment