Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Slightly OT: How to create a shortcut to a dir?< Next Oldest | Next Newest >
olliraa Offline





Group: Members
Posts: 24
Joined: Dec. 2004
Posted: July 09 2005,08:14 QUOTE

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 :)
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: July 09 2005,11:32 QUOTE

Open an xterminal window and type:

beaver /home/.xtdesktop/newicon.lnk

Then type these lines into beaver:

Code Sample
table Icon
 Type: Program
 Caption: Tmp Folder
 Command: emelfm /tmp
 Icon: .xtdesktop/emelfm.gif
 X: 272
 Y: 263
end


Save the file and exit beaver.

Then go to the fluxbox start menu and go to

Desktop -> No icons

and then

Desktop -> Icons only
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 09 2005,14:13 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
olliraa Offline





Group: Members
Posts: 24
Joined: Dec. 2004
Posted: July 31 2005,06:07 QUOTE

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?
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: July 31 2005,19:05 QUOTE

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.
Back to top
Profile PM 
5 replies since July 09 2005,08:14 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Slightly OT: How to create a shortcut to a dir?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code