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: (3) </ [1] 2 3 >/

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

reply to topic new topic new poll
Topic: Creating a working desktop icon< Next Oldest | Next Newest >
lesliek Offline





Group: Members
Posts: 91
Joined: Feb. 2006
Posted: April 18 2006,06:49 QUOTE

I set up an old laptop for the son of friends. When doing so, I hadn't thought of including filesharing software (a function of my age).

After a discussion with him, I installed limewire4.8.0.dsl for him. Although I don't know how to use the application, I am able at least to open it successfully from the myDSL menu.

Installing the application didn't create a Limewire icon on the desktop, so I'm trying to create one of those myself.

I've managed to get the appropriate icon on the desktop, but I haven't been able to find the path to the executable file. I searched for all files on the system with "limewire" in them and found "/usr/bin/limewire". I assumed that was it, but using that as my command didn't work. I thought it might be a permissions problem, so I made the file executable by all. That didn't help.

Can someone tell me what command I should use to get the icon to open the application?
Back to top
Profile PM 
lovdsl Offline





Group: Members
Posts: 359
Joined: Feb. 2006
Posted: April 18 2006,08:33 QUOTE

What I did was go to home/dsl/fluxbox and open the fluxbox menu..this is an editable text file for the dsl menu..it will show the path used when you click the menu item..find your item copy it to the icon command line and try...I used this to create a shortcut to pppdial, and for the wmdrawer shortcuts..may work for you. oh.. just in case to view hidden files click "H"
Back to top
Profile PM 
lesliek Offline





Group: Members
Posts: 91
Joined: Feb. 2006
Posted: April 18 2006,08:45 QUOTE

Thanks for taking the trouble to reply, lovdsl.

Just to make things difficult, I'm using the other installed window manager, jwm.

I had thought of trying the same thing as you suggest, but didn't know which was the equivalent file for jwm. I tried to right click on the Limewire item in the myDSL menu, hoping that would identify the relevant file, but all it did was open the application in the same way that it does if I left click on it.

Thanks again,

Leslie
Back to top
Profile PM 
lovdsl Offline





Group: Members
Posts: 359
Joined: Feb. 2006
Posted: April 18 2006,08:56 QUOTE

Sorry, I am less familiar with jwm but think you can look on the menu and find emelfm as a super user and open the file manager...in the corner is a "H" which shows the hidden files in home/dsl..look for fluxbox and rightclick open...then open menu..it will open in the bever text editor..this is an editable menu, you should find the name which is the name that lists in the desktop menu where you click to open the program....next to it is the path to the program which is used when you click the menu item...I think you can use it for your icon...will switch and have a look..the jwmrc file is I think the jwm menu..not sure the path would be different..forgot to look.hope this helps

adding...ya I switched to jwm and near the top of the menu see file managers..if you just want to look you can use emelfm but to edit or copy the command line you need to use emelfm as a super user..do not cut the path as this is the editable jwm menu...in midnight commander I think you just double click to open the files..if that is the file manager you choose to  use with jwm

once you find the path you can go to the icon properties and add the path after command: or in full path box in the icon tool when creating
Back to top
Profile PM 
lovdsl Offline





Group: Members
Posts: 359
Joined: Feb. 2006
Posted: April 18 2006,20:18 QUOTE

Perhaps this is clearer
In jwm rightclick for the menu or click the dsl button
choose file managers
click either emelfm as a superuser or midnight commander as super
scroll to find jwmrc and right click and open
in midnight commander doubleclick to open and choose view from the menu at the botttom
scroll down the menu and find the name of the program whose path you seek  
or open fluxbox and open menu and do the same
ie: from fluxbox menu
[exec] (imagemagick) {/opt/imagemagick/bin/display}

ie: from jwmrc
<Program label="imagemagick"> /opt/imagemagick/bin/display </Program>

leftclick and drag to copy the path
/opt/imagemagick/bin/display

as you can see the path is the same

now go to the desktop menu click setup/desktop/icontool/new
click the left and right mouse buttons to paste the path into the fullpath box
give the icon a name and choose an icon and click ok

you should now have an icon for your program
this may be more helpfull.
Back to top
Profile PM 
13 replies since April 18 2006,06:49 < Next Oldest | Next Newest >

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

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: Creating a working desktop icon

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