Posted by & filed under Linux.

Linux Mint (and likely other distributions) come with a feature which tracks files that have been recently modified by certain GTK+ based GUI applications. This feature appears when you use the common “Save As” or “Open” dialogs. The feature displays a read-only, pseudo directory which cannot be written to, requiring an additional step to browse to a writable location.

Disabling this feature is pretty simple. Run the following two commands and it will be shut off:

rm ~/.local/share/recently-used.xbel
mkdir ~/.local/share/recently-used.xbel

What this does is removes the XML file used for keeping track of recently opened files. It is then replaced with a directory, a sort of hack to prevent the file from appearing again.

From now on the “Save As” and “Open” dialogs will default to your home directory. There’s no place like ~.

Thomas Hunter II

Thomas is passionate about technology and building products. A web design business created while attending college slowly evolved into a brick and mortar on Main St. of his small Midwestern hometown. His desire for fame and fortune led to the co-founding of a Y Combinator startup and a life in California.
Hey there! I'm currently writing a book on Microservices which I expect to release in early 2017. If you're interested in getting updates please signup here. More info about the Book