3

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.

Ankit
  • 6,779

1 Answers1

4

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.

Anwar
  • 76,649