Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

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        
    $ find ~ -name bookmarks | less

    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.


share|improve this question

marked as duplicate by Warren Hill, Rinzwind, Richard, Jorge Castro, bodhi.zazen Jul 28 '14 at 17:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 5 down vote accepted

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.

share|improve this answer
Thanks. (1) Is it possible to convert the nautilus dir bookmarks to softlinks? (2) What can I do if I really need some "links" to frequented dirs which can still work after changing the dirs' names? – Tim Jul 27 '14 at 3:01
I don't have that directory. My Ubuntu is 12.04, and I have $HOME/.config/gtk-2.0', which doesn't have bookmarks` inside. Also see the output of my searching for bookmarks. – Tim Jul 27 '14 at 5:13
Added info for 12.04 to the answer. What do you mean by " convert the nautilus dir bookmarks to softlinks"? – Florian Diesch Jul 27 '14 at 12:46
Thanks. (1) how do you find $HOME/.gtk-bookmarks? (2) I am wondering about how to write a (bash) script to convert the contents of $HOME/.gtk-bookmarks to links (softlinks or hardlinks) – Tim Jul 27 '14 at 12:53

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