Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question

4 Answers 4

up vote 13 down vote accepted

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

share|improve this answer
    
I cannot thank you enough. Although it was a seemingly infinitesimal problem, your precise instructions worked like a charm. –  Jiskya May 6 '12 at 5:11
    
Same here, in that this may be helpful in organizing the "Places" sidebar so all the Bookmarks are in one place. Currently, I have some Bookmarks under the Bookmarks group, and others, like these, under Computer. I might want to rearrange them, especially to make "File System" easier to see. –  Marty Fried May 6 '12 at 19:30
    
It works for me but when I start a new session, all the changes are lost. Any idea? –  Pierre Thibault Aug 25 at 4:15

Enter the directory you want to bookmark and go to Bookmarks → Add bookmark or just press Ctrl+D.

share|improve this answer
    
Excellent! Ctlr-D works. I do not have the menu because it otherwise goes in the bar at the top which is unusable on a normal system. Thank you. –  Alexis Wilke Jan 14 at 7:19

Just drag it there (literally). It'll make a shortcut / link

You can see how I've done this here for various folders.

enter image description here

share|improve this answer
    
For whatever reason, that doesn't exactly work for me. Once I release, the icon goes back to it's original position. –  Jiskya May 6 '12 at 1:27
    
Are you using Nautilus? It looks strange to me. –  Marty Fried May 6 '12 at 2:34
    
It is definitely Nautilus with the default ambiance theme. I'd tell you what version, but I don't know how to find that info. –  Jiskya May 6 '12 at 2:38
    
For most programs, including Nautilus, you can go to the "help" menu, choose "about", and it will tell you the version. –  Marty Fried May 6 '12 at 17:48
    
This is not Nautilus for Ubuntu 12 –  uvasal Apr 20 '13 at 22:05

My experience has been that you cannot really delete these shortcuts directly. If you rename the Downloads directory, then the shortcut will automatically rename itself to match the new name, even if you create a new directory named Downloads. So, how did you delete it?

Do you have a shortcut with the white down arrow in a folder? If so, that would be the former Downloads folder, and if you were to rename the actual folder, the shortcut will be renamed.

Is your current downloads folder named "Downloads", exactly? The first thing I do with a new distro is to delete all those folders (Pictures, Documents, Downloads, Music), and then add back a link to a shared partition, and name the links back to the original names. It then assumes the special icon automatically.

share|improve this answer
    
Honestly, I can't remember specifically how I did it. I vaguely recall dragging the initial Downloads bookmark to the trash, and then I confused myself because I made another Downloads bookmark. No, I cannot find the folder with the down arrow on it, anywhere. Yes, it is currently named "Downloads" exactly. –  Jiskya May 6 '12 at 2:39
    
That's strange, because as I said, I delete the Downloads folder, but I usually create the new one right away. Perhaps it has something to do with closing Nautilus when the folder does not exist. Perhaps I'll try it with a test system and post the results here. –  Marty Fried May 6 '12 at 4:49
    
The good news: I was able to duplicate the problem. I renamed one of the special directories (delete will also do it), then logged out. On logging in, I renamed it back, and it was added to Shortcuts (not under Computer), with standard icon. The bad news: I could not find out how to fix it. I tried completely removing nautilus on a test system, which involved reinstalling nautilus, ubuntu-desktop, gnome-session, etc. Didn't change anything. I assume you could find the icon and change that, but no way to get it back under "computer". Personally, I don't know if that's good or bad. :) –  Marty Fried May 6 '12 at 17:32
    
Oh, one more thing. I also tested this in a Fedora 16 vm running Gnome classic, and it has the same problem. So, it seems to be a Gnome problem. –  Marty Fried May 6 '12 at 17:47
    
Doug's solution worked for me. It was back under "computer" and everything. Also, if it helps anyone, I am using nautilus 3.4.1. –  Jiskya May 6 '12 at 19:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.