Slightly OT: How to create a shortcut to a dir?Forum: X and Fluxbox Topic: Slightly OT: How to create a shortcut to a dir? started by: olliraa Posted by olliraa on July 09 2005,08:14
How can I create a shortcut on the desktop so thar clicking the shortcut will open a certain dir/folder? I'm using DSL for a "surfboard" for my wife, so I really need this ;)Thanks Posted by cbagger01 on July 09 2005,11:32
Open an xterminal window and type:beaver /home/.xtdesktop/newicon.lnk Then type these lines into beaver:
Save the file and exit beaver. Then go to the fluxbox start menu and go to Desktop -> No icons and then Desktop -> Icons only Posted by mikshaw on July 09 2005,14:13
One thing to keep in mind when doing this, make sure the lines in the .lnk file do not end with whitespace (space or tab) or your icon will not show. It took me forever to find the source of this trouble, so i just wanted to pass that on to help others not make the same mistake.There's also a flua script that will give you a graphical interface for icon creation, if you're more comfortable clicking than typing. < http://dsl-mirror.vectori.net/tools/mikshaw/dsl-create_icon.flua.txt > I can't remember if this is the lastest, but it *should* work. Posted by olliraa on July 31 2005,06:07
I manage to create a icon, but it doesn't take me to any specific folder, just opens emelfm the command is emelfm /home/dsl/maria If I click the icon, it will take me to /home/dsl That command should do it, right?
Posted by cbagger01 on July 31 2005,19:05
The command should do it.However, you do need to save your file before you exit beaver. Also, the original icon and the new icon have the exact same location on the desktop (x=272, y=263) If you are using an older version of DSL, the two icons will be in the same spot and one will be sitting on top of the other. Try a Single-click and drag the icon over to a different spot on the screen. Then double click on each icon to figure out which one is your newly created icon. Posted by struppi on Aug. 01 2005,14:55
what about using the rox-filer extension?a simple "/usr/bin/rox /home/dsl/maria" opens your wife's directory. and for beginners rox is much easier to use than emelfm. |