64

I can't seem to find a way to customize (add/remove folders/directories) the "Places" menu in the most recent "Files" application of Ubuntu 13.04. The procedures used with "Nautilus" in the previous versions of Ubuntu (bookmarking or drag&drop) don't seem to work anymore.

Does anybody have a clue on how to do that?

3
  • 1
    This answer is wrong: it creates a bookmark in the Bookmark section but not, as the questioner (and I) want, in the Places section.
    – user153983
    Apr 30, 2013 at 9:30
  • 1
    You are right, I removed the answer as accepted Apr 30, 2013 at 9:46
  • 1
    Yeah I know - I don't know why nautilus has that peculiar distinction between the two. The unity quicklist doesn't. I've not found a way to do exactly what was asked for - maybe there is a way, but I don't know it :-) Apr 30, 2013 at 19:18

6 Answers 6

35

First of all, open a nautilus window to the directory you wish to add. Then click the small cog icon in the top right of the nautilus window and click the 'Bookmark this location' entry. It will be added to the "Bookmarks" section of the sidebar.

Add a nautilus bookmark in Ubuntu 13.04

5
  • 2
    This button is not available in 12.04. How can I accomplish the same thing here?
    – user24668
    Jul 2, 2013 at 15:12
  • 1
    And for @Krige's other question... to remove a bookmark just right click on it and chose "Remove".
    – hobs
    Jul 31, 2013 at 4:28
  • 16
    But this does not answer exactly what asked for: It adds folders in Bookmark section of sidebar, not in Places section! Feb 23, 2014 at 20:13
  • 1
    @hobs: This way only works for removing Bookmark s, but how to remove folders from Places section? Feb 23, 2014 at 20:16
  • 4
    If the gear button/icon is not available (in newer versions) you can use the shortcut Ctrl+D to on a folder you're in and it'll be added to the Bookmarks sections
    – Peter
    Oct 2, 2014 at 10:17
33

I met the same problem and I found the following solution:

gedit ~/.config/user-dirs.dirs

remove the list you do not want. However, once you login again, it will reset, so -->

echo "enabled=false" > ~/.config/user-dirs.conf

Reference: http://jamesmcminn.com/2012/12/removing-entries-from-nautilus-3-6-places/

Alternatively, one may also solve everything by directly modifying Sysadmins file in /etc/xdg/user-dirs.conf, for more details refer to: Functions of xdg-user-dirs

5
  • 3
    It seems that ~/.config/user-dirs.dirs is not related to Nautilus Places, because it contains only constants that do not matches exactly folders listed in Places section. Feb 23, 2014 at 20:30
  • After upgrading from 12.10, my nautilus Places showed Desktop for both the desktop and the downloads. Editing ~/.config/user-dirs.dirs as indicated in this answer I was able to correct this.
    – dsh
    Feb 28, 2014 at 15:59
  • @PHPLearner even though they don't match, modifying still works (not sure why). I followed the instructions and places updated when I logged out and logged back in.
    – JDiMatteo
    Jul 4, 2016 at 23:30
  • This works. If you also want to remove the folders from the home directory, edit user-dirs.defaults, or make a copy of it in .config and edit there (for your local user). Jun 30, 2018 at 9:00
  • why does Ubuntu keep gedit as the default editor instead of Scite?
    – Jus12
    Dec 6, 2019 at 17:26
23

I just upgraded from 12.10 to 13.04 and I was suprised that my bookmarks are all gone in Nautilus!

I found that old ~/.gtk-bookmarks file has been replaced with ~/.config/gtk-3.0/bookmarks file. So all I had to do was copy / paste old bookmarks to new file. The syntax is the same.

Hope this helps someone.

14

For the time being use: Ctrl+D

Adding bookmarks via the menu seems to be broken right now. The help says to add a new bookmark, do:

Open the folder (or location) that you want to bookmark.

Click Bookmarks ▸ Add Bookmark.

The only entry I see in the menu is Files though, I can select Bookmarks there, but then only have the option to delete existing bookmarks.

2
  • 2
    I was looking for an option in the global menu and didn't even see the buttons on the right. So this is not broken, but obviously not obvious.
    – ramiro
    Apr 27, 2013 at 19:38
  • 5
    It took me longer than it should have too - it really isn't obvious at all. Bad UI in my opinion. Apr 30, 2013 at 19:19
6

Editing ~/.config/user-dirs.dirs and removing Pirtures/Music/Videos seems to remove them from the Places as well.

I am not sure if that has any other implications though, but it works.

Its not perfect but it makes the Places menu a little less annoying.

3

Try this one, this works for me. My file manager is Nautilus.

  1. Open nautilus as root

    sudo -H nautilus &>/dev/null
    
  2. Open the folder you want to add as bookmark.

    Open the folder you want to add as bookmark

  3. Open Bookmarks in the top menu bar -> click Bookmark this Location.

    Open **Bookmarks** in the top menu bar -> click **Bookmark this Location**

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .