Linux Mint Disable "Recently Used"
Support this website by purchasing prints of my photographs! Check them out here.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 ~
.
UPDATE: The above changes are no longer enough as of Linux Mint 18. You will now need to modify the following file:
~/.config/gtk-2.0/gtkfilechooser.ini
Edit the line which contains StartupMode=recent and modify the line to read as follows:
StartupMode=cwd