You are not logged in.

#1 2009-07-29 09:57:26

oddsocks
Member
Registered: 2008-12-08
Posts: 47

[SOLVED] xcompmgr + urxvt = no true transparency!

I've installed openbox on my laptop, and have been trying to get true transparency on urxvt to work. I run xcompmgr -c, via autostart.sh, have set depth to 32, and have the background set to rgba settings, and still all i get is either pseudo transparency (if i have inheritPixmap on true), or opaque if i set inheritPixmap to false, as if I was in 24 bit. I'm very stumped at the moment. Any help will be appreciated.

P. S. I am using nvidia, and my xorg.conf:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
#    Option        "NoFlip"    "True"
    Option       "XAANoOffscreenPixmaps"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

I am, however, using HAL autoplugging.

Last edited by oddsocks (2009-07-30 09:44:24)

Offline

#2 2009-07-29 10:15:47

miau
Member
Registered: 2009-05-06
Posts: 202

Re: [SOLVED] xcompmgr + urxvt = no true transparency!

You have to tell the X server to enable the composite extensions.
Add

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

to your xorg.conf.

Offline

#3 2009-07-29 10:37:20

oddsocks
Member
Registered: 2008-12-08
Posts: 47

Re: [SOLVED] xcompmgr + urxvt = no true transparency!

Ok I'll try that, but my xdpyinfo shows Composite is enabled

xdpyinfo | grep Composite

Last edited by oddsocks (2009-07-29 10:38:32)

Offline

#4 2009-07-29 13:05:51

miau
Member
Registered: 2009-05-06
Posts: 202

Re: [SOLVED] xcompmgr + urxvt = no true transparency!

You also could try to start urxvt like the german arch wiki suggests:

 urxvt -name Terminal -fn "xft:Monospace:pixelsize=11" -fade 20 +sb -depth 32 -fg white -bg rgba:2000/2000/2000/dddd

Offline

#5 2009-07-29 13:30:50

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [SOLVED] xcompmgr + urxvt = no true transparency!

the following works for me:

~/.Xdefaults

URxvt*depth: 32
URxvt*buffered: true
URxvt*foreground: #909090
URxvt*background: rgba:0000/0000/0000/dddd
URxvt*transparent: false
URxvt*fading: 2%
URxvt*fadeColor: grey
URxvt*shading: 75

~/.xinitrc

xcompmgr -fF &

for xcompmgr, -c just gives shadows, -f is fading/transparency IIRC.

Offline

#6 2009-07-29 22:45:40

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [SOLVED] xcompmgr + urxvt = no true transparency!

oddsocks, show us your Xdefaults or the way you are opening urxvt.


neutral

Offline

#7 2009-07-30 04:01:37

oddsocks
Member
Registered: 2008-12-08
Posts: 47

Re: [SOLVED] xcompmgr + urxvt = no true transparency!

Thanks for all the suggestions. I'm currently not in front of my laptop, so I'll try all of the above and let you know how it went by tonight (Australian time)

Offline

#8 2009-07-30 09:43:53

oddsocks
Member
Registered: 2008-12-08
Posts: 47

Re: [SOLVED] xcompmgr + urxvt = no true transparency!

K tried your config brisbin33 and I got it working! I didn't work with the original installation, but reinstalling arch from scratch got it working. Maybe it was just a program I installed that interfered with the compositing (I think the main culprit was cairo-compmgr, but I guess I'll never know)

Thanks for all the help guys!

P.S. This is why I like Arch so much, excellent OS, excellent community.

Offline

Board footer

Powered by FluxBB