| Author |
Message |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: Mon 10 Aug 2009, 20:23 Post subject:
|
|
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
_________________ PET Maker|WbarCC|My Website
|
|
Back to top
|
|
 |
Yogi
Joined: 19 Aug 2005 Posts: 176
|
Posted: Mon 10 Aug 2009, 21:16 Post subject:
|
|
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?
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: Mon 10 Aug 2009, 21:27 Post subject:
|
|
Ok, let's try.
From terminal
#rgb2hex xx xx xx (put any rgb value)
And this
#fc-list
And post the result
_________________ PET Maker|WbarCC|My Website
|
|
Back to top
|
|
 |
Yogi
Joined: 19 Aug 2005 Posts: 176
|
Posted: Mon 10 Aug 2009, 22:14 Post subject:
|
|
trio,
Here you are:
# rgb2hex 87 CE FA
Incorrect input!
# fc-list
bash: fc-list: command not found
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: Mon 10 Aug 2009, 22:27 Post subject:
|
|
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
_________________ PET Maker|WbarCC|My Website
|
|
Back to top
|
|
 |
Yogi
Joined: 19 Aug 2005 Posts: 176
|
Posted: Mon 10 Aug 2009, 23:12 Post subject:
|
|
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?
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: Mon 10 Aug 2009, 23:37 Post subject:
|
|
Yogi,
Ok,
1. rgb2hex is working, good
2. I need the box options of your older Xdialog, please post them tomorrow.
Thanks
_________________ PET Maker|WbarCC|My Website
|
|
Back to top
|
|
 |
Yogi
Joined: 19 Aug 2005 Posts: 176
|
Posted: Tue 11 Aug 2009, 08:51 Post subject:
|
|
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.
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: Tue 11 Aug 2009, 09:03 Post subject:
|
|
hmm, everything seems to be in order...maybe you try the older pet atached
| Description |
|

Download |
| Filename |
jwmthememaker-1.1.pet |
| Filesize |
3.76 KB |
| Downloaded |
593 Time(s) |
_________________ PET Maker|WbarCC|My Website
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Tue 11 Aug 2009, 09:05 Post subject:
|
|
Well done Trio and testers.
Barry will be putting this program in 4.3 Beta.
Look forward to using it.
Keep up the good work guys
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: Tue 11 Aug 2009, 09:09 Post subject:
|
|
_________________ PET Maker|WbarCC|My Website
|
|
Back to top
|
|
 |
Yogi
Joined: 19 Aug 2005 Posts: 176
|
Posted: Tue 11 Aug 2009, 10:28 Post subject:
|
|
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.
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: Tue 11 Aug 2009, 10:41 Post subject:
|
|
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
_________________ PET Maker|WbarCC|My Website
|
|
Back to top
|
|
 |
Yogi
Joined: 19 Aug 2005 Posts: 176
|
Posted: Tue 11 Aug 2009, 11:11 Post subject:
|
|
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.
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: Tue 11 Aug 2009, 11:21 Post subject:
|
|
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
_________________ PET Maker|WbarCC|My Website
|
|
Back to top
|
|
 |
|