JWM Theme Maker 2.2 (June 2016)

Window managers, icon programs, widgets, etc.
Post Reply
Message
Author
User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

JWM Theme Maker 2.2 (June 2016)

#1 Post by trio »

Hi,

Useful for theme lovers...try it, you'll like it!

Version 2.2 : create matching gtk theme button (if gtkthememaker is installed, minimum v 2.1 to work properly, from here
Version 2.1 : Change theme dir according to ptheme if ptheme is available
Version 2.0 : Compatible with new ptheme (as in slacko 6.3 Nov 2015). GTK Theme maker not needed

Dependencies for older version :
- ffmpeg with x11grab or avconv with x11grab
- Xdialog
- gxmessage
- GTK Theme Maker 1.9.4 from here (1.9.7 and up). Create Gtk theme button will not appear in edit window if gtk theme maker is not installed

Version 1.9.8.2: even put longer sleep (some systems take longer to get xwininfo for tray i), longer splash info window too
Version 1.9.8.1: important updates/bugfix. for puppies not using ptheme. put enough sleep so xwininfo can get proper tray window id, then ffmpeg can grab proper tray pic
- still have the ability to create matching gtk theme when editing saved theme


Version 1.9.8 :
- Bugfix:complete the created gtk theme with buttons
- just found out that in tahr 6, auto grab tray pic still works, but you need to click on tray 2 times. As for slcko no ptheme, you don'nt need to
Version 1.9.7 :
- can create matching gtk theme from a saved theme, go to the edit window
- needs at least GTK Theme Maker 1.9.4 from here
Version 1.9.6 : Now supports font style
Version 1.9.5 : Using comboboxtext fot font and spinbutton for font size, prevent user mistake
Version 1.9.4 : Reverting back to fc-list, jwm seem does not support many font attributes (bold, italic, obligue etc)
Version 1.9.3 : Use native gtkdialog fontselector
Version 1.9.2 : Warning when saving an existing theme name
Version 1.9.1 : Warning & relaunch jwmthememaker when trying to edit a theme not made by jwmthememaker
Version 1.9 : Remove rgb2hexscript, now use native gtkdialog colorchooser
Version 1.8 : seems a bit snappier - with newer jwm theme change script (precise, slacko, quirky unicorn, tahr). keeping 1.7.9 for older puppies
Version 1.7.9: fix pop-up notification when saving
Version 1.7.8:
- grab preview of title bar window height correctly if changed
- preview func, not saving
- Change jwm config button to jwm theme switcher
Version 1.7.7: bugfix again when grab preview pic
Version 1.7.6: Version 1.7.6: better handling when saving
Version 1.7.5: only change how functions work
Version 1.7.4: bugfix: get correct preveiw pics when tray height is changed
Version 1.7.3: Tidy up, add more tooltips & warnings. This will be the last version for now, unless something come up
Version 1.7.2: Fully compatible with precise 5.7.1, slacko 5.7, tahr 6.0 (as long as jwm taskbartray swallows xload). Might work with quirky 6.0. It will fail to grab taskbar pic if in autohide mode and/or if the taskbar is not on top or bottom
Version 1.7.1:
- Bugfix: fc-list compatibility when edit mode
- New: will use avconv instead of mmpeg if not available
Version 1.7: replace binary rgb2hex to a bash script called rgb2hexscript
Barry in his blog said:
Forum member trio wrote JWM Theme Maker:
http://murga-linux.com/puppy/viewtopic.php?t=45397
I previously had it in the 'noarch' repo, but realised that it has a x86 binary executable in it, so have moved it to 'common'.

Recently, L18L has internationalised the script, so I have created a new PET, and bumped the version from 1.5 to 1.5.1 (5K):
http://distro.ibiblio.org/quirky/pet_pa ... .1-x86.pet
Version 1.6.1: fix fc-list compatibility. Fully working for precise 5.7.1 and slacko 5.7, also with fc-list of tahr 6.0 (but tahr needs proper ffmpeg to make jwmthememaker create preview pics, other than that it works)
Version 1.6 (updated in precise 5.7.1)
- BUGFIX: Edit function actually was not working before (nobody complaints though)
- NEW!!!! AUTOMAGICALLY CREATES PREVIEW PICS FOR THE THEME SWITCHER (using ffmpeg, will fail to grab taskbar pic if in autohide mode and/or if the taskbar is not on top or buttom)
Version 1.5:
- Total Overhaul - now the gui and all functions are in one file only
- ABILITY TO EDIT A SAVED THEME, AND ONLY FOR THEMES MADE BY JWMTHEMEMAKER

Updated to v 1.4 - added: pop-up box background & text colors, border outline color, tooltips (info of usage of entries & buttons)
Updated to v 1.3 - delete a theme & instant apply functions
Updated to v 1.2-1 - bugfix: sort & filter duplicated font names
Updated to v 1.2 - added - Font & Font Size Configuration too
Updated to v 1.1 - added - button to go to JWM Config Manager


When you've collected say 100 themes, you might want to use Desktop Display/Themes Profile Manager, available here
And you may want to use GTK Theme Maker
Attachments
capture12395.png
(43.68 KiB) Downloaded 2186 times
jwmthememaker-2.2.pet
Version 2.2 : create matching gtk theme button (if gtkthememaker is installed, minimum v 2.1 to work properly
(4.68 KiB) Downloaded 1108 times
jwmthememaker-1.9.8.2.pet
for puppies without ptheme
(5.24 KiB) Downloaded 1210 times
jwmthemenew.png
(61.68 KiB) Downloaded 12493 times
jwmthememaker-1.7.9.pet
(5.82 KiB) Downloaded 3823 times
Last edited by trio on Wed 20 Jul 2016, 06:02, edited 95 times in total.

magerlab
Posts: 739
Joined: Sun 08 Jul 2007, 20:08

#2 Post by magerlab »

interesting application!
is it possible to add a box for changing font also?

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#3 Post by trio »

magerlab wrote:interesting application!
is it possible to add a box for changing font also?
Possible, maybe for next upgrade

Thanks

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#4 Post by DaveS »

Are colour gradients supported?
Spup Frugal HD and USB
Root forever!

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#5 Post by trio »

DaveS wrote:Are colour gradients supported?
yes, see boxes fr ---- to -----

Cheers

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#6 Post by dejan555 »

Mmmmm, nice, I already see bunch of new themes for puppy :)
Gonna try this first thing I get home!
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#7 Post by trio »

I already made the JWM theme maker to perform changing of fonts and font size. But i still have to type in font names manually.

I need a file that lists REAL FONT NAMES, not the .ttf names. for example:

Maybe put them in /tmp/fontlist.txt;
monofonto
Dejavu Sans
ionic charge
pdingobats
arial

Help, anybody? thanks.
Attachments
font.jpg
(14.32 KiB) Downloaded 12208 times
Last edited by trio on Mon 10 Aug 2009, 09:20, edited 1 time in total.

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#8 Post by dejan555 »

maybe using some cli utility for listing fonts? xfontsel, xlsfonts? Don't know if any of them are in puppy by default, I'm not @ home atm.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#9 Post by trio »

thanks dejan,

I think fc-list command might do it..need to play some more

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#10 Post by trio »

Updated to v 1.1 - added - Font & Font Size Configuration too :lol:

see main post

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#11 Post by trio »

Beatiful red theme in less than 5 minutes! :lol: :lol: :lol:
Attachments
Red-Theme.jpg
(35.63 KiB) Downloaded 12567 times

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#12 Post by 01micko »

hehe....

Inside 5 minutes... upload screeny and all!

Cheers Bro!

Others Use this App! :lol: 8) :) :D
Attachments
DuckEggBlue.jpg
(42.66 KiB) Downloaded 12406 times
Puppy Linux Blog - contact me for access

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#13 Post by dejan555 »

It's announced on puppy-look too, couldn't wait till I get home :D
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#14 Post by trio »

Thanks guys, enjoy!

Dejan, thanks for the announcement, and yes, if you have a lot of themes already, you need to use Desktop Display/Theme Profile Manager

Cheers

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

#15 Post by Yogi »

Apparent problem with your new theme maker 1.2. No matter which menu item I choose, when the Xdialog box pops up and I try and choose a color it closes Xdialog without allowing me to change anything. Also, there are no font names listed under fonts.
Other than that I think this is a great idea. I've tried making my own jwm themes manually in the past and it's kind of tedious. This speeds things up alot. I can see this evolving and adding new life to a great window manager whose only drawback was the eye candy factor.

Puppy 2.17

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#16 Post by trio »

Hi Yogi,

Thanks for testing. You are not using puppy 4 series? That's the problem. Not the app. My fault, should have put it in main post. Puppy 3 'maybe' can use it. But, appearently not puppy 2

Cheers

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

#17 Post by Yogi »

trio,

Any way to make JWM Thememaker retroactive to us diehards? I'm one of those Puppy users who prefer the older versions (Puppy 2.xxx). How can I help you test for compatibility?

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#18 Post by trio »

Ok, let's try.

From terminal
#rgb2hex xx xx xx (put any rgb value)

And this

#fc-list

And post the result

Yogi
Posts: 207
Joined: Fri 19 Aug 2005, 18:50

#19 Post by Yogi »

trio,

Here you are:

# rgb2hex 87 CE FA
Incorrect input!
# fc-list
bash: fc-list: command not found

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#20 Post by trio »

Yogi,

1. You have to put a correct R G B value, find it from color selec tor (you have one in puppy 2 right?) try again

2. You don't have fc-list as default. It may be ok to still use JWM theme maker without the font config (previous v 1.1)

3. Please try this also from terminal

#Xdialog --stdout --colorsel 22 75 [ 0 0 0 ] > /tmp/testcolor.txt

In the color select dialog, you choose a color then, from terminal:

#cat /tmp/testcolor.txt

and report the result

Post Reply