Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 25 Jul 2014, 01:21
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
[Solved] jwm theme configuration file : 'jwm_colors' ?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Argolance


Joined: 06 Jan 2008
Posts: 1803
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Mon 21 Sep 2009, 09:39    Post_subject:  [Solved] jwm theme configuration file : 'jwm_colors' ?  

Bonjour,
This 'Theme management' web page, (http://puppylinux.com/technical/themes.htm), gives some pieces of information about the configuration of the window manager/tray 'jwm_colors' and 'jwmrc-theme' files. Though they are 'self-explanatory when you look at them' Shocked, my question is : What are exactly the details of 'jwm_colors' and what is this file used for (... found nothing on the 'jwm joe's window manager's web page http://joewing.net/programs/jwm/config.shtml) ?
Code:
#see /usr/local/jwmconfig2/theme-switcher script.
MENU_BG='#xxxxxx'
ACTIVE_BG='#xxxxxx'
FOREGROUND='#xxxxxx'
PAGER_BG='#xxxxxx'
FG_SELECTED='#xxxxxx'

My questions :

MENU_BG (is it the equivalent of <MenuStyle>...<Background>... of the file 'jwmrc-theme' ?)
ACTIVE_BG (active background of what ? <ActiveBackground> of the <MenuStyle> within 'jwmrc-theme' is a gradient color and not a single one !)
FOREGROUND (foreground of what ?)
PAGER_BG (is it the equivalent of <PagerStyle>...<Background>... of the file jwmrc-theme ?)
FG_SELECTED (foreground of what ?)

(Don't know if it is the right place to ask this question...) Embarassed
Nevertheless, thank you for for response !

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
Kal

Joined: 05 May 2005
Posts: 624
Location: California, High Desert

PostPosted: Tue 22 Sep 2009, 11:48    Post_subject: colors file  

Hi Argolance

On my machine running Puppy 430 with the newer JWM, this is all that I have effected.

This takes place with a theme change. The theme changer is changing the color from the themes color file. The jwm_colors file in /root/.jwm, seems to have no function, except being a copy of /root/.jwm/themes/xxxxx-colors file.

MENU_BG='#XXXXXX' # This is blinky's background color.
PAGER_BG='#XXXXXX' # This is xload's background color.

Kal
Back to top
View user's profile Send_private_message 
Argolance


Joined: 06 Jan 2008
Posts: 1803
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Tue 22 Sep 2009, 12:44    Post_subject:  

Bonsoir Kal and thank you for your reply.

Could I now ask my question differently ?
So, what are exactly the configuration details of xxx-colors files in general when making any theme ? I quite well understood how to make my xxx-jwmrc files but not the xxx.colors ones ! Looking at existing *-colors files, I guess I didn't see any logical in the choice of the colors: they don't strictly match with the xxx-jwmrc file colors...
My english is a 'bit' poor : What do you mean when saying:
blinky's and xload's background colors ?
Sorry !
Thank you for your attention.

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Tue 22 Sep 2009, 13:13    Post_subject:  

Port-Brillet looks wonderful.............
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send_private_message 
Kal

Joined: 05 May 2005
Posts: 624
Location: California, High Desert

PostPosted: Tue 22 Sep 2009, 14:46    Post_subject:  

Argolance

Most of the colors are controlled by the /root/.jwm/themes/Gradient-grey-jwmrc, like files. You will find the colors thru out the files ending with -jwmrc.

Note, I use at the main menu>Graphic>Gcolor2 color chooser, a nice program for getting the color you want. Two colors like this: #FFFFFF:#000000 with a colon in between are gradient. Make a copy of the file and save it before playing, for backup!

To test a file, run in terminal the command "jwm -p" (no quotes).

This is the top of Gradient-grey-jwmrc as an example:

Code:
<WindowStyle>
   <Font>DejaVu Sans-11:bold</Font>
   <Width>3</Width>
   <Height>22</Height>     
  <Active>
     <Text>white</Text>
      <Title>#C7C7C7:#565448</Title>      # Colors active title, top of window                  <Outline>#696969</Outline>                     #Color window outline
    </Active>
    <Inactive>
       <Text>black</Text>
       <Title>#FFFFFF:#C4C4C4</Title>   #Colors Inactive title
       <Outline>black</Outline>                   #Color Inactive window outline
    </Inactive>
</WindowStyle>



If you are using the newest Puppy 4.30, there is a gui program for configuring a number of the colors, called "JWM Theme Maker" under Main Menu>Desktop.

Xload is a graphical display application in the tray, located next to the clock. The color is for background of the graph.

Blinky is the icon with the two little monitors with the faces that flash when the network is active in the tray. The color is for the background to the icon.

Hope that Helps, Kal
Back to top
View user's profile Send_private_message 
Argolance


Joined: 06 Jan 2008
Posts: 1803
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Tue 22 Sep 2009, 16:25    Post_subject:  

Bonsoir,
Quote:
Hope that Helps
... Nearly !
In my previous reply, I wrote :
Quote:
I quite well understood how to make my xxx-jwmrc files but not the xxx.colors ones !
xxx-colors files are my problem. Now I know (thanks to you !) what are MENU_BG and PAGER_BG colors but ACTIVE_BG, FOREGROUND and FG_SELECTED are remaining...

Regards.
xxx_colors.jpg
 Description   
 Filesize   17.48 KB
 Viewed   837 Time(s)

xxx_colors.jpg


Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Tue 22 Sep 2009, 19:19    Post_subject:  

Hmmm .....

Just a quick browse through ...

These parameters are part of the individual puppy jwm themes. They will be overwritten with the selected theme colors from jwm theme switcher.

These values does not affect JWM. They were meant for applets to know the current colors used so they will show the correct background/foreground colors. I believe that throughout the years they were used by applets that have come and go ... So, only some is still in use ... For ex: absvolume used to require BG color specified but not anymore ...

Just ensure the values matches the theme colors and you're good to go ...

Rgds
Back to top
View user's profile Send_private_message 
Kal

Joined: 05 May 2005
Posts: 624
Location: California, High Desert

PostPosted: Tue 22 Sep 2009, 20:24    Post_subject:  

Argolance,

As Best I can read, /usr/local/jwmconfig2/theme_switcher file, those other line items in the xxxx-colors files in the themes, seem not to be call upon or are over ridden by the xxxxxx-jwmrc files in themes directory.

So, I believe we are worrying over nothing on line items in the colors files, that seem not to work.

One other application uses the MENU_BG='#XXXXXX' in the colors files and that is absvolume, which is the tray volume control in the same area as blinky. My motherboard cannot use absvolume, so I don't have it, but uses kmix instead from KDE.

When making a theme for JWM, I have never changed any of the other colors in there, except for the two we know about.

Good Luck, Kal

Ps: Oh, I totally agree with the expert post above.
Back to top
View user's profile Send_private_message 
Argolance


Joined: 06 Jan 2008
Posts: 1803
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Wed 23 Sep 2009, 04:30    Post_subject:  

Hello !
I tried something I didn't think of earlier (silly guy !) : Simply choose flashy colors as shown below :
Code:
#see /usr/local/jwmconfig2/theme-switcher script.
MENU_BG='#ff0000'
ACTIVE_BG='#ff00ff'
FOREGROUND='#00ffff'
PAGER_BG='#00ff00'
FG_SELECTED='#ffff00'
... and see !

I confirm : MENU_BG have a repercussion on both blinky's and absvolume background colors (Concerning xload, I don't know because I have not got it in my task bar Shocked !). The others don't have any repercussion on something I could see...

Thanks everybody !
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0722s ][ Queries: 13 (0.0051s) ][ GZIP on ]