JWM Theme Maker 2.2 (June 2016)
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
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
trio,
OK, let's back up. This rgb2hex command you had me try turns out to be an RGB to HEX value converter. From the terminal:
# rgb2hex 127 254 127
7ffe7f
#
# rgb2hex 7ffe7f
Usage: rgb2hex R G B (where 0 >= R,G,B (integer) <= 255)
# rgb2hex 7f fe 7f
Incorrect input!
I kept wondering why when I entered a correct Hex value (i.e. 7f fe 7f) it would output "Incorrect input!". So I used Grabc screen color picker to sample a color:
The Red-Green-Blue components of the color you selected are
in decimal (values 0-255): 127,254,127
in hex (values 00-FF): #7ffe7f
So it would appear the correct format is: rgb2hex xxx xxx xxx where xxx is a decimal value between 0 and 255.
From the terminal:
# Xdialog --stdout --colorsel 22 75 [ 0 0 0 ] > /tmp/testcolor.txt
Xdialog: incorrect number of parameters !
Xdialog v2.3.1 by Thierry Godefroy <xdialog@free.fr> (v1.0 was
written by Alfred at Cyberone Internet <alfred@cyberone.com.au>).
Xdialog home page available at: http://xdialog.dyns.net/
Usage: Xdialog [<common options>] [<transient options>] <box option> ...
Common options:
--wmclass <name>
--rc-file <gtkrc filename>
--backtitle <backtitle>
--title <title>
--allow-close | --no-close
--screen-center | --under-mouse | --auto-placement
--center | --right | --left | --fill
--no-wrap | --wrap
--cr-wrap | --no-cr-wrap
--stderr | --stdout
--separator <character> | --separate-output
--buttons-style default|icon|text
Transient options:
--fixed-font
--password (may be repeated 2 or 3 times before --2inputsbox or --3inputsbox)
--password=1|2 (for --2inputsbox or --3inputsbox)
--editable
--time-stamp | --date-stamp
--reverse
--keep-colors
--interval <timeout>
There was more to this read out but I couldn't copy it all.
I've got to get to work so maybe we can continue this tomorrow, OK?
OK, let's back up. This rgb2hex command you had me try turns out to be an RGB to HEX value converter. From the terminal:
# rgb2hex 127 254 127
7ffe7f
#
# rgb2hex 7ffe7f
Usage: rgb2hex R G B (where 0 >= R,G,B (integer) <= 255)
# rgb2hex 7f fe 7f
Incorrect input!
I kept wondering why when I entered a correct Hex value (i.e. 7f fe 7f) it would output "Incorrect input!". So I used Grabc screen color picker to sample a color:
The Red-Green-Blue components of the color you selected are
in decimal (values 0-255): 127,254,127
in hex (values 00-FF): #7ffe7f
So it would appear the correct format is: rgb2hex xxx xxx xxx where xxx is a decimal value between 0 and 255.
From the terminal:
# Xdialog --stdout --colorsel 22 75 [ 0 0 0 ] > /tmp/testcolor.txt
Xdialog: incorrect number of parameters !
Xdialog v2.3.1 by Thierry Godefroy <xdialog@free.fr> (v1.0 was
written by Alfred at Cyberone Internet <alfred@cyberone.com.au>).
Xdialog home page available at: http://xdialog.dyns.net/
Usage: Xdialog [<common options>] [<transient options>] <box option> ...
Common options:
--wmclass <name>
--rc-file <gtkrc filename>
--backtitle <backtitle>
--title <title>
--allow-close | --no-close
--screen-center | --under-mouse | --auto-placement
--center | --right | --left | --fill
--no-wrap | --wrap
--cr-wrap | --no-cr-wrap
--stderr | --stdout
--separator <character> | --separate-output
--buttons-style default|icon|text
Transient options:
--fixed-font
--password (may be repeated 2 or 3 times before --2inputsbox or --3inputsbox)
--password=1|2 (for --2inputsbox or --3inputsbox)
--editable
--time-stamp | --date-stamp
--reverse
--keep-colors
--interval <timeout>
There was more to this read out but I couldn't copy it all.
I've got to get to work so maybe we can continue this tomorrow, OK?
Hello Trio,
Here are the results you asked for:
Xdialog v2.3.1 by Thierry Godefroy <xdialog@free.fr> (v1.0 was
written by Alfred at Cyberone Internet <alfred@cyberone.com.au>).
Xdialog home page available at: http://xdialog.dyns.net/
Usage: Xdialog [<common options>] [<transient options>] <box option> ...
Common options:
--wmclass <name>
--rc-file <gtkrc filename>
--backtitle <backtitle>
--title <title>
--allow-close | --no-close
--screen-center | --under-mouse | --auto-placement
--center | --right | --left | --fill
--no-wrap | --wrap
--cr-wrap | --no-cr-wrap
--stderr | --stdout
--separator <character> | --separate-output
--buttons-style default|icon|text
Transient options:
--fixed-font
--password (may be repeated 2 or 3 times before --2inputsbox or --3inputsbox)
--password=1|2 (for --2inputsbox or --3inputsbox)
--editable
--time-stamp | --date-stamp
--reverse
--keep-colors
--interval <timeout>
--timeout <timeout> (in seconds)
--no-tags
--item-help (if used, the {...} parameters are needed in menus/lists widgets)
--default-item <tag>
--icon <xpm filename>
--no-ok
--no-cancel
--no-buttons
--default-no
--wizard
--help <help>
--print <printer> (1)
--check <label> [<status>]
--ok-label <label>
--cancel-label <label>
--beep
--beep-after
--begin <Yorg> <Xorg>
--ignore-eof
--smooth
Box options:
--yesno <text> <height> <width>
--msgbox <text> <height> <width>
--infobox <text> <height> <width> [<timeout>]
--gauge <text> <height> <width> [<percent>]
--progress <text> <height> <width> [<maxdots> [[-]<msglen>]]
--inputbox <text> <height> <width> [<init>]
--2inputsbox <text> <height> <width> <label1> <init1> <label2> <init2>
--3inputsbox <text> <height> <width> <label1> <init1> <label2> <init2> <label3> <init3>
--combobox <text> <height> <width> <item1> ... <itemN>
--rangebox <text> <height> <width> <min value> <max value> [<default value>]
--2rangesbox <text> <height> <width> <label1> <min1> <max1> <def1> <label2> <min2> <max2> <def2>
--3rangesbox <text> <height> <width> <label1> <min1> <max1> <def1> ... <label3> <min3> <max3> <def3>
--spinbox <text> <height> <width> <min value> <max value> <default value> <label>
--2spinsbox <text> <height> <width> <min1> <max1> <def1> <label1> <min2> <max2> <def2> <label2>
--3spinsbox <text> <height> <width> <min1> <max1> <def1> <label1> ... <min3> <max3> <def3> <label3>
--textbox <file> <height> <width>
--editbox <file> <height> <width>
--tailbox <file> <height> <width>
--logbox <file> <height> <width>
--menubox <text> <height> <width> <menu height> <tag1> <item1> {<help1>}...
--checklist <text> <height> <width> <list height> <tag1> <item1> <status1> {<help1>}...
--radiolist <text> <height> <width> <list height> <tag1> <item1> <status1> {<help1>}...
--buildlist <text> <height> <width> <list height> <tag1> <item1> <status1> {<help1>}...
--treeview <text> <height> <width> <list height> <tag1> <item1> <status1> <item_depth1> {<help1>}...
--fselect <file> <height> <width>
--dselect <directory> <height> <width>
--colorsel <text> <height> <width> [<red> <green> <blue>]
--fontsel <font name> <height> <width>
--calendar <text> <height> <width> [<day> <month> <year>]
--timebox <text> <height> <width> [<hours> <minutes> <seconds>]
Special options:
--version (prints version number to stderr and exits).
--print-version (same as above in a cdialog-compatible way).
--print-maxsize (prints maximum menu size in characters and exits).
Note that <height> and <width> are in characters and may be replaced by a single
XSIZExYSIZE[+/-XORG+/-YORG] parameter (like the one passed in the -geometry option
of X) which will represent the size of the Xdialog window in pixels. Specifying
a size of 0 0 (or 0x0) will auto-size Xdialog, while a size of -1 -1 (or -1x-1)
will maximize it.
(1) This Xdialog binary compiled with: lprshell -P<printer>
as the print command. If <printer> is "" (an empty string), the -P
option is not used.
Here are the results you asked for:
Xdialog v2.3.1 by Thierry Godefroy <xdialog@free.fr> (v1.0 was
written by Alfred at Cyberone Internet <alfred@cyberone.com.au>).
Xdialog home page available at: http://xdialog.dyns.net/
Usage: Xdialog [<common options>] [<transient options>] <box option> ...
Common options:
--wmclass <name>
--rc-file <gtkrc filename>
--backtitle <backtitle>
--title <title>
--allow-close | --no-close
--screen-center | --under-mouse | --auto-placement
--center | --right | --left | --fill
--no-wrap | --wrap
--cr-wrap | --no-cr-wrap
--stderr | --stdout
--separator <character> | --separate-output
--buttons-style default|icon|text
Transient options:
--fixed-font
--password (may be repeated 2 or 3 times before --2inputsbox or --3inputsbox)
--password=1|2 (for --2inputsbox or --3inputsbox)
--editable
--time-stamp | --date-stamp
--reverse
--keep-colors
--interval <timeout>
--timeout <timeout> (in seconds)
--no-tags
--item-help (if used, the {...} parameters are needed in menus/lists widgets)
--default-item <tag>
--icon <xpm filename>
--no-ok
--no-cancel
--no-buttons
--default-no
--wizard
--help <help>
--print <printer> (1)
--check <label> [<status>]
--ok-label <label>
--cancel-label <label>
--beep
--beep-after
--begin <Yorg> <Xorg>
--ignore-eof
--smooth
Box options:
--yesno <text> <height> <width>
--msgbox <text> <height> <width>
--infobox <text> <height> <width> [<timeout>]
--gauge <text> <height> <width> [<percent>]
--progress <text> <height> <width> [<maxdots> [[-]<msglen>]]
--inputbox <text> <height> <width> [<init>]
--2inputsbox <text> <height> <width> <label1> <init1> <label2> <init2>
--3inputsbox <text> <height> <width> <label1> <init1> <label2> <init2> <label3> <init3>
--combobox <text> <height> <width> <item1> ... <itemN>
--rangebox <text> <height> <width> <min value> <max value> [<default value>]
--2rangesbox <text> <height> <width> <label1> <min1> <max1> <def1> <label2> <min2> <max2> <def2>
--3rangesbox <text> <height> <width> <label1> <min1> <max1> <def1> ... <label3> <min3> <max3> <def3>
--spinbox <text> <height> <width> <min value> <max value> <default value> <label>
--2spinsbox <text> <height> <width> <min1> <max1> <def1> <label1> <min2> <max2> <def2> <label2>
--3spinsbox <text> <height> <width> <min1> <max1> <def1> <label1> ... <min3> <max3> <def3> <label3>
--textbox <file> <height> <width>
--editbox <file> <height> <width>
--tailbox <file> <height> <width>
--logbox <file> <height> <width>
--menubox <text> <height> <width> <menu height> <tag1> <item1> {<help1>}...
--checklist <text> <height> <width> <list height> <tag1> <item1> <status1> {<help1>}...
--radiolist <text> <height> <width> <list height> <tag1> <item1> <status1> {<help1>}...
--buildlist <text> <height> <width> <list height> <tag1> <item1> <status1> {<help1>}...
--treeview <text> <height> <width> <list height> <tag1> <item1> <status1> <item_depth1> {<help1>}...
--fselect <file> <height> <width>
--dselect <directory> <height> <width>
--colorsel <text> <height> <width> [<red> <green> <blue>]
--fontsel <font name> <height> <width>
--calendar <text> <height> <width> [<day> <month> <year>]
--timebox <text> <height> <width> [<hours> <minutes> <seconds>]
Special options:
--version (prints version number to stderr and exits).
--print-version (same as above in a cdialog-compatible way).
--print-maxsize (prints maximum menu size in characters and exits).
Note that <height> and <width> are in characters and may be replaced by a single
XSIZExYSIZE[+/-XORG+/-YORG] parameter (like the one passed in the -geometry option
of X) which will represent the size of the Xdialog window in pixels. Specifying
a size of 0 0 (or 0x0) will auto-size Xdialog, while a size of -1 -1 (or -1x-1)
will maximize it.
(1) This Xdialog binary compiled with: lprshell -P<printer>
as the print command. If <printer> is "" (an empty string), the -P
option is not used.
hmm, everything seems to be in order...maybe you try the older pet atached
- Attachments
-
- jwmthememaker-1.1.pet
- (3.76 KiB) Downloaded 1103 times
Trio,
Sorry, no luck with the older pet version either. But guess what? I don't think it's your fault. I got to thinking that I'd seen Xdialog before. So... I went to Desktop > JWM Configuration > System tab > Destop Color button and ... up pops Xdialog. If I try to select anything with the mouse, it disappears. If I just hover over any part of Xdialog and even twitch the scroll wheel it disappears! But interestingly, I can use the keyboard to tab and arrow and enter values to change the background color. What do you make of that? Perhaps a quirk in Puppy 2.17 with Xdialog that I never noticed ... until now.Too bad cause I was really excited to play around with your new thememaker.
Sorry, no luck with the older pet version either. But guess what? I don't think it's your fault. I got to thinking that I'd seen Xdialog before. So... I went to Desktop > JWM Configuration > System tab > Destop Color button and ... up pops Xdialog. If I try to select anything with the mouse, it disappears. If I just hover over any part of Xdialog and even twitch the scroll wheel it disappears! But interestingly, I can use the keyboard to tab and arrow and enter values to change the background color. What do you make of that? Perhaps a quirk in Puppy 2.17 with Xdialog that I never noticed ... until now.Too bad cause I was really excited to play around with your new thememaker.
Yogi,
Hmm, bad Xdialog huh, you may try to adopt Xdialog from another puppy version. Anyway, if you do find one, you still only can use v 1.1, because fc-list to look up installed fonts isn't there in your puppy 2. And you still can use v 1.1 manually by typing the colors in the boxes.
Pity you can't enjoy this
Cheers
Hmm, bad Xdialog huh, you may try to adopt Xdialog from another puppy version. Anyway, if you do find one, you still only can use v 1.1, because fc-list to look up installed fonts isn't there in your puppy 2. And you still can use v 1.1 manually by typing the colors in the boxes.
Pity you can't enjoy this
Cheers
Trio,
I just tried using your JWM Thememaker with keyboard input only and it worked! I chose some weird color combos but I was just testing anyhow. Some things I noticed maybe might help you help us older Puppy lovers.
After I was done and saved my test theme I had to go retrieve it from the /root/.jwm/themes file. Then I had to rename them to be like formats and edit the 'themeslist' file for inclusion into the JWM Themes Selection. Unless I'm really missing something it would be nice to have all that done automatically.
Also, I tried 'nimbus' for the font but nothing changed.
All in all, I'd say a big success for you because it gives the rest of us a way to personalize and perk up our old but faithful Puppies.
I just tried using your JWM Thememaker with keyboard input only and it worked! I chose some weird color combos but I was just testing anyhow. Some things I noticed maybe might help you help us older Puppy lovers.
After I was done and saved my test theme I had to go retrieve it from the /root/.jwm/themes file. Then I had to rename them to be like formats and edit the 'themeslist' file for inclusion into the JWM Themes Selection. Unless I'm really missing something it would be nice to have all that done automatically.
Also, I tried 'nimbus' for the font but nothing changed.
All in all, I'd say a big success for you because it gives the rest of us a way to personalize and perk up our old but faithful Puppies.
Yogi,
I really have no idea why you have to edit theme list?..weird this puppy 2 is. We have all auto listed in 4 series. Maybe later when I have a chance to play with 2 series..but that will be really later..
Anyway, I suggest you try ttuuxxx's updated 2 series (in the puppy project section), maybe you'll like it.
Cheers
I really have no idea why you have to edit theme list?..weird this puppy 2 is. We have all auto listed in 4 series. Maybe later when I have a chance to play with 2 series..but that will be really later..
Anyway, I suggest you try ttuuxxx's updated 2 series (in the puppy project section), maybe you'll like it.
Cheers
Hey Trio. I had achance to play with this in 4.3. Managed to set the font colour the same as the background LOL. Is it possible to reload a previously created theme to edit it? I could not see how, and that would be MOST useful.
I was able to do in just a few mins using this app stuff it took hours to do when I first started with Puppy Brilliant thanks.
I was able to do in just a few mins using this app stuff it took hours to do when I first started with Puppy Brilliant thanks.
Spup Frugal HD and USB
Root forever!
Root forever!
Hmmm yeah that would be usefull, yet again, u can keep theme maker open and running when u save theme and change it to see how it looks like, then if you want to change something, edit values again and re-save with same name.
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]
DaveS,
Interresting request. But you may have no idea if I told u that, it will not be that simple to create edit function than what it's worth. Maybe I will do, if I am in playful mode
But, Dejan is right, that's the way to do it, it's simple and easy to make or re-make, that to edit sounds so conservative.
Thanks all
Interresting request. But you may have no idea if I told u that, it will not be that simple to create edit function than what it's worth. Maybe I will do, if I am in playful mode
But, Dejan is right, that's the way to do it, it's simple and easy to make or re-make, that to edit sounds so conservative.
Thanks all
.. but then I just did (; .. more-or-less seriously...
in ppa422
Overall it works great. Possibly some wishlisting
1) clean up the fonts dropmenu (duplications), big plus is it works oki with 'most all fonts
2) once a hex is entered or selected, have the swatch displayed rather than the generic rainbow button (I'm no coder, but it seems like that should be doable) - nice job cleaning that up a bit (I've always wondered why gcolor2 lists opacity if it doesn't translate it to a 'full' name .. probably since alpha channel standards may be various even if used)
3) I guess the separate colors file and jwmconfig2/theme-switcher script are the way it is .. that PAGER_BG value always threw me as being non-intuitive, but it's the way it works unless you edit things manually
4) at the risk of making it too complex, possibly another pair of optionboxes for popup? (although the default is nicer than that old yellow )
5) Fine-tuning fontsizes and separate window/tasklist/menu 'figs would definitely be too much - best left for hand-edit (easy enough, really!)
addenda - enhanced jwm-beta translucencies (Opacity tags) for the menu and trays will need to be added in (serial focus-trans for the windows is good as-is with the jwm456 enhancement)
.. attached the firstborn (and a handedited younger sibling for jwm-beta with 456 .. 267k screenie here)
in ppa422
Overall it works great. Possibly some wishlisting
1) clean up the fonts dropmenu (duplications), big plus is it works oki with 'most all fonts
2) once a hex is entered or selected, have the swatch displayed rather than the generic rainbow button (I'm no coder, but it seems like that should be doable) - nice job cleaning that up a bit (I've always wondered why gcolor2 lists opacity if it doesn't translate it to a 'full' name .. probably since alpha channel standards may be various even if used)
3) I guess the separate colors file and jwmconfig2/theme-switcher script are the way it is .. that PAGER_BG value always threw me as being non-intuitive, but it's the way it works unless you edit things manually
4) at the risk of making it too complex, possibly another pair of optionboxes for popup? (although the default is nicer than that old yellow )
5) Fine-tuning fontsizes and separate window/tasklist/menu 'figs would definitely be too much - best left for hand-edit (easy enough, really!)
addenda - enhanced jwm-beta translucencies (Opacity tags) for the menu and trays will need to be added in (serial focus-trans for the windows is good as-is with the jwm456 enhancement)
.. attached the firstborn (and a handedited younger sibling for jwm-beta with 456 .. 267k screenie here)
- Attachments
-
- tri0.tar.gz
- twofer-what-it's-worth
- (993 Bytes) Downloaded 1174 times
foO
Thanks for inputs
1. I don't even know what blackbox is
2. Fonts drop menu list, actually it is what fc list does, with filtering of course, but I don't filter for duplicated fonts, as I don;t think it matters that much, but you've got a point there abou professionalism, not the funcntions
3.I don't understand about the rainbow button part, you want the button picture change after you hex color code is entered in box? to the color you choose? haha, that's not doable in gtkdialog (same problem with wallpaper seter preview)
4. The background of absvolume can't follow theme instantly, only after next reboot/restart X, but it's not the JWM theme maker's fault
5.color option for tooltips (popup boxes you said)? it is doable, but I made this app with "newbies+simplification" in mind. I compact it till we only need necessary boxes, with that only we already got 10 boxes! I don't I add more boxes
Thanks
Thanks for inputs
1. I don't even know what blackbox is
2. Fonts drop menu list, actually it is what fc list does, with filtering of course, but I don't filter for duplicated fonts, as I don;t think it matters that much, but you've got a point there abou professionalism, not the funcntions
3.I don't understand about the rainbow button part, you want the button picture change after you hex color code is entered in box? to the color you choose? haha, that's not doable in gtkdialog (same problem with wallpaper seter preview)
4. The background of absvolume can't follow theme instantly, only after next reboot/restart X, but it's not the JWM theme maker's fault
5.color option for tooltips (popup boxes you said)? it is doable, but I made this app with "newbies+simplification" in mind. I compact it till we only need necessary boxes, with that only we already got 10 boxes! I don't I add more boxes
Thanks