10

I want to add a custom bookmark to Nautilus's/Ubuntu's File Manager's sidebar, right under:

Places

As opposed to adding it right under

Bookmarks

enter image description here

Tim
  • 32,861
  • 27
  • 118
  • 178
Drew
  • 601
  • 1
  • 6
  • 24
  • 2
  • @AlaaAli Yes, exactly, but the question can't be closed now. – Radu Rădeanu Jul 28 '14 at 12:43
  • @AlaaAli You failed to realize that this question is older than that question you just linked. Ergo; That question you linked is the duplicate; not this one. – Anon Jul 29 '14 at 03:09
  • 1
    @Akiva No, this website is not a game of which question is older than which; a question is marked a duplicate of another when the other has an answer that answers the question. The point of marking duplicates is to not have many questions asking the same thing, but rather a centralized one question that has the best answers. The other question I linked has a perfect answer. Ergo this question should be marked as a duplicate. You failed to do your search before awarding a bounty. – Alaa Ali Jul 29 '14 at 09:59
  • @AlaaAli I think you are correct. I apologize for not realizing this question was a duplicate. – Anon Jul 29 '14 at 12:31

1 Answers1

4

You can't simply add a new location to Places like you add to Bookmarks. This because those locations are hardcoded into Nautilus. You can change the name or location of the directories or you can hide the directories by pointing them to Home by editing ~/.config/user-dirs.dirs file, but you can't add new locations.

So, to add a new location to Places you have to edit the Nautilus source code. You can do this even if you are not a programmer by following carefully all the steps from this answer (many thanks to Roman Raguet for it).

Radu Rădeanu
  • 169,590
  • Hardcoded how? Binary or a config file? – Anon Jul 28 '14 at 10:34
  • @Akiva Can you open the link to the answer from my answer? If yes and if you will read it, you will understand :) Thank you! – Radu Rădeanu Jul 28 '14 at 12:49
  • Thank you for the link. If I may however make a suggestion; I think you can still answer my question as a brief qualifier. For example "There is a solution, however it will require you to branch nautilus and rebuild it from source: Here is the link how to do it". – Anon Jul 29 '14 at 03:15