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?
|
|||||||
|
|
Try this if instead of places you prefer a tree view of your folders placed on the left panel, use this command
To revert it back
Or go to View > Sidebar while Nautilus is open. |
||||
|
|
|
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 |
|||||||||
|
|
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.
|
|||||||||||||||
|
|
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 |
|||
|
|