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
 

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

reply to topic new topic new poll
Topic: "desktop" icons, i want a firefox icon< Next Oldest | Next Newest >
chickenman Offline





Group: Members
Posts: 113
Joined: Aug. 2004
Posted: Sep. 01 2004,10:04 QUOTE

I downloaded firefox,I'm not sure exactly what happend, but it didnt install properly anyway. i copyed the files from /tmp/firefox.tar.gz into their respectable directories. now it works, but only if i open /opt/firefox and type "firefox", this is messy as it leavesa shell open and if i close it, firefox closes.

This leading me to my point, i want to make a "desktop icon" for firefox, i have absolutly no idea where to start.
Back to top
Profile PM 
jerome5 Offline





Group: Members
Posts: 59
Joined: Aug. 2004
Posted: Sep. 01 2004,11:42 QUOTE

Ok here is what to do.

Get the rox.dsl extract the dsl with emelfm (click the my dsl button to extract it) .

Now there wont be a rox icon yet (at least not on my box)

Now right click on the desktop to bring up the menu and
mydsl->rox
rox file manager should appear and creat a new icon on the desktop.

Now click the button with x's and o's to make all the files visible.

Click .xdesktop directory and you will see a bunch of images and .lnk files.

Just make an image for firefox and a .lnk file and fill it with information like the other files and when you reboot if everything in the .lnk file was valid you will see a firefox icon.
firefox.lnk
--------------------------
table Icon
 Type: Program
 Caption: civserver
 Command: rxvt -rv -fn fixed -cr yellow  -T "firefox" -e /path_to/firefox
 Icon: .xtdesktop/firefox.jpg
 X: 25
 Y: 15
end
-----------------------------
Back to top
Profile PM 
chickenman Offline





Group: Members
Posts: 113
Joined: Aug. 2004
Posted: Sep. 01 2004,13:18 QUOTE

thanks, that worked, a bit, i had problems;

it all "works" fine, icon works and firefox runs, but it still displays a shell. Is there a way of getting around this? I am currently using this command to run firefox (in the link file):

rxvt -rv -fn fixed -cr yellow  -T "firefox" -e /opt/firefox/firefox

so what you said, but do i have one too many "firefox"'s in there? i tryed:

rxvt -rv -fn fixed -cr yellow  -T "firefox" -e /opt/firefox

but it didnt do much. I am sure it's probably something fairly simple thats gonna make me look like super n00b, bah.

thanks.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 01 2004,13:35 QUOTE

It displays a shell because you're opening a shell which spawns firefox, instead of opening firefox directly.

if you change 'rxvt -rv -fn fixed -cr yellow  -T "firefox" -e /opt/firefox/firefox' to just '/opt/firefox/firefox' it won't open a shell.

the first firefox is a directory, the second is the application.


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





Group: Members
Posts: 59
Joined: Aug. 2004
Posted: Sep. 02 2004,03:43 QUOTE

true, I modified that from my freeciv server which needs a shell
Back to top
Profile PM 
4 replies since Sep. 01 2004,10:04 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: "desktop" icons

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