I'd like to create desktop shortcuts to folders. For example, a shortcut to "My Windows Documents" on my windows partition. How do I do this?

Creating desktop folder shortcuts.
(5 posts) (3 voices)-
Posted 13 years ago #
-
cp /usr/share/applications/pcmanfm.desktop ~/Desktop
nano ~/Desktop/pcmanfm.desktopName=My Windows Documents
Exec=pcmanfm /absolute/path/to/folderPosted 13 years ago # -
Hi, you can also use symbolic links:
ln -s /absolute/path/to/source/folder /path/to/name-of-shortcut
As an example, if you have a "/media/WINDOWS/Users/toto/Documents" (Unix path for your "My Documents" folder in Windows Vista or higher), you can create a shortcut named "Windows My Documents" on your SliTaz desktop with this command line:
ln -s /media/WINDOWS/Users/toto/Documents "$HOME/Desktop/Windows My Documents"
(I used double quotes because of spaces inside the shorcut name)Posted 13 years ago # -
Thanks!
Posted 13 years ago # -
Mojo's solution is as effective as mine. The difference with mine is that Mojo's one orders to use pcmanfm to open your folder from the shortcut whatever is your default file manager, while mine is just a shortcut, similar to those well known in Windows as an example, that will open with your default file manager (which is pcmanfm or another one, your choice).
If you are interested in what pcmanfm can do for you, to add features to your Mojo's style shortcut, don't forget to read
pcmanfm --help
command result to see what options you can use.
As an example, you could open the folder pointed by the shortcut in a new tab of any existing pcmanfm window rather than a new pcmanfm window, with "-t|--new-tab" option. ;-]Posted 13 years ago #
Reply
You must log in to post.