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 Wed 26 Nov 2014, 14:37
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
JWM theme configuration
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: 1847
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Thu 27 Oct 2011, 13:20    Post_subject:  JWM theme configuration
Sub_title: Opacity tags
 

Hello,
I have got some questions in my basket for a time and perhaps I will find replies here?
The latest releases of JWM don't manage opacity the same way as previously:
Quote:
<JWM>

<!-- WINDOW PROPERTIES -->

<WindowStyle>
<Font>bitstream vera sans mono-11</Font>
<Width>3</Width>
<Height>22</Height>
<Opacity>0.8</Opacity>
[...]
</WindowStyle>

Latest (if I well understood informations given here):
Quote:
<JWM>

<!-- WINDOW PROPERTIES -->

<WindowStyle>
<Font>bitstream vera sans mono-11</Font>
<Width>3</Width>
<Height>22</Height>

<Active>
<Text>ivory</Text>
<Title>#777777:#222222</Title>
<Outline>#777777</Outline>
<Opacity>0.8</Opacity>
</Active>

<Inactive>
<Text>grey50</Text>
<Title>grey85</Title>
<Outline>grey50</Outline>
<Opacity>0.8</Opacity>
</Inactive>
</WindowStyle>

For tray and menu, no changes:
Quote:
<TrayStyle>
<Font>bitstream vera sans mono-11</Font>
<Background>grey20</Background>
<Foreground>ivory</Foreground>
<Opacity>0.8</Opacity>
</TrayStyle>
Quote:
<MenuStyle>
<Font>bitstream vera sans mono-11</Font>
<Foreground>ivory</Foreground>
<Background>grey15</Background>
<ActiveForeground>black</ActiveForeground>
<ActiveBackground>grey70:grey10</ActiveBackground>
<Opacity>0.8</Opacity>
</MenuStyle>

But this doesn't work and xerrs.log sends:
Quote:
JWM: warning: invalid active client opacity: 0.8
JWM: warning: invalid tray opacity: 0.8
JWM: warning: invalid menu opacity: 0.8

What's going wrong?
Curiously, when I try:
Quote:
<Opacity>1.0</Opacity>

xerrs.log seems to be "happy" and does not bark Wink Shocked ...

Thank you for your attention.

Cordialement.

_________________


Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
`f00


Joined: 06 Nov 2008
Posts: 809
Location: the Western Reserve

PostPosted: Thu 27 Oct 2011, 16:48    Post_subject:
Sub_title: jwm tag errors
 

This would be in jwm v 5 or >? There may be late-breaking notes in the changelog..

Possibly try deleting/commenting-out the corner tag line(s) since they haven't been used for a while as far as I can tell (they used to throw up blips in xerrs.log occasionally).

Maybe edit the fallback in jwmrc template as well, just to be sure. Check for trailing spaces, usw.

Other than that, xcompmgr is okay in other wms? Not really related to jwm tag errors, but :shrug:

It's a shame when the opacity tags don't work as they ought in jwm (serial-translucency in windows and menu/tray/pager effects at a very minor performance cost add some easy-on-the-eyes bling to a familiar wm Wink ).
Back to top
View user's profile Send_private_message 
Argolance


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

PostPosted: Fri 28 Oct 2011, 10:02    Post_subject:  

Hello`f00,
Thanks a lot for replying.
Quote:
There may be late-breaking notes in the changelog..

This was the case at a moment. But not anymore. joewing answered:
Quote:
Sorry, there is a mistake in the documentation. Opacity should go in the Active or Inactive sections under WindowStyle.

... and made the appropriate corrections.
Quote:
Possibly try deleting/commenting-out the corner tag line(s) since they haven't been used for a while as far as I can tell (they used to throw up blips in xerrs.log occasionally).
I already noticed this and deleted corner's tags.
Quote:
Check for trailing spaces,
Done. No spaces to trail!
Quote:
usw

Sorry, don't understand! Embarassed
Result: Not solved... Crying or Very sad
Quote:
It's a shame when the opacity tags don't work as they ought in jwm (serial-translucency in windows and menu/tray/pager effects at a very minor performance cost add some easy-on-the-eyes bling to a familiar wm Wink ).
I was thinking exactly the same (word for word!). Yes, indeed, really a pity!

And perhaps gradient color for MENU and taskbar would be welcome?

Quote:
Other than that, xcompmgr is okay in other wms? Not really related to jwm tag errors, but :shrug:
Did not try. I got married with JWM! Very Happy
Other than that...

Cordialement.

_________________

Back to top
View user's profile Send_private_message Visit_website 
`f00


Joined: 06 Nov 2008
Posts: 809
Location: the Western Reserve

PostPosted: Sat 29 Oct 2011, 13:04    Post_subject:
Sub_title: more..
 

Not to contradict the author of jwm, but..

Opacity tags for WindowStyle in jwm themes (according to what I recently read again in some of my comments) have been 'replaced' by serial-translucency in jwm v454 and above (at least in most of my more recent pups like the wary 514 in the screenshot) - they should still be valid for TrayStyle and MenuStyle (assuming a working compmgr for the effect to be visible on display). I generally use a simple xcompmgr -n to enable the effect as an on-demand item in a jwm base menu (if I do it from a console, it complains a bit about no 'rc but still works).

screenshot-link @127k

Serial-translucency is sort of demi-automatic, stepping the translucency of unfocus'd windows in order of their focus history (older windows are more translucent). For sure I don't quite understand the 'under-the-hood' mechanics, only that when it works it's yet another nice touch in the graphical user interface of jwm.

A few factors .. interior translucency of windows can be affected by layer and how it's drawn (console, gtk, etc). Window translucency is also a bit more intensive than tray/menu translucency but still very 'light' as jwm versions progress.

jwm can be a wonderful relationship, but other wms have their charms as well Wink

other - usw is germanic ("und so weiter") ~or~ 'and so on', like nb (num beispiel or for example) it's semi-traditional in print references
Back to top
View user's profile Send_private_message 
Argolance


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

PostPosted: Sun 30 Oct 2011, 05:50    Post_subject:  

Hello,
Thank you for these very useful explanations which I will translate and copy on the French forum.
I downloaded/tested the latest svn JWM 543: Crying or Very sad This time there is indeed a big problem with opacity/transparency. Neither shadows of windows and trays icons, nor the opacity tags for WINDOWS, MENU and TRAYS style... nor xbm pictures (that could previously be loaded in /root to override/customize windows default buttons) are working. Don't know what's happening...

In return, I noticed the translation pot file: This is great!

01/12/2011: the same with svn JWM 545.
03/12/2011: the same with svn JWM 546.

Cordialement.

_________________


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

Joined: 01 Nov 2011
Posts: 9

PostPosted: Tue 01 Nov 2011, 22:29    Post_subject:  

After installing JWM, if you wish to run JWM instead of your default window manager, you will need to make the appropriate changes to have X11 execute JWM. On Irix, this involves making ".xsession" look something like this:

exec /path/to/jwm
Back to top
View user's profile Send_private_message 
Argolance


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

PostPosted: Wed 30 Nov 2011, 18:29    Post_subject:  

Hello,
I found a solution:
Quote:
JWM: warning: invalid tray opacity: 0.8
JWM: warning: invalid menu opacity: 0.8

To solve this problem, replace the decimal mark according to the current locale! => Please see this thread

So, if getting problem with opacity tags, replace point with comma or vice versa.

Then tray and menu transparency will work! Very Happy

Code lines should be added in the jwm theme switcher for this to be automatically set.

Cordialement.

_________________

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.0741s ][ Queries: 11 (0.0032s) ][ GZIP on ]