Page 1 of 1

How to make taskbars transparent in JWM?

Posted: Thu 17 May 2012, 16:56
by espertalhao04
Hey everyone...
I am making this post to ask you how to make the taskbars transparent using jwm on puppy 4.3.1
i want them transparent (to improve style)...
if possible, i would like to make window borders transparent too...
If possible, also change the window buttons...
if someone has any idea how to do that, please post here...

Posted: Fri 18 May 2012, 00:27
by `f00
This goes back a bit (your mention of window titlebar buttons triggered Mr Peabody's Wayback..)

a) it needs xorg as the X server (just in case p431 has the Xvesa kdrive X server option)

b) then either xcompmgr or kcompmgr with the option added in and enabled in xorg.conf

c) opacity tags in the jwm theme

d) for convenience, a menu item to load x-or-kcompmgr -n (the general parameter) .. unload with htop or similar process manager if it eats up too much processor for your liking (actually jwm is pretty good with this simple compositing)

Window titlebar button masks are possible with some perusal of how Patriot did it - not real sure if the bell is worth the candle for that (I remember making a Q-for-quit and a max variant, but it wasn't high priority for me). Opacity tags are where the juice is - they're good for menu and trays, window opacity went from individually set to a serial-focus stepping effect (how far down in the layers determines just how translucent). This is true translucency, by the way; not mere pseudo-transparency to the rootwindow - menu, trays and windows all share visibility properties when they overlap.

a few links to get started..
the original work, more-or-less
a few of my jwm themes
a bit on xcompmgr and other niceties for general use..
here

for more extreme decor options I'd go with other window managers like e16, fluxbox and such :twisted:

hth - screenshots where and as you find'em…

Posted: Fri 18 May 2012, 00:58
by espertalhao04
i have the original version of jwm that came on puppy 4.3.1
i don't know which version is exactly...
but i just want to know if it will work or not...
:x

Posted: Fri 18 May 2012, 01:15
by `f00
yep, p431 should be fine -

Code: Select all

jwm -v
in a console for running jwm version (upgrade is usually simple enough if you really want to, but backup your /etc/xdg/templates/_root_.jwmrc template if you have it customized)

Posted: Fri 18 May 2012, 02:16
by espertalhao04
thanks...
i'll try this and i'll show you the results as soon as possible...

Posted: Fri 18 May 2012, 02:39
by espertalhao04
done, installed it i am not getting the speed i want...
this is too slow!!!
but here is a quick printscreen:

Image

Posted: Fri 18 May 2012, 02:43
by espertalhao04
just look at this horrible error that makes on opera 11.60!!!
this is quite a nightmare!!!
damn!!!
i'll have to see what i can do about this...

Image

Posted: Fri 18 May 2012, 02:48
by puppyluvr
:D Hello,
From the PAW thread:
For xcompmgr or kcompmgr:
1. Add the Section/EndSection below to your xorg.conf (at the end of it also works)

Section "Extensions"
Option "Composite" "Enable"
EndSection



Posted: Mon Apr 06, 2009 5:50 pm Composite Information:

From http://www.murga-linux.com/puppy/viewto ... 64&t=39162
Refer there for more information on compositing in JWM

Here are the steps to enable composite (for transparency/translucency):
First install one of the following:

xcompmgr-1.1.4.tar.gz
http://www.murga-linux.com/puppy/viewto ... h&id=15590
(This comes pre-installed in PAW, no need to install it)

Or, if you prefer:
kcompmgr-2.02.tar.gz
http://www.murga-linux.com/puppy/viewto ... h&id=15589

Then:

Quote:
1. Add the Section/EndSection below to your xorg.conf (at the end of it also works)
Section "Extensions"
Option "Composite" "Enable"
EndSection



2. Add one of these to .xinitrc before "rox -p /root/Choices/ROX-Filer/PuppyPin"

kcompmgr -n & # basic composite & transparency
-or-
kcompmgr -I 0.05 -O 0.15 -f -n & # composite, fade-in/out & transparency
-or-
xcompmgr -n & # basic composite & transparency
-or-
xcompmgr -I 0.05 -O 0.15 -f -n & # composite, fade-in/out & transparency

Then you must restart X....
Slightly outdated version wise, but the commands are still valid...

Posted: Fri 18 May 2012, 02:52
by espertalhao04
but how can i solve the performance issue and the horrible menu from opera???

Posted: Sat 19 May 2012, 21:31
by `f00
aka your machine (mine's mostly 12 years old) and working methods may differ - so for comparison I loaded up my liveCD+stick of p431

Performance hit - there's some to be expected, the gpu is doing more (why using outline rather than full window draws is a good idea when moving or resizing). 82 processes seems relatively many, even if they are background and you've got plenty of RAM - then again, count methods can vary. An idea to try if you haven't - do a kill party to see what you really need (htop is good for that, just do it on a session you're willing to lose so you can find the must-not-kill vital stuff like i/o and display)

The errors on the 1st screenie console I've no idea what they relate to, the xvkbd window clearly shows translucent effect, pwidgets(conky) seems nominal, roxpin is what it is :| , tasklist not in tray? (all kinds of ways to do trays, but I'd expect two buttons for the up windows anyhow in a normal jwm tray)

As for the "horrible" opera (search) menu .. even more ways to do opera, so I'm no judge. I'd expect presto to do better with the gui, are geckoes like seamonkey and/or firefox ok? Is there a reload interval for that page on your speedial interfering? Browsers can be complex instruments at times.

more big screenies (in linkage form) - a 'before' @241k, an 'after' @286k, a 'more load' @347k and finally a 'opera menu' sample @149k

Posted: Sat 19 May 2012, 22:24
by espertalhao04
There is no reload time.
It usually just make the horrible effect and the gui getts laggy...
but that piece missing just happened once...
it shows transparency quite well, but too slow...
My gpu is a crap (333mhz gpu) and that can make it to be slow