How do I remove items from the Places section of the Files sidebar?
The answer to this question is covered here.
You need to change the variables in .config/user-dirs.dirs
to point to $HOME
like this:
XDG_VIDEOS_DIR="$HOME"
Related videos on Youtube
Cory Klein
Computer science enthusiast, open source advocate, frugality expert
Updated on September 18, 2022Comments
-
Cory Klein over 1 year
I don't use the Music, Documents, Pictures, Video, and Trash folders often enough to warrant them an honorary place on the sidebar of Ubuntu's 13.04 default file manager "Files".
I would like to remove them, but the "Remove" item on the context menu is grayed out. Since Linux distros tend to be configurable I'm guessing there is a way around this.
The Gear menu doesn't seem to have any options to do this:
The Bookmarks menu looked helpful, but it still made no changes.
(This is after I removed all the Bookmarks I wasn't interested in.)
I have also tried the suggestion from this answer and commented out lines I don't want from
user-dirs.dirs
, but still no luck:$ vim ~/.config/user-dirs.dirs <edits> $ xdg-user-dirs-gtk-update
How do you remove these default items from the sidebar?
-
Cory Klein over 10 years@Takkat I just tried that answer, it didn't change the appearance at all. Have you tried this on 13.04? Also, if Nautilus is being used for files in 13.04, why does the File->About page say "Files 3.6.3"?
-
Cory Klein over 10 yearsI was able to fix it finally by following this comment.
-
Takkat over 10 yearsGreat! I edited the answer to add the comment. This makes it more prominent ;)
-
Arnold over 10 years@Takkat 's answer on this link perfectly works on my 13.04 x64 askubuntu.com/questions/79150/…
-
-
Cory Klein over 10 yearsUnfortunately in 13.04 there is no
Edit Bookmarks
menu available from the Gear icon or the menu bar. -
Maxim Kachurovskiy over 9 yearsWow, that helped. Simply deleting those entries didn't.
-
loxaxs about 7 yearsIn 16.04, there is an option
Bookmarks
which does the same. But the changes do not affect the sidepane.