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.

Possible Duplicate:
In Unity, how do I make desktop shortcuts (a la Windows, OSX)?
How can you access a folder you want quickly?

I want to create a shortcut for a folder on unity. How is it possible?


Edit:- I would think of this shortcut as quick-link in windows for referencing a frequently used item easily without having to navigate the directory structure every time I need to access it.

share|improve this question

marked as duplicate by Mitch, Tom Brossman, Jorge Castro, Eliah Kagan, Takkat Sep 16 '12 at 14:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2  
Do you mean Unity launcher? –  Anwar Shah Sep 16 '12 at 4:58
    
@anwar, yes i want to create shortcut to a folder deep inside the hierarchy on unity launcher. Like quick links in windows xp. –  Ankit Sep 16 '12 at 6:34
1  
@Ankit see the answer whether if fits your need –  Anwar Shah Sep 16 '12 at 6:35
3  
You may be happy with bookmarks. See askubuntu.com/questions/126446/… –  Takkat Sep 16 '12 at 7:05
1  
@Takkat +1, Simple and easy way to add a link to unity. Thanks :) –  Ankit Sep 16 '12 at 7:10

1 Answer 1

up vote 3 down vote accepted

For adding application launchers, see this more generic question:

I think, you are asking to add a launcher pointing to a location which will be opened with nautilus upon click.

To do so, Follow this:

  1. First create a file naming custom in your desktop.

  2. Open the file with a text editor (such as gedit or leafpad etc) by double clicking it

  3. Copy the below lines and paste them in the file

    [Desktop Entry]
    Name=Custom location
    Comment=Location
    Exec=nautilus /mnt
    Icon=nautilus
    Terminal=false
    Type=Application
    StartupNotify=false
    

    Change /mnt in the line Exec=nautilus /mnt with a desired location. You can also change the string in Name=Custom location line.

    Save it by pressing Ctrl + S

  4. Then again rename the file, pressing selecting it and pressing F2. Add a .desktop at the end of the file.

  5. Copy the file to your desired location. Note, if you delete the file later, the launcher will not work. I assume you copied it in ~/.local/share/applications folder.

  6. Then select the file and drag and drop it in the Unity launcher.

That's it. A new launcher will be created which will open the desired location when clicked.

share|improve this answer
    
great, that's what I wanted. Thanks a lot :).It's working. Could you please redirect me to a location from I can read some documentation regarding "Comment", "Icon", "Terminal" and "StartupNotify". –  Ankit Sep 16 '12 at 6:54
1  
@Ankit There you go –  Glutanimate Sep 16 '12 at 17:41

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