Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

In my setup I tend to symlink major user folders in Linux to their Windows equivalents, IE Downloads, Documents, Pictures, Videos, etc. Usually I make sure nautilus isn't running before I do it and the default list of folders under "Computer" stays the same

However my last change I forgot to do this and now the 4 folders above are filed under Bookmarks. Deleting the nautilus settings folder at ~/.conf/nautilus doesn't fix it. Reinstalling nautilus with yum reinstall nautilus nautilus-extensions doesn't fix it. I'm not sure where else to go as I don't know how nautilus is loading these folders

Does anyone have any suggestions on what to do to put the folders back under Computer?

share|improve this question
    
You mean you want them to appear in the left pane under Places along with Home, Trash and Recent instead of being listed under Bookmarks ? –  don_crissti Feb 21 '13 at 22:38
    
@don_crissti Yes. There it looks cleaner and doesn't make the entire side pane scroll since there isn't an extra Bookmarks category –  TheLQ Feb 22 '13 at 23:00

1 Answer 1

Normally, modifying Nautilus places is done with xdg-users-dirs. User configuration file default location is at ~/.config/user-dirs.dirs, just open it in a text editor and add/modify according to your preferences. Basically, in your particular case, your xdg dirs should point to your symlinks, e.g. XDG_DOCUMENTS_DIR="$HOME/docs", where $HOME/docs is a symlink to where you keep your documents.

More info on Arch's wiki.

Also, note that Nautilus reads the config file even without having the package xdg-user-dirs installed (I don't have it installed, I just created the file and added my dirs there). HTH.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.