Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

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

share|improve this question

marked as duplicate by Alaa Ali, Radu Rădeanu, Glutanimate, bodhi.zazen, chaos Jul 29 at 19:53

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.

2  
    
@AlaaAli Yes, exactly, but the question can't be closed now. –  Radu Rădeanu Jul 28 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. –  Akiva Jul 29 at 3: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 at 9:59
    
@AlaaAli I think you are correct. I apologize for not realizing this question was a duplicate. –  Akiva Jul 29 at 12:31

1 Answer 1

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).

share|improve this answer
    
Hardcoded how? Binary or a config file? –  Akiva Jul 28 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 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". –  Akiva Jul 29 at 3:15

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