Page 1 of 1

Jwm or GTK2 is it possible to use a image for the takbar?

Posted: Tue 20 Sep 2016, 18:56
by Lassar
I am working on a vista style puppy.

I was wondering if there is anyway to use a vista style taskbar image.


I was looking in jwm configurations and, can't see anyway to use a taskbar image.

Not even including adding one to the background image.

Could gtk2 do anything to help here?

Posted: Tue 20 Sep 2016, 23:59
by Sailor Enceladus
Not sure if this is what you mean, but trio has made an icon and name editor for the menu button that worked for me:
http://www.murga-linux.com/puppy/viewtopic.php?t=96722

Posted: Wed 21 Sep 2016, 00:03
by LazY Puppy
The related line is this one:
<TrayButton label="Programme" icon="TOPLESS2.png" border="true">root:3</TrayButton>
Note/look/search the root:3 !!!

It is in file: /root/.jwmrc-tray (almost on top of the file's content).

No need to have a gui or program (just text editor) to modify this.

Edit:

Checked right now:

- it is possible to use label="" to have no text
- it is possible to use icon sized e.g.: width 128px and height 48px

Edit2:

After I checked this I changed my menu tray button to have no text anymore and to use a icon sized 156x48 pixel. Looks cool.

Posted: Wed 21 Sep 2016, 15:36
by solo
It is also possible to use the scalable vector graphics format (svg), instead of png.
If you place the image in the folder /usr/local/lib/X11/mini-icons/ , you only have to specify the image name in .jwmrc-tray, like so:

Code: Select all

<TrayButton label="Menu" icon="image_name.svg">root:3</TrayButton>