Ubuntu – How to create a bookmark under “computer” in the Sidebar of the nautilus file manager in 12.04

12.04filemanagerfilesystemnautilus

Somehow, I removed the Downloads bookmark in the Sidebar under "Computer". Is there any way I can make a new one? Possibly with the same icon? I still have my Downloads directory. I just don't have the bookmark under "Computer" anymore, and it has the ordinary folder icon. I know it's not the most significant question, but it's a question nonetheless. Also, I'm not sure, but it may be important to note that I'm using unity 2d.

enter image description here

Best Answer

You need to do a couple of things then a log out/in should restore. (may be another way but this should suffice

First restore your current Downloads folder's icon

Open your home folder & right click on the Downloads folder > properties. Click on the folder icon, this will bring up a select custom icon window.

Browse to File System > usr > share > icons > Humanity > places > 48 & select the 1st folder_downloads.svg This should restore the icon to your Downloads folder

Now back in nautilus window > home folder

View > Show Hidden Files, open the folder .config. Inside is a file - user-dirs.dirs

You can either edit or just delete this file. If deleting then after do a log out in & hopefully all will be restored. If you want to edit then look for this line - XDG_DOWNLOAD_DIR="$HOME/" & edit to this

XDG_DOWNLOAD_DIR="$HOME/Downloads"

Then do a log out/in