I want to remove Videos and Music from the left side panel. But, I can't seem to find the option to do so. How do you do that?

|
I want to remove Videos and Music from the left side panel. But, I can't seem to find the option to do so. How do you do that?
|
|||||||||||||
|
|
Tested in Ubuntu 14.04 Those bookmarks are controlled by As an example, to remove the Videos bookmark from the list change the line:
to
Note:
If you need to edit the file again do the opposite via Nautilus or use the command
If you want to apply this to all users in your system change the file |
|||||||||
|
|
Aha - the definitive answer, thanks to A. J. McMinn: Removing entries from Nautilus Places 1) Comment out the unwanted bookmarks in 2) Make or edit a This solution persists over boot. *...this could be done with a one-liner: |
|||||||||||||||||||||
|
|
|||||
|
|
Open the file Comment out the line about the folder, which you do not want to be in the nautilus left pane. I commented about the Videos folder. .......... .......... ......... XDG_DOCUMENTS_DIR="$HOME/Documents" XDG_MUSIC_DIR="$HOME/Music" XDG_PICTURES_DIR="$HOME/Pictures" #XDG_VIDEOS_DIR="$HOME/Videos" Then open a terminal, and run for 13.04 or later:In Nautilus >= 3.6 this will not survive a logout/login or reboot. To overcome this we have to point our
|
|||||||||||||||||||||
|
|
These directories are set by xdg-user-dirs. Reading the documentation shows that you can disable a user directory by pointing it to your home directory. Use Ubuntu-Tweak or manually edit the file ~/.conf/user-dirs.dirs and point all the bookmarks you do not want to see to your home dir, and they will also disappear from the Nautilus side bar. NOTE: I tried commenting out and removing the lines from ~/.conf/user-dirs.dirs as forestpiskie suggests, and that worked only until the next time I logged in. By setting them to the $HOME dir, the settings stuck. |
|||
|
|
|
try going on Bookmarks in window menu, bookmarks > modify bookmarks (translate from italian ubuntu) and the remove the one that you don't want otherwise Ctrl + D to access the menu |
|||||
|
|
Edit - Dug into it a bit further - if you edit ~/.config/user-dirs.dir you can remove them from the panel and still have them as folders in your /home it seems.
|
|||||||||||||||||||||
|
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?