Is it possible to create a shortcut/symbolic link to a folder in unity launcher?
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:
First create a file naming
custom
in your desktop.Open the file with a text editor (such as gedit or leafpad etc) by double clicking it
-
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 lineExec=nautilus /mnt
with a desired location. You can also change the string inName=Custom location
line.Save it by pressing Ctrl + S
Then again rename the file, pressing selecting it and pressing F2. Add a
.desktop
at the end of the file.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.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.
Related videos on Youtube
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, 2022Comments
-
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 over 11 yearsDo you mean Unity launcher?
-
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 over 11 years@Ankit see the answer whether if fits your need
-
Takkat over 11 yearsYou may be happy with bookmarks. See askubuntu.com/questions/126446/…
-
Ankit over 11 years@Takkat +1, Simple and easy way to add a link to unity. Thanks :)
-
-
Ankit over 11 yearsgreat, 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 over 11 years@Ankit There you go