You are not logged in.

#1 2012-06-11 21:34:36

mindglowba7fb830d2cbbed73
Member
Registered: 2011-04-10
Posts: 26

[Solved] Rxvt-unicode transparency

I am using urxvt (community/rxvt-unicode 9.15-3) in Awesome and it's working great, but I would really like to get the "pseudo" transparency working. For the last two hours I've been searching the net for information on this topic, and I have found plenty, but still my terminal window stays non transparent. I have narrowed it down so that I only have the transparency info in my .Xresources file (I've tried with .Xdefaults aswell).

.Xresources:

URxvt*transparent: true
URxvt*shading: 50

.xinitrc:

xrdb ~/.Xresources

DEFAULT_SESSION=awesome
case $1 in
 awesome|wmii|xmonad) exec $1 ;;
 *) exec $DEFAULT_SESSION ;;
esac

if i type the command xrdb -query -all it returns:

URxvt*transparent:	true
URxvt*shading:	50

All the other stuff I add to .Xresources such as colors and font changes gets loaded, but not the transparency bit.

Any suggestions?

Last edited by mindglowba7fb830d2cbbed73 (2012-06-12 13:10:04)

Offline

#2 2012-06-11 21:36:05

Internet Mouse
Member
Registered: 2012-06-11
Posts: 11

Re: [Solved] Rxvt-unicode transparency

rxvt != urxvt ( rxvt-unicode )

Offline

#3 2012-06-11 21:47:46

mindglowba7fb830d2cbbed73
Member
Registered: 2011-04-10
Posts: 26

Re: [Solved] Rxvt-unicode transparency

Internet Mouse wrote:

rxvt != urxvt ( rxvt-unicode )

I know but I am using rxvt-unicode.

Offline

#4 2012-06-11 23:18:53

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: [Solved] Rxvt-unicode transparency

Have you seen this?

Offline

#5 2012-06-11 23:19:55

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [Solved] Rxvt-unicode transparency

Try

xrdb /home/user/.Xresources

(use your user name for "user" of course)

And if that doesn't work, try a different window manager (just to rule out Awesome as the problem).

I can tell you that your code works in ratpoison...

(and I'm using version urxvt version 9.15  and nitrogen)

Last edited by 2ManyDogs (2012-06-11 23:23:48)

Offline

#6 2012-06-11 23:48:05

Gazza94
Member
From: New Zealand
Registered: 2012-03-27
Posts: 3

Re: [Solved] Rxvt-unicode transparency

I had to run xcompmgr to get it working with transparency. Here's the relevant part of my .xinitrc:


    exec xcompmgr -c &
    ...
    exec awesome

Offline

#7 2012-06-11 23:49:26

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: [Solved] Rxvt-unicode transparency

You only need xcompmgr if you want true transparency. OP's talking about native transparency.

Offline

#8 2012-06-11 23:55:16

Gazza94
Member
From: New Zealand
Registered: 2012-03-27
Posts: 3

Re: [Solved] Rxvt-unicode transparency

Ok, my mistake sorry smile

Offline

#9 2012-06-12 00:46:50

sonoran
Member
From: sonoran desert
Registered: 2009-01-12
Posts: 192

Re: [Solved] Rxvt-unicode transparency

According to the Arch Wiki rxvt-unicode page:

.Xresources should be

URxvt.transparent: true
URxvt.shading: 100

and .xinitrc should be

xrdb -merge ~/.Xresources

That works for transparency for me in openbox.

Offline

#10 2012-06-12 12:32:41

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [Solved] Rxvt-unicode transparency

sonoran wrote:

According to the Arch Wiki rxvt-unicode page:

.Xresources should be

URxvt.transparent: true
URxvt.shading: 100

and .xinitrc should be

xrdb -merge ~/.Xresources

That works for transparency for me in openbox.

Interesting. Either way works for me in dwm, and so does

urxvt*transparent: true
urxvt*shading: 20

And it works without merge on the xrdb call.

Offline

#11 2012-06-12 13:09:35

mindglowba7fb830d2cbbed73
Member
Registered: 2011-04-10
Posts: 26

Re: [Solved] Rxvt-unicode transparency

JackH79 wrote:

Have you seen this?

No i had missed that! I installed hsetroot and set the wallpaper with that instead of awsetbg that i used before - and now it works! The strange thing is that since I used hsetroot to set the wallpaper one time, I can now use awsetbg again and the transparency still works. Can someone explain that? smile

Thanks for the link by the way!

Last edited by mindglowba7fb830d2cbbed73 (2012-06-12 13:10:40)

Offline

Board footer

Powered by FluxBB