It is very simple to add a program icon at JWM tray zone. Imagine you want to add a home button to open your home directory. Here is what you have to do:
- Open your root directoty with rox-filer. Remember to press H key to show hidden files (they begin with a . (dot)).
- Find a file called .jwmrc-tray and open it.
- Add a row like this near to the other similars:
<TrayButton popup="Open home directory" icon="home.png">exec:rox</TrayButton>
- Restart X Window
And now you will have a new button with a new icon.
I didn't have home.png, which is 16x16 icon, on my PuppyLinux so I operated in this way:
- I opened /usr/local/lib/X11/pixmaps/home.xpm with mtPaint and from menu Image - Scale canvas so I scaled it to a 16x16 icon and I saved it in /usr/local/lib/X11/mini-icons/home.png
Put this row before the others but after Menu row if you like to have home directory before the other icons.
That's all folks
How to add program icon on tray zone in JWM
How to add program icon on tray zone in JWM
Last edited by slapshot on Sun 12 Nov 2006, 19:08, edited 1 time in total.
Bye
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/
Ooopss, I didn't know there was an utility to manage this:
http://www.puppyos.net/forum/azbb.php?1162708194
Anyway, I believe it is useful to know how to handly modify these setting
http://www.puppyos.net/forum/azbb.php?1162708194
Anyway, I believe it is useful to know how to handly modify these setting
Bye
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/