Making an icon for an app?


Forum: Apps
Topic: Making an icon for an app?
started by: runbei

Posted by runbei on June 15 2006,19:45
I installed TextMaker in DSL. To run the program, I'd rather click an icon than open a terminal window, etc. Can someone tell me how to create the icon? TextMaker comes with a library of icons that I can choose from. Just need the steps to put the icon on the desktop and point it to the program file. Thanks!
Posted by mikshaw on June 15 2006,20:04
Copy your desired icon to /home/dsl/.xtdesktop, then open the icon tool (Desktop -> Icontool).  Click the "Add" tab, select your icon, and enter the label, coordinates, and command.
Posted by dtf on June 15 2006,20:15
I use fluxbox and am do not know if this applies to jwm.

Below assumes you are user dsl.

You need to install the icon file in /home/dsl/.xtdesktop and then you need to create a file like <you give it a name>.lnk.  Here is what a .lnk files like.
Code Sample

table Icon
 Type: Program
 Caption: LucentTerm
 Command:  /opt/tcltk-8.4/bin/wish /home/dsl/LucentTerminals.tcl
 Icon: .xtdesktop/lucent.xpm
 X: 8
 Y: 233
 Status: anchor
end


I just copied one of the existing files and editted it.  Some fields are obvious and others I am not sure about.

Caption is the caption for the icon
Command is the command you want to execute
Icon points to the icon you want to use

X, Y and Status I just left because I was not sure of the values.  You might be able to find a better explanation in a fluxbox tutorial.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.