JWM theme configuration

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

JWM theme configuration

#1 Post by Argolance »

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:
<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):
<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:
<TrayStyle>
<Font>bitstream vera sans mono-11</Font>
<Background>grey20</Background>
<Foreground>ivory</Foreground>
<Opacity>0.8</Opacity>
</TrayStyle>
<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:
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:
<Opacity>1.0</Opacity>
xerrs.log seems to be "happy" and does not bark :wink: :shock: ...

Thank you for your attention.

Cordialement.
Last edited by Argolance on Thu 08 Dec 2011, 11:57, edited 1 time in total.

User avatar
`f00
Posts: 807
Joined: Thu 06 Nov 2008, 19:13
Location: the Western Reserve

#2 Post by `f00 »

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 ;) ).

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#3 Post by Argolance »

Hello`f00,
Thanks a lot for replying.
There may be late-breaking notes in the changelog..
This was the case at a moment. But not anymore. joewing answered:
Sorry, there is a mistake in the documentation. Opacity should go in the Active or Inactive sections under WindowStyle.
... and made the appropriate corrections.
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.
Check for trailing spaces,
Done. No spaces to trail!
usw
Sorry, don't understand! :oops:
Result: Not solved... :cry:
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?
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! :D
Other than that...

Cordialement.

User avatar
`f00
Posts: 807
Joined: Thu 06 Nov 2008, 19:13
Location: the Western Reserve

#4 Post by `f00 »

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 ;)

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

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#5 Post by Argolance »

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: :cry: 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.
Last edited by Argolance on Sun 04 Dec 2011, 21:54, edited 2 times in total.

kathiny
Posts: 1
Joined: Wed 02 Nov 2011, 01:54

#6 Post by kathiny »

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

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#7 Post by Argolance »

Hello,
I found a solution:
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! :D

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

Cordialement.

Post Reply