How to create button theme for JWM?
I have created a JWM theme (nearly that to get the feel of kubuntu), using .pet mentioned here- viewtopic.php?p=21932. I also want to change the close, minimize and maximize buttons. How can I do that?
Discussion, talk and tips
https://forum.puppylinux.com/
I have created a JWM theme (nearly that to get the feel of kubuntu), using .pet mentioned here- viewtopic.php?p=21932. I also want to change the close, minimize and maximize buttons. How can I do that?
user1234 wrote: ↑Wed Mar 09, 2022 12:58 pmI have created a JWM theme (nearly that to get the feel of kubuntu), using .pet mentioned here- viewtopic.php?p=21932. I also want to change the close, minimize and maximize buttons. How can I do that?
Don't know about other Puppys but in Bionic: From Desktop in menu > Desktop Settings > Windows > Buttons theme at the bottom
amethyst wrote: ↑Wed Mar 09, 2022 2:13 pmuser1234 wrote: ↑Wed Mar 09, 2022 12:58 pmI have created a JWM theme (nearly that to get the feel of kubuntu), using .pet mentioned here- viewtopic.php?p=21932. I also want to change the close, minimize and maximize buttons. How can I do that?
Don't know about other Puppys but in Bionic: From Desktop in menu > Desktop Settings > Windows > Buttons theme at the bottom
I have got fossapup, by the way. Don't know if it is available in fossapup. Would check tomorrow when I open my laptop.
Fossapup has menu -> Desktop -> JWMDesk. Click the window tab. There you can change title bar buttons.
To create your own button theme have a look at /usr/local/jwmdesk/jwm_button_themes to get an idea of how it can be done.
Directory name = theme name.
Important thing to make it work is the naming of each icon.
amethyst wrote: ↑Wed Mar 09, 2022 2:13 pmuser1234 wrote: ↑Wed Mar 09, 2022 12:58 pmI have created a JWM theme (nearly that to get the feel of kubuntu), using .pet mentioned here- viewtopic.php?p=21932. I also want to change the close, minimize and maximize buttons. How can I do that?
Don't know about other Puppys but in Bionic: From Desktop in menu > Desktop Settings > Windows > Buttons theme at the bottom
As I had thought, there is nothing like that in fossapup.
HerrBert wrote: ↑Wed Mar 09, 2022 4:44 pmFossapup has menu -> Desktop -> JWMDesk. Click the window tab. There you can change title bar buttons.
To create your own button theme have a look at /usr/local/jwmdesk/jwm_button_themes to get an idea of how it can be done.
Directory name = theme name.
Important thing to make it work is the naming of each icon.
Ok, I got that. max.* is the button shown when the application is not maximized, maxact.* is the button shown when the application is already maximized, close.* means close button and min.*means minimize button. Right??
Right.
When you switch the window title bar button theme, these icons will be converted to /usr/share/pixmaps/*.png
/root/.jwm/jwmrc-personal will have this code:
<ButtonClose>/usr/share/pixmaps/close.png</ButtonClose>
<ButtonMax>/usr/share/pixmaps/max.png</ButtonMax>
<ButtonMaxActive>/usr/share/pixmaps/maxact.png</ButtonMaxActive>
<ButtonMin>/usr/share/pixmaps/min.png</ButtonMin>