Is it possible to create a shortcut/symbolic link to a folder in unity launcher?

6,077

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:
6,077

Related videos on Youtube

Ankit
Author by

Ankit

Linux user since December, 2010. Have worked on various linux distros like red-hat, CENTOS and Ubuntu-desktop. Believe me Ubuntu-d is the best i have used. Junior Java Developer

Updated on September 18, 2022

Comments

  • Ankit
    Ankit over 1 year

    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.

    • Anwar
      Anwar over 11 years
      Do you mean Unity launcher?
    • Ankit
      Ankit over 11 years
      @anwar, yes i want to create shortcut to a folder deep inside the hierarchy on unity launcher. Like quick links in windows xp.
    • Anwar
      Anwar over 11 years
      @Ankit see the answer whether if fits your need
    • Takkat
      Takkat over 11 years
      You may be happy with bookmarks. See askubuntu.com/questions/126446/…
    • Ankit
      Ankit over 11 years
      @Takkat +1, Simple and easy way to add a link to unity. Thanks :)
  • Ankit
    Ankit over 11 years
    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".
  • Glutanimate
    Glutanimate over 11 years
    @Ankit There you go