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?
How to create button theme for JWM?
Moderator: Forum moderators
Re: How to create button theme for JWM?
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
- user1234
- Posts: 414
- Joined: Sat Feb 26, 2022 5:48 am
- Location: Somewhere on earth
- Has thanked: 155 times
- Been thanked: 90 times
Re: How to create button theme for JWM?
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.
PuppyLinux gives new life to old computers
-
- Posts: 357
- Joined: Mon Jul 13, 2020 6:14 pm
- Location: Germany, NRW
- Has thanked: 18 times
- Been thanked: 126 times
Re: How to create button theme for JWM?
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.
- user1234
- Posts: 414
- Joined: Sat Feb 26, 2022 5:48 am
- Location: Somewhere on earth
- Has thanked: 155 times
- Been thanked: 90 times
Re: How to create button theme for JWM?
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??
PuppyLinux gives new life to old computers
-
- Posts: 357
- Joined: Mon Jul 13, 2020 6:14 pm
- Location: Germany, NRW
- Has thanked: 18 times
- Been thanked: 126 times
Re: How to create button theme for JWM?
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>