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 Tue 21 Oct 2014, 14:30
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
JWM question... Transparency?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Sat 18 Sep 2010, 15:54    Post_subject:  JWM question... Transparency?  

Lucid Puppy 5.1.1, JWM. Is it possible to enable any level of transparency in JWM, and if so, how?
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send_private_message 
upnorth


Joined: 11 Jan 2010
Posts: 262
Location: Wisconsin UTC-6 (-5 DST)

PostPosted: Sat 18 Sep 2010, 16:44    Post_subject: http://packages.ubuntu.com/lucid/xcompmgr
Sub_title: tansparency in jwm
 

http://packages.ubuntu.com/lucid/xcompmgr
or
http://packages.ubuntu.com/maverick/xcompmgr
xcompmgr is only 30k or 27k
Either one should work.

it can be launched manually, but the best way is to launch from .xinitrc just before jwm is launched.

# rox -p /root/Choices/ROX-Filer/PuppyPin
#fi

#===================
if [ "$CURRENTWM" = "jwm" ];then
xcompmgr&
fi
#===================


#exec $CURRENTWM
#v2.11 GuestToo suggested this improvement...
which $CURRENTWM && exec $CURRENTWM
[ -x $CURRENTWM ] && exec $CURRENTWM
exec jwm

###END###


You make it conditional this way so it only launches if jwm is the window manager - otherwise use just xcompmgr& by itself further up.

Jwm has some "sane defaults" but you can add tags to your jwmrc-theme like:
<TrayStyle>
<Opacity>.6</Opacity>
<Font>DejaVu Sans-14:Bold</Font>
<Foreground>white</Foreground>
<Background>#718995</Background>
</TrayStyle>
for example.

The opacity tag accepts values between 0 and 1. Cool

ADDED:one more thing
In the file /etc/profile, around line 89, you can comment out this line:
#export XLIB_SKIP_ARGB_VISUALS=1
but it may not be necessary. You can experiment with this, but leave it alone and see if trans works first without commenting it out. It really depends on what apps are going to use argb visuals.

I just got xcompmgr going in 431 without commenting out the line, but did have to add to end of xorg.conf:
Code:
Section "Extensions"
Option "Composite" "1"
EndSection

This is probably required for the 4.x versions of puppy.


Quirky may have xcompmgr by default - not sure. Wary 07 has ver 1.4 i think.
In this shot the effect is overdone at .6 opacity to illustrate:
snap_argb_jwm640.jpg
 Description   jwm transparency
 Filesize   107.33 KB
 Viewed   1044 Time(s)

snap_argb_jwm640.jpg


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


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Sun 19 Sep 2010, 01:45    Post_subject:  

PERFECT thanks...............
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send_private_message 
elpablo75

Joined: 02 Jun 2010
Posts: 11

PostPosted: Tue 15 Feb 2011, 18:52    Post_subject:  

Hi there. I need help. I'm trying to make xcompmgr work on puppy 4.3.1 but i always get No extension...
I'm not good in compiling.I downloaded the package from debian packages instead of the ubuntu repo. The only available version is for squeeze. I've seen that in lupu 5.01 everything work good and easily, but in puppy 4.3.1... Any suggestion?
Back to top
View user's profile Send_private_message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Thu 17 Feb 2011, 16:11    Post_subject:  

http://packages.debian.org/lenny/xcompmgr
http://packages.debian.org/squeeze/xcompmgr
http://packages.debian.org/wheezy/xcompmgr
http://packages.debian.org/sid/xcompmgr
Back to top
View user's profile Send_private_message Visit_website 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Thu 17 Feb 2011, 16:39    Post_subject:  

the old thread mentioned that kcompmgr was a better solution than xcompmgr, but it would be worth seeing if unagi could work too
http://projects.mini-dweeb.org/projects/unagi

Quote:
Unagi is a modular compositing manager which aims to be efficient, lightweight and responsive. It is currently written in C programming language and based on XCB library client library. Any existing window manager can be used as long as it implements properly EWMH and ICCCM specifications (or at least parts of it which are needed), which is generally the case nowadays.

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
elpablo75

Joined: 02 Jun 2010
Posts: 11

PostPosted: Thu 17 Feb 2011, 18:09    Post_subject:  

Thanks for your suggestion. But in the meanwhile i've solved the problem with xcompmgr.
Found the package for lenny, but also the squeeze one works fine, and it's more updated.
The problem was in the screen settings in xorg.conf. Depth was set to 24, when i set it to 16 it works without problems.
I've made a tutorial here:
TUTORIAL
integrating the above precious suggestions and my personal experience in this, and i want to thank you for share your know-how with us newbee.
At the end of that tutorial i've put a simple .pet that create the menu item to launch xcompmgr when you want, without keeping an open console. You can modify its settings in /usr/local/bin/xcompmgrlauncher. I'd like to create a gtk GUI to manage those settings, i've found a tutorial about it here in HOW-TO section of this forum. If i'll have problems (surely i'll have many) i'll post there.
Btw, this is what i got with xcompmgr (the theme is one created by me, nothing special, if someone like it and want it let me know):
Back to top
View user's profile Send_private_message 
Apiep

Joined: 30 Dec 2010
Posts: 20
Location: Mojokerto, Indonesia

PostPosted: Wed 02 Mar 2011, 08:45    Post_subject: how about fluxbox and openbox  

how about fluxbox and openbox wm?
Back to top
View user's profile Send_private_message 
`f00


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

PostPosted: Sat 05 Mar 2011, 17:31    Post_subject:
Sub_title: a few others
 

@Apiep - fluxbox already has an extensive pseudo-trans capability which doesn't require Xorg (but can use a compmgr if I recall correctly .. I also recall it was somewhat unstable for me in the past), openbox uses a compmgr more for quicker renders as I understand some openbox blogs, xfce4 will use a compmgr effectively for translucency effects (and has a nice ui-applet for that purpose but xfce4 is generally held to be a somewhat 'heavier' wm), e16 and e17 have differing methods for pseudo-trans and composite-style translucency (the pseudo-trans tends to be more stable and efficient), afterstep can and does use the 'extra' alpha values in an 8-character hex extensively for reveals.

Composite drawing can be quite various in how efficient it is, mostly depending on how it's integrated into a window manager's operation schedule of priorities. The deal in jwm probably gives the most 'bang for the buck' in the current general overview (as far as true translucency effects simply achieved for most users).
Back to top
View user's profile Send_private_message 
sjsrikanth


Joined: 28 Mar 2011
Posts: 114
Location: Chennai, India

PostPosted: Fri 01 Apr 2011, 02:34    Post_subject: Transparency
Sub_title: compositing in puppy
 

@elpablo75 I would love an english tutorial of the same!!!
Back to top
View user's profile Send_private_message 
mill0001

Joined: 01 Feb 2007
Posts: 375
Location: "People's Republik of Kalifornia"

PostPosted: Fri 01 Apr 2011, 11:29    Post_subject:  

Hi Guys, Just reading this and wondering if there is a way to get transparency using icewm?
Back to top
View user's profile Send_private_message 
Argolance


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

PostPosted: Tue 28 Aug 2012, 13:51    Post_subject:  

Hello,
I already mentioned (somewhere in this Forum but didn't get any answer...) some translucency/shadow problems encountered with latest releases of JWM.
First, I noticed that it is no use to specify
Quote:
Section "Extensions"
Option "Composite" "1"
EndSection
inside the Xorg configuration file anymore Smile.
Then, as a picture is better than long speeches, please see the picture below...
Has somebody got this? This happens with both of my PCs (running Racy 5.3): When moving windows, these let white areas on the screen and shadows are becoming dark...
It is a pity because latest JWM releases have got anti aliasing icons feature and I cannot take advantage of it! Crying or Very sad

Cordialement.
191527_1024x768_easyshot.jpg
Description 
jpg

 Download 
Filename  191527_1024x768_easyshot.jpg 
Filesize  158.95 KB 
Downloaded  192 Time(s) 

_________________

Back to top
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7831
Location: qld

PostPosted: Wed 29 Aug 2012, 01:02    Post_subject:  

Hello Argolance,

Joe Wing is aware of the transparency bug, I have had communication with him. I am running an older version in a dev version of Slacko, jwm-523. I think that's where the bug began. Transparency works well in that version but you don't get the bugfixes for menu refresh and some full screen bugs and change of resolution. Other than that it is reasonably stable.

HTH
trans-jwm.png
 Description   
 Filesize   235.26 KB
 Viewed   777 Time(s)

trans-jwm.png


_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
Argolance


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

PostPosted: Wed 29 Aug 2012, 04:09    Post_subject:  

Hello,
It is why I am usually using jwm version which comes with Puppy 4.31. As my old laptop don't need special effects, so I can use latest releases of JWM.
Code:
JWM vsvn-574 by Joe Wingbermuehle
compiled options: fribidi icons png shape xft xinerama xpm xrender
system configuration: /etc/system.jwmrc
To manage transparency/shadow effects, glance at this post about a simple script I made for... (2Pfx)

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: Mon 03 Sep 2012, 21:00    Post_subject:
Sub_title: mmhm
 

@Argolance - thanks for that, maybe once I get xorg settled in a bit better with racy on my old kit.. Wink

Did notice that jwm is a bit 'off' lately as far as x/kcompmgr translucency effects (and expected window behavior) go. Racy 5.3 has vsvn-574 as stock/oem.

Here's a largish caplink @683k with some notes (the grayish one on lower left pertains to the issue) - A few examples of remnants .. mercifully I kept the cap from going real messy as can happen fairly easily (especially with my autohide oversized pager, let alone menu-o-rama and junk-shades). Wish the cap could have been smaller, but translucency and text kind of dictated the size Neutral

Good to hear that Joe's on it (thanks for the heads up, 01micko!) Very Happy

___addenda 120910___
Tried a few other jwm binaries with "xcompmgr -n" translucency option - only a few seem available in the general repos (wary 5 seemed the best bet for me)

Indeed, jwm vsvn-562 exhibits much the same symptoms with translucency via xcompmgr as vsvn-574 (although initially it only manifested as 'junk' shades, further use brought up the rest of the display remnants).

jwm vsvn-505 works much better with "xcompmgr -n" translucency option, still a noticeable flicker when navigating root (obvious) and window (barely) menus. No remnants on screen and that's the major glitch that plagues later versions as far as obvious-to-the-eye stuff.

Small point - the htop process list 'roll' is almost certainly a side effect of using the -fading option in terminals that offer such (mrxvt and urxvt81). Funny, it's almost an animation of the fade/unfade (easy to see with sloppy focus).
Back to top
View user's profile Send_private_message 
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.0952s ][ Queries: 13 (0.0050s) ][ GZIP on ]