Sunday, June 17, 2007

Fedora 7 and Pesky Directories

After installing Fedora 7, you will notice the following new directories in your home directory: Desktop, Download, Templates, Public, Documents, Music, Pictures, and Videos. These are the locations of logical directories managed by xdg-user-dirs. Some applications use the logical directories as default locations.

Recovering from this violation of your home directory structure is easy. To get rid of the directories, simply remove them and run xdg-user-dirs-update. The logical directory locations will be set to your home directory. The locations can also be changed by editing ~/.config/user-dirs.dirs.

Setting Desktop to your home directory may result in undesirable behavior. Directories and files in your home directory will turn up as icons on your desktop. I recommend setting Desktop to ~/.desktop. After changing Desktop, logout and back in for the new setting to take effect.

No comments: