You are not logged in.

#1 2008-06-08 09:40:40

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Xdefaults work randomly

hi,
I've always modified .Xdefaults to modify the appearance of urxvt under openbox,
now I'm trying to get these setting apply and none works sad
(the urxvt appearance is a grey window with black fonts.. roll)

example I've tried this (that worked very well)
http://bbs.archlinux.org/viewtopic.php? … 14#p343614
which is my actual "testing ground"
(I've tried to run
xrdb -merge ~/.Xdefaults
and
xrdb -load ~/.Xdefaults
)

I've tried to run a lot of Xdefaults and everyone fail, but in my compiz standalone session it works..
I've tried to run xcompmgr too and then run a urxvt console and nothing same ugly result...

does anyone have a suggestion?
thank you
_Marco_

edit1:
ok, after looking better I've found the problem... hmm
now everithing works perfect except there is no transparency (except if I use xcompmng)
do you know how to get the "false" transparency work?
Thanks

Last edited by _Marco_ (2008-06-08 09:50:14)

Offline

#2 2008-06-08 10:05:32

droog
Member
Registered: 2004-11-18
Posts: 877

Re: Xdefaults work randomly

you need to add something like this
the shading part makes it more transparent or less
urxvt*transparent:      True
urxvt*inheritPixmap:    True
urxvt*shading:            30
urxvt*tintColor:           black

Offline

#3 2008-06-08 10:35:43

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: Xdefaults work randomly

hi, droog thanks for the reply,
I've tried your settings and now my .Xdefaults is this:

Xft*dpi:                96
Xft*antialias:          true
Xft*hinting:            full

URxvt.termName: rxvt
URxvt.transparent: true
URxvt.inheritPixmap: true
URxvt.imLocale: it_IT.UTF-8
URxvt.scrollBar: false
URxvt.saveLines: 5000
URxvt.urlLauncher:      firefox
URxvt.cursorBlink: true
URxvt.geometry: 75x21
URxvt.fading: 15%
URxvt.shading: 30
urxvt.font:             xft:DejaVu Sans Mono:pixelsize=8
urxvt.boldFont:         xft:DejaVu Sans Mono:bold:pixelsize=9
!URxvt*background:      [80]#ece9e2
!URxvt.foreground: [80]#3d352a
urxvt.depth: 32
urxvt.background: rgba:0000/0000/0000/aaaa
urxvt.foreground: rgba:ffff/ffff/ffff/aaaa
URxvt.tintColor: black
URxvt.borderLess: false
!URxvt.InternalBorder: .5
URxvt.externalBorder: .5
URxvt.borderColor: #acacac

*foreground:     rgba:0000/0000/0000/dddd
*background:     rgb:10/10/10
!black
*color0:         rgb:20/20/20
*color8:         rgb:75/77/73
!red
*color1:         rgb:cc/00/00  
*color9:         rgb:ef/29/29
!green
*color2:         rgb:4e/9a/06
*color10:        rgb:8a/e2/34
!brown/yellow
*color3:         rgb:c4/a0/00
*color11:        rgb:fc/e9/4f
!blue
*color4:         rgb:34/65/a4
*color12:        rgb:72/9f/cf
!magenta
*color5:         rgb:75/50/7b
*color13:        rgb:ad/7f/a8
!cyan
*color6:         rgb:06/98/9a
*color14:        rgb:34/e2/e2
!white
*color7:         rgb:d3/d7/cf
*color15:        rgb:ee/ee/ec

anyway the transparency is active only if I run xcompmgr... it's very strange..

Offline

#4 2008-06-08 10:45:27

droog
Member
Registered: 2004-11-18
Posts: 877

Re: Xdefaults work randomly

you need to comment out the urxvt.depth 32 and it should work everything else looks good.

Offline

#5 2008-06-08 10:51:07

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Xdefaults work randomly

Yes, but it's real transparency, not pseudo-transparency.

Maybe you should turn off the inheritPixmap for pseudo-transparency..


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#6 2008-06-08 11:02:49

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: Xdefaults work randomly

removing "urxvt.depth: 32" worked without xcompmgr
this is the working .Xdefaults

Xft*dpi:                96
Xft*antialias:          true
Xft*hinting:            full

URxvt.termName: rxvt
URxvt.transparent: true
URxvt.inheritPixmap: true
URxvt.imLocale: it_IT.UTF-8
URxvt.scrollBar: false
URxvt.saveLines: 5000
URxvt.urlLauncher:      firefox
URxvt.cursorBlink: true
URxvt.geometry: 75x21
URxvt.fading: 15%
URxvt.shading: 30
urxvt.font:             xft:DejaVu Sans Mono:pixelsize=8
urxvt.boldFont:         xft:DejaVu Sans Mono:bold:pixelsize=9
!URxvt*background:      [80]#ece9e2
!URxvt.foreground: [80]#3d352a
urxvt.background: rgba:0000/0000/0000/aaaa
urxvt.foreground: rgba:ffff/ffff/ffff/aaaa
URxvt.tintColor: blue
URxvt.borderLess: false
!URxvt.InternalBorder: .5
URxvt.externalBorder: .5
URxvt.borderColor: #acacac

*foreground:     rgba:0000/0000/0000/dddd
*background:     rgb:10/10/10
!black
*color0:         rgb:20/20/20
*color8:         rgb:75/77/73
!red
*color1:         rgb:cc/00/00  
*color9:         rgb:ef/29/29
!green
*color2:         rgb:4e/9a/06
*color10:        rgb:8a/e2/34
!brown/yellow
*color3:         rgb:c4/a0/00
*color11:        rgb:fc/e9/4f
!blue
*color4:         rgb:34/65/a4
*color12:        rgb:72/9f/cf
!magenta
*color5:         rgb:75/50/7b
*color13:        rgb:ad/7f/a8
!cyan
*color6:         rgb:06/98/9a
*color14:        rgb:34/e2/e2
!white
*color7:         rgb:d3/d7/cf
*color15:        rgb:ee/ee/ec

Thanks for your suggestions!

Offline

#7 2008-06-08 11:11:32

droog
Member
Registered: 2004-11-18
Posts: 877

Re: Xdefaults work randomly

moljac024 wrote:

Yes, but it's real transparency, not pseudo-transparency.

Maybe you should turn off the inheritPixmap for pseudo-transparency..

you got me wondering so i looked it up

urxvt calls its "transparency" a inheritPixmap option, which is to say, it sets its terminal background to a pixelmap of the X desktop beneath it. When the window moves, the pixelmap is updated. This isn't true transparency, but the effect is just as impressive.

Offline

#8 2008-07-17 00:30:28

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: Xdefaults work randomly

I have been trying to get transparency on openbox and URxvt without success.  The above Xdefaults does not work for me.  I read and re-read the doc.  Any suggestion anyone ?  I feel resourceless now sad

Offline

#9 2008-07-17 00:41:44

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Xdefaults work randomly

If the depth is set to 32 it will try to use real transparency (for which you need compositing). For pseudo-transparency the depth should be set to 24.


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#10 2008-07-17 01:58:06

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: Xdefaults work randomly

marxav wrote:

I have been trying to get transparency on openbox and URxvt without success.  The above Xdefaults does not work for me.  I read and re-read the doc.  Any suggestion anyone ?  I feel resourceless now sad

My wife has the same issue with Openbox and urxvt.  Ultimately she decided to run xcompmgr (without any arguments) just for the terminal.


thayer williams ~ cinderwick.ca

Offline

#11 2008-07-17 02:04:28

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: Xdefaults work randomly

I tried xcompmgr, but it screws up my adesklets.

Offline

Board footer

Powered by FluxBB