You are not logged in.
Pages: 1
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?
cp /usr/share/applications/pcmanfm.desktop ~/Desktop
nano ~/Desktop/pcmanfm.desktop
Name=My Windows Documents
Exec=pcmanfm /absolute/path/to/folder
Offline
Hi, you can also use symbolic links:
[c]ln -s /absolute/path/to/source/folder /path/to/name-of-shortcut[/c]
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:
[c]ln -s /media/WINDOWS/Users/toto/Documents "$HOME/Desktop/Windows My Documents"[/c]
(I used double quotes because of spaces inside the shorcut name)
Offline
Thanks!
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 [c]pcmanfm --help[/c] 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. ;-]
Offline
Pages: 1
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]