More of a remember this for later post, but the content took over an hour to figure out, even though it was remarkably simple.
XDG allows you to alter the default directories for a number of commonly used locations found on a users desktop.
This file is stored in $HOME/.config/user-dirs.dirs, you can change -- for example, Videos to be My Videos (making it more like Windows), or hide the Templates directory by changing it to .config/nautilus/Templates (which, you'll need to create first)
However, after editing this file and logging out/in, the GNOME panel and filechooser may show duplicates of these directories (once for the old directory, once for the new one).
The solution, is to remove the $HOME/.gtk-bookmarks file, then log out and re-log in, the file gets generated at login if it doesn't exist and will read the contents of your $HOME/.config/user-dirs.dirs file in order to get the correct locations.
Saturday, July 19, 2008
Tweaking XDG Settings on Ubuntu
Posted by Paul at 1:49 PM
Labels: one line hacks, ubuntu, usability tweaking