Where does Nautilus store its bookmarks? [duplicate]

In my Ubuntu, I have added some frequented directories to the bookmarks of Nautilus, for visiting them quicker.

  1. I am looking for where the dir bookmarks of Nautilus are stored, but to no avail:

    $ find ~ -name nautilus | less        
    ./.config/nautilus
    ./.gconf/apps/nautilus
    ./.gconf/apps/ubuntuone/nautilus
    ./.gnome2/accels/nautilus
    
    $ find ~ -name bookmarks | less
    ./.streamtuner/cache/bookmarks
    ./.config/zathura/bookmarks
    ./.elinks/bookmarks
    

    I checked the above locations, and content of the files there, but didn't find anything for bookmarks.

  2. Is it possible to convert the dir bookmarks in Nautilus to links? It seems like dirs can't have hard links, but I prefer the links can still work after changing the dirs' name.

Thanks.


Solution 1:

The bookmarks are stored in the file $HOME/.gtk-bookmarks (Ubuntu 12.04) or $HOME/.config/gtk-3.0/bookmarks (Ubuntu 14.04)

In Linux you can't create hard links but only soft links (symlinks) for directories.