You are not logged in.

#1 2010-08-30 21:46:31

Mecharuva
Member
Registered: 2010-08-28
Posts: 33

(unimportant) (Openbox) URxvt transparency no more

I've been fiddling with my new Arch install over the past few days and so far I'm loving Openbox on it.
I had URxvt set up very nicely using the .Xdefault from the wiki, and have xcompmgr -n starting when Openbox opens, however after removing/reinstalling Xcompmgr after trying another compositor, URxvt isn't capable of transparency anymore.
.Xdefault:

URxvt.geometry: 128x32
URxvt.buffered: true
URxvt.background: black
URxvt.foreground: white
URxvt.cursorColor: green
URxvt.underlineColor: white
URxvt.font:xft:Clean:pixelsize=8:antialias=false
#URxvt*borderLess: true

URxvt*scrollstyle: plain

URxvt.perl-ext:        default,url-select
URxvt.keysym.M-u:    perl:url-select:select_next
URxvt.urlLauncher:    /usr/bin/firefox
URxvt.underlineURLs:    true

URxvt.perl-ext-common: default,tabbed
URxvt.tabbed.tabbar-fg: -2
URxvt.tabbed.tabbar-bg: -1
URxvt.tabbed.tab-fg: 10
URxvt.tabbed.tab-bg: -1

!-----------------
!True Transparency
!-----------------
!set to 32-bit for real transparency (compositing required [see xcompmgr])
urxvt*depth:    32
!transparent=0000 opaque=ffff
urxvt*background: rgba:1111/1111/1111/dddd
!urxvt*background: rgba:1111/1111/1111/0000

!------------------
!False Transparency
!------------------
!URxvt.transparent: true
!URxvt.shading: 50

Urxvt.secondaryScroll: true

.xinitrc:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

# exec gnome-session
# exec startkde
# exec startxfce4
# exec awesome
# ...or the Window Manager of your choice
#
stalonetray &
exec ck-launch-session openbox-session

And what I've added to the bottom of ~/.conf/openbox/autostart.sh:

# Launch Xcompmgr and tint2 with openbox
if which tint2 >/dev/null 2>&1; then
 (sleep 2 && xcompmgr -n) &
 (sleep 2 && tint2) &
fi

# Restore wallpaper
sh ~/.fehbg &

I added the -n to the xcompmgr line in autostart.sh after URxvt lost transparency, but it has had no effect.

Edits:
Changed thread name to specify I'm on Openbox.

Last edited by Mecharuva (2010-08-30 23:10:19)

Offline

#2 2010-08-30 22:51:46

schen
Member
Registered: 2009-06-06
Posts: 468

Re: (unimportant) (Openbox) URxvt transparency no more

Try xcompmgr -CncfF. xcompmgr and urxvt transparency working here.

Also, what other compositer are you using? I tried urxvt with compiz and it works perfectly.

Offline

#3 2010-08-30 22:53:39

Mecharuva
Member
Registered: 2010-08-28
Posts: 33

Re: (unimportant) (Openbox) URxvt transparency no more

I'm using just xcompmgr as far as I know. About to try your suggestion. Will edit in a tic.
Well that was quick.
Fading's nice and all, but still no transparency, somehow...
I was avoiding Compiz. The word awakens an unnamed fear in my heart... Lmao.
You suggest I use Compiz + Openbox?
I also can't get the system tray to show up in tint2... Should edit that into the thread maybe?

Last edited by Mecharuva (2010-08-30 22:55:58)

Offline

#4 2010-08-31 00:18:24

schen
Member
Registered: 2009-06-06
Posts: 468

Re: (unimportant) (Openbox) URxvt transparency no more

Try xcompmgr-git.

Also, I thought you meant you had switched to a different compositer longterm. Also, you can't use compiz with openbox. Only one can be used at a time.

tint2 can be configured in the tint2rc(forgot where that is, I use dwm for my wm now), or you can use tintwizard for gui configuration.

Last edited by schen (2010-08-31 00:19:18)

Offline

#5 2010-08-31 00:20:50

Mecharuva
Member
Registered: 2010-08-28
Posts: 33

Re: (unimportant) (Openbox) URxvt transparency no more

Ah that's what I thought. Will grab xcompmgr-git right now.
And I'll uninstall the regular since I assume that's what I should do.

Edit:
Wow, still nothing.
Installed xcompmgr-git after running pacman -Rnsu xcompmgr, ran openbox --reconfigure (if that does ANYTHING, I don't know) and changed ~/.config/openbox/autostart.sh to run xcompmgr -CncfF also.
I just don't know what's going on.

Last edited by Mecharuva (2010-08-31 00:27:17)

Offline

#6 2010-08-31 00:38:18

schen
Member
Registered: 2009-06-06
Posts: 468

Re: (unimportant) (Openbox) URxvt transparency no more

You know, you have to exit the X session and start a new one for the changes to xcompmgr to take effect.

Offline

#7 2010-08-31 00:44:59

Mecharuva
Member
Registered: 2010-08-28
Posts: 33

Re: (unimportant) (Openbox) URxvt transparency no more

Well I did - I logged out of Openbox and back in, and then I rebooted the laptop entirely, and I'm still getting nothing.
Everything but transparency.

Offline

#8 2010-08-31 01:07:26

Him
Member
From: Here
Registered: 2010-06-22
Posts: 133
Website

Re: (unimportant) (Openbox) URxvt transparency no more

I had this problem, once. I fixed it by just running xcompmgr with no options. If you haven't tried it, perhaps that'll work?

Though, in doing this, you'll most likely just be getting transparency, unless I'm doing something different in a different place.


A world without what makes us, us. One without you or me.
A world with no differences, this is the world I see.

Offline

#9 2010-08-31 01:11:12

Mecharuva
Member
Registered: 2010-08-28
Posts: 33

Re: (unimportant) (Openbox) URxvt transparency no more

Just tried it. Nothing at all.

Edit:
I've been searching around and I'm thinking perhaps my video has changed to 24-bit color, How do I change it to 32-bit?

Last edited by Mecharuva (2010-09-01 19:30:36)

Offline

Board footer

Powered by FluxBB