I open my Documents folder more often than my Home folder. In Unity, if I want to open Documents, I click on the File manager icon in the launcher (this opens Home), then I click on Documents in the Nautilus bookmarks. I would prefer to just left-click once on that icon and have Documents open directly.

I am not able to drag folders into the launcher (is this a bug?) to create shortcuts there. (or is there another way to do it?)

I am not interested in right-clicking the icon (I know it is possible to add bookmarks in the right-click menu, but I just want to single-click that icon).

So what can I do?

link|improve this question

feedback

3 Answers

up vote 3 down vote accepted

Have a look at the answer to How to add my favorite places as a quicklist in my home's icon in Unity?

You can change the first Exec line to read Exec=nautilus Documents and it will open your Documents folder.

link|improve this answer
1  
I can't get this to work. I copied "/usr/share/applications/nautilus-home.desktop" to "~/.local/share/applications", then replaced "Exec=nautilus --no-desktop" with "Exec=nautilus Documents". Then restarted, but the icon still opens home. – geoffrey May 16 '11 at 14:15
I tried it in a nearly pristine Natty VM and found that the folder ~/.local/share/applications is not there by default. Did you already have that folder (or did you create it)? Or did you copy /usr/share/applications/nautilus-home.desktop to a file with the name ~/.local/share/applications? – elmicha May 16 '11 at 17:29
1  
I got it to work by copying and editing 'nautilus.desktop' and not 'nautilus-home.desktop' – geoffrey May 17 '11 at 13:19
feedback

You can remove this home icon by dragging it to the bin at the bottom. You can then right click on the desktop and click 'Create Launcher...'.

Set the Type to 'Application' using the dropdown menu. Set the name to 'Documents' and the command to xdg-open /home/YOURNAME/Documents.

enter image description here

You can click the icon in the top left hand corner to change it to the home icon or any other icon if you wish. The home icon should be in the places/SIZE/folder-home.svg or places/SIZE/folder-home.png in the icon theme.

enter image description here

Click OK to create the launcher on the desktop.

enter image description here

You should then be able to drag and drop this to the launcher.

link|improve this answer
This would be interesting if it worked ... But I cannot drag and drop the icon to the launcher: the animation in the launcher seems to indicate that it is accepting the icon, but when I 'drop', the icon disappears. I also tried creating a desktop launcher for an 'application', and this one can be dropped on the launcher. But a 'location' launcher does not work. Is this a bug or a feature?? – geoffrey May 15 '11 at 11:43
Probably a bug. I've changed my answer to something that should work by using an application launcher. Instead of being a direct link to the location it launches a program that opens the location in your default file browser. – dv3500ea May 15 '11 at 13:05
thanks, that worked. by the way, no need to change the icon, it will be set automatically to the 'home-folder' icon when dropped on the launcher. It's a good solution, though one drawback is that when my Documents folder opens, another instance of the icon appears on the launcher. I'm voting up this answer, but will take a bit more time before accepting an answer. – geoffrey May 16 '11 at 14:22
feedback

I think this List of custom Launchers & Quicklists for Unity

is what you're looking for.

link|improve this answer
He actually said that's not what he's looking for. – htorque May 15 '11 at 10:03
No! He have to change the .desktop file and in this thread the posts explain how to do that! So why a negative mark? – Wolf F. May 16 '11 at 4:22
feedback

Your Answer

 
or
required, but never shown

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