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: icon, creating icons< Next Oldest | Next Newest >
lion Offline





Group: Members
Posts: 7
Joined: July 2005
Posted: July 20 2005,15:05 QUOTE

how can i create a new icon on my dsl desktop. i got xchat openoffice i would like to create a new icon on them.
Back to top
Profile PM 
adssse Offline





Group: Members
Posts: 505
Joined: Mar. 2005
Posted: July 20 2005,15:12 QUOTE

Open an xterminal window and type:
beaver /home/.xtdesktop/newicon.lnk (whatever you want name to be)

Then type these lines into beaver:

table Icon
Type: Program
Caption: "Your caption here"
Command: "Command for the program"
Icon: .xtdesktop/emelfm.gif (a gif file for the picture, or copy one used for another program)
X: "desired X cord."
Y: "desired Y cord."
end

(Also, make sure the lines in the .lnk file do not end with whitespace (space or tab) or your icon will not show.)

Save the file and exit beaver.
Then go to the fluxbox start menu and go to
Desktop -> No icons
and then
Desktop -> Icons only

I dont have much experience with this, so if I have made a mistake please correct me.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 20 2005,16:32 QUOTE

Looks good to me.
You can also add "menuCommand" lines for including right-click functions to the icon.
For example, if you want the option for an application to open in a transparent aterm, you can add something like this:
menuCommand1: Links(trans) : aterm -tr -shading 60 -fade 80 -bg black -fg white -g 120x32+10+10 -e links
This way your regular application will launch on double-click, and you get a menu item when you right-click.


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





Group: Members
Posts: 505
Joined: Mar. 2005
Posted: July 20 2005,16:55 QUOTE

Thanks for posting mikshaw. I didnt realize that you could do that. This applies only to 1.3 right?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 20 2005,19:18 QUOTE

nope.  As far as I know it has always been a part of Xtdesktop.
This feature just hasn't been used in the default DSL icons, or even mentioned anywhere other than in the example icons included with the full xtdesk download.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
5 replies since July 20 2005,15:05 < 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: 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