Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] urxvt 9.10 transparency
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
OBLiQUE
n00b
n00b


Joined: 24 Jan 2009
Posts: 12

PostPosted: Mon Apr 25, 2011 12:00 am    Post subject: [SOLVED] urxvt 9.10 transparency Reply with quote

after i updated the urxvt to 9.10 i don't have transparency..
if i reinstall 9.07 then transparency works fine..

i have these USE flags enabled for rxvt-unicode: 256-color blink fading-colors font-styles force-hints perl pixbuf truetype vanilla

any ideas?


Last edited by OBLiQUE on Mon Apr 25, 2011 6:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Mon Apr 25, 2011 7:51 am    Post subject: Reply with quote

Quote:
urxvt -tr

Doesn't work?

There's also this frag:
Quote:
afterimage
Global: Enable transparency support using media-libs/libafterimage
Local: Enable transparency support using media-libs/libafterimage
Back to top
View user's profile Send private message
barca
n00b
n00b


Joined: 13 Nov 2007
Posts: 20
Location: Poland

PostPosted: Mon Apr 25, 2011 8:22 am    Post subject: Reply with quote

Code:

Installed versions:  9.10(17:44:41 16.04.2011)(font-styles perl truetype vanilla -256-color -afterimage -blink -fading-colors -force-hints -iso14755 -pixbuf -unicode3 -wcwidth)


Code:
urxvt -tr +sb -fg white -fn "xft:Lucida Console:encoding=utf-8:size=9" -g 178x37+0+0


and I've transparency ;)
Back to top
View user's profile Send private message
champ
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2006
Posts: 97
Location: Thailand

PostPosted: Mon Apr 25, 2011 10:12 am    Post subject: Reply with quote

OBLiQUE,

How did you set transparency?

Recently, the resource for transparency was changed from inheritPixmap to transparent if you are using .Xresources or .Xdefault
_________________
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." - Benjamin Franklin

blog: johnsearth.blogspot.com
Back to top
View user's profile Send private message
OBLiQUE
n00b
n00b


Joined: 24 Jan 2009
Posts: 12

PostPosted: Mon Apr 25, 2011 12:45 pm    Post subject: Reply with quote

Code:
urxvt -tr

Code:
urxvt -tr +sb -fg white -fn "xft:Lucida Console:encoding=utf-8:size=9" -g 178x37+0+0


both are not working..

@champ: i have enabled both but no luck..

can someone that got transparency in urxvt 9.10 post his .Xdefaults ?
Back to top
View user's profile Send private message
champ
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2006
Posts: 97
Location: Thailand

PostPosted: Mon Apr 25, 2011 1:40 pm    Post subject: Reply with quote

Here is the relevant part of my .Xdefault (actually .Xresources):
Code:
URxvt.background:   #000000
URxvt.foreground:   #00ff00
URxvt.cursorColor:   #ff0000
URxvt.pointerColor:   #0000ff
URxvt.colorBD:      #80ff80
URxvt.colorIT:      #40a040
URxvt.scrollColor:   #778899
URxvt.underlineColor:   yellow

URxvt.font:      "xft:Dejavu Sans Mono:pixelsize=11"
!URxvt.font:      "xft:Luxi Mono:pixelsize:11"
URxvt.italicFont:        "xft:Dejavu Sans Mono:pixelsize=11:italic:autohint=true"
URxvt.boldFont:      "xft:Dejavu Sans Mono:pixelsize=11:bold"
URxvt.boldItalicFont:   "xft:Dejavu Sans Mono:pixelsize=11:bold:italic:autohint=true"

URxvt*scrollstyle:   plain
URxvt*secondaryScroll:   true
URxvt*borderLess:   false
URxvt*loginShell:   true
URxvt*jumpScroll:   true
URxvt*fading:      25
URxvt*fadecolor:   blue
URxvt*savelines:   8192
URxvt.transparent:   True
URxvt*visualBell:   True
URxvt*scrollBar:   True
URxvt*cursorBlink:   False
URxvt*perl-ext-common:   default,matcher
URxvt*urlLauncher:   icecat


You may also try emerging with -pixbuf --it is what both I and barca have for use flags.
_________________
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." - Benjamin Franklin

blog: johnsearth.blogspot.com
Back to top
View user's profile Send private message
OBLiQUE
n00b
n00b


Joined: 24 Jan 2009
Posts: 12

PostPosted: Mon Apr 25, 2011 3:46 pm    Post subject: Reply with quote

no luck again :(

what WM or DE do you use?
Back to top
View user's profile Send private message
champ
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2006
Posts: 97
Location: Thailand

PostPosted: Mon Apr 25, 2011 5:32 pm    Post subject: Reply with quote

I am using Awesome WM.

One final suggestion. I recently had problems with urxvt not honoring my .Xdefaults file. I changed to using .Xresources and loading it with xrdb -merge ~/.Xresources
_________________
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." - Benjamin Franklin

blog: johnsearth.blogspot.com
Back to top
View user's profile Send private message
OBLiQUE
n00b
n00b


Joined: 24 Jan 2009
Posts: 12

PostPosted: Mon Apr 25, 2011 6:36 pm    Post subject: Reply with quote

thanks for all the replies .. i found the problem..

solution:
1) remove "URxvt*tintColor:" from .Xdefaults
2) install fvwm (because it has fvwm-root)
3) set wallpaper with fvwm-root .. because i have awesome-wm i set it with: awsetbg -f -u fvwm-root /path/file.png

x11-terms/rxvt-unicode does not need any extra USE flags.. defaults are fine..
Back to top
View user's profile Send private message
Angrychile
Apprentice
Apprentice


Joined: 27 Oct 2009
Posts: 235

PostPosted: Wed May 11, 2011 5:53 pm    Post subject: Reply with quote

I still have this issue and I'm using urxvt on awesome too. I don't feel like installing a new wm just to fix this.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Thu May 12, 2011 1:23 am    Post subject: Reply with quote

It looks like the OP was talking about false transparency. No wonder none of the solutions given could work. False transparency works by showing the root desktop through the terminal. Currently most recent DE do not set the root desktop, and the desktop background you see is set above the root desktop.

To set the root desktop to some wallpaper you can use any image program which supports it. A lightweight example is feh.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
XQYZ
Apprentice
Apprentice


Joined: 19 Jul 2009
Posts: 231
Location: Europe

PostPosted: Thu May 12, 2011 4:43 am    Post subject: Reply with quote

If you want true transparency (which I kind of don't see the point with awesome except if you heavily use floating apps), then you need a composition manager afaik.
Back to top
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 768
Location: Belgium

PostPosted: Thu May 12, 2011 9:37 am    Post subject: Reply with quote

You can use "feh" to set the root background, I think it is the only WM independent tool that sets the correct flag (the other working ones that I know of being Eterm's Esetroot and Fvwm's fvwm-root, the latter doesn't support jpeg files though).

For the record Imagemagick's "display" utility does not work.
_________________
Fvwm|Fvwm forum
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Thu May 12, 2011 11:35 am    Post subject: Reply with quote

theBlackDragon wrote:
For the record Imagemagick's "display" utility does not work.
It might work if you use the -window <window id> option and give it the id of the root window.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
theBlackDragon
l33t
l33t


Joined: 23 Nov 2002
Posts: 768
Location: Belgium

PostPosted: Thu May 12, 2011 2:56 pm    Post subject: Reply with quote

ppurka wrote:
theBlackDragon wrote:
For the record Imagemagick's "display" utility does not work.
It might work if you use the -window <window id> option and give it the id of the root window.


It doesn't, at least "root" doesn't work, which is what is suggested in the manpage. It just doesn't set the appropriate X Atom (ESETROOT iirc from discussion on #fvwm)
_________________
Fvwm|Fvwm forum
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Thu May 12, 2011 3:53 pm    Post subject: Reply with quote

Code:
urxvt -tr -pixmap "<your_pic>;:root"
should work as well as long as you have USE=pixbuf ...

HTH
swimmer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum