Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #205760 > unrolled thread
| Started by | Jonas Hedman <jonas.hedman@fripost.org> |
|---|---|
| First post | 2019-02-26 19:10 +0100 |
| Last post | 2019-02-28 23:40 +0100 |
| Articles | 7 — 3 participants |
Back to article view | Back to linux.debian.user
fake transparency urxvt fails Jonas Hedman <jonas.hedman@fripost.org> - 2019-02-26 19:10 +0100
Re: fake transparency urxvt fails dekkzz78@gmail.com - 2019-02-26 23:40 +0100
Re: fake transparency urxvt fails Jonas Hedman <jonas.hedman@fripost.org> - 2019-02-28 16:10 +0100
Re: fake transparency urxvt fails Jonas Hedman <jonas.hedman@fripost.org> - 2019-02-28 16:30 +0100
Re: fake transparency urxvt fails Dan Ritter <dsr@randomstring.org> - 2019-02-28 18:00 +0100
Re: fake transparency urxvt fails Jonas Hedman <jonas.hedman@fripost.org> - 2019-02-28 19:00 +0100
Re: fake transparency urxvt fails Dan Ritter <dsr@randomstring.org> - 2019-02-28 23:40 +0100
| From | Jonas Hedman <jonas.hedman@fripost.org> |
|---|---|
| Date | 2019-02-26 19:10 +0100 |
| Subject | fake transparency urxvt fails |
| Message-ID | <xvPkZ-2yU-9@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Hi debian-user list
I have a kind of weird problem. I'm trying to get fake transparency to
work in urxvt on my x200.
I have two computers. I think they are pretty much identically configured
with respect to installed packages, configuration files etc (on debian
stable). The only thing obviously different about the older stationary
computer is that arch is i686. While my laptop is x86_64.
Fake transparency works as expected on the stationary while it fails on
my x200 with the following .Xresources:
xterm*foreground: rgb:a8/a8/a8
xterm*background: rgb:00/00/00
xterm*color0: rgb:00/00/00
xterm*color1: rgb:a8/00/00
xterm*color2: rgb:00/a8/00
xterm*color3: rgb:a8/54/00
xterm*color4: rgb:00/00/a8
xterm*color5: rgb:a8/00/a8
xterm*color6: rgb:00/a8/a8
xterm*color7: rgb:a8/a8/a8
xterm*color8: rgb:54/54/54
xterm*color9: rgb:fc/54/54
xterm*color10: rgb:54/fc/54
xterm*color11: rgb:fc/fc/54
xterm*color12: rgb:54/54/fc
xterm*color13: rgb:fc/54/fc
xterm*color14: rgb:54/fc/fc
xterm*color15: rgb:fc/fc/fc
XTerm*pointerColor: white
XTerm*pointerColorBackground: black
XTerm*cursorColor: green
URxvt*font: xft:Iosevka Term:style=medium:size=8
URxvt*boldFont: xft:Iosevka Term:style=bold:size=8
URxvt*fade: 90
URxvt*foreground: rgb:a8/a8/a8
URxvt*background: rgb:00/00/00
URxvt.scrollBar: false
URxvt.scrollBar_right: false
URxvt.scrollBar_floating: false
URxvt.scrollstyle: rxvt
URxvt.cursorColor: green
URxvt.cursorBlink: true
URxvt*cursorUnderline: true
! percentage of fading on unfocused
URxvt*fading: 65
! fading color
URxvt*fadeColor: black
URxvt*transparent: true
URxvt*tintColor: green
URxvt*shading: 30
By failing I mean that the background is green with zero transparency.
I set my wallpaper using feh (in i3wm) but I've tried it in xfce as well
with the same result and running 'xrdb (-merge) .Xresources doesn't do
any difference. I also invoke xrdb on i3 startup.
The urxvt package in question is rxvt-unicode (9.22-1+b1) but for safe
measure I compiled it from source just to get confirmation that the
problem remains.
Am I missing something obvious? Any ideas on how to solve this or
further troubleshoot this issue would be highly appreciated.
best regards
--
Jonas Hedman
[toc] | [next] | [standalone]
| From | dekkzz78@gmail.com |
|---|---|
| Date | 2019-02-26 23:40 +0100 |
| Message-ID | <xvTyh-57V-3@gated-at.bofh.it> |
| In reply to | #205760 |
[Multipart message — attachments visible in raw view] — view raw
On 02/26/2019, Jonas Hedman wrote: >Hi debian-user list > >I have a kind of weird problem. I'm trying to get fake transparency to >work in urxvt on my x200. > >I have two computers. I think they are pretty much identically configured >with respect to installed packages, configuration files etc (on debian >stable). The only thing obviously different about the older stationary >computer is that arch is i686. While my laptop is x86_64. > >Fake transparency works as expected on the stationary while it fails on >my x200 with the following .Xresources: > > xterm*foreground: rgb:a8/a8/a8 > xterm*background: rgb:00/00/00 > > xterm*color0: rgb:00/00/00 > xterm*color1: rgb:a8/00/00 > xterm*color2: rgb:00/a8/00 > xterm*color3: rgb:a8/54/00 > xterm*color4: rgb:00/00/a8 > xterm*color5: rgb:a8/00/a8 > xterm*color6: rgb:00/a8/a8 > xterm*color7: rgb:a8/a8/a8 > xterm*color8: rgb:54/54/54 > xterm*color9: rgb:fc/54/54 > xterm*color10: rgb:54/fc/54 > xterm*color11: rgb:fc/fc/54 > xterm*color12: rgb:54/54/fc > xterm*color13: rgb:fc/54/fc > xterm*color14: rgb:54/fc/fc > xterm*color15: rgb:fc/fc/fc > XTerm*pointerColor: white > XTerm*pointerColorBackground: black > XTerm*cursorColor: green > > > URxvt*font: xft:Iosevka Term:style=medium:size=8 > URxvt*boldFont: xft:Iosevka Term:style=bold:size=8 > > URxvt*fade: 90 > URxvt*foreground: rgb:a8/a8/a8 > URxvt*background: rgb:00/00/00 > URxvt.scrollBar: false > URxvt.scrollBar_right: false > URxvt.scrollBar_floating: false > URxvt.scrollstyle: rxvt > URxvt.cursorColor: green > URxvt.cursorBlink: true > URxvt*cursorUnderline: true > > ! percentage of fading on unfocused > URxvt*fading: 65 > ! fading color > URxvt*fadeColor: black > > URxvt*transparent: true > URxvt*tintColor: green > URxvt*shading: 30 > >By failing I mean that the background is green with zero transparency. > >I set my wallpaper using feh (in i3wm) but I've tried it in xfce as well >with the same result and running 'xrdb (-merge) .Xresources doesn't do >any difference. I also invoke xrdb on i3 startup. > >The urxvt package in question is rxvt-unicode (9.22-1+b1) but for safe >measure I compiled it from source just to get confirmation that the >problem remains. > >Am I missing something obvious? Any ideas on how to solve this or >further troubleshoot this issue would be highly appreciated. > >best regards >-- >Jonas Hedman > which version of compton are you using on each machine? -- regards..... Dekks Herton Thinkpad T61 2.0Ghz 2GB WSXGA+ Jabber IM: dekkzz78@jabber.hot-chilli.net
[toc] | [prev] | [next] | [standalone]
| From | Jonas Hedman <jonas.hedman@fripost.org> |
|---|---|
| Date | 2019-02-28 16:10 +0100 |
| Message-ID | <xwvtT-600-13@gated-at.bofh.it> |
| In reply to | #205767 |
[Multipart message — attachments visible in raw view] — view raw
On 19-02-26 22:38, dekkzz78@gmail.com wrote:
>
> which version of compton are you using on each machine?
>
I don't use any compositor on any of the machines due to it being a
little too resource intensive for my taste. Maybe I misunderstood things
but according to
https://ctkarch.org/documentation/tutorials/tuto.php?page=urxvt-transpa.xml
Urxvt offers two types of transparency for its background:
- A "fake" transparency, that copies the wallpaper to the
background of the terminal. (more exactly, the contents of Xorg's
root window)
- A "real" transparency, using the composite manager currently
running (xcompmgr, dcompmgr, compiz...)
and I'm trying to get the "fake" transparency to work.
best regards
--
Jonas Hedman
PGP: 8F72 C5BE AAFA B4BA 8F46 9185 5C39 89E0 616B B08C
[toc] | [prev] | [next] | [standalone]
| From | Jonas Hedman <jonas.hedman@fripost.org> |
|---|---|
| Date | 2019-02-28 16:30 +0100 |
| Message-ID | <xwvNg-66q-7@gated-at.bofh.it> |
| In reply to | #205760 |
[Multipart message — attachments visible in raw view] — view raw
Just a small update on this problem.
On my laptop, if I comment the line
URxvt*tintColor: green
in my .Xresources and run xrdb ~/.Xresources then the transparency works
if and only if the shading is set to 100. Any value gives me a white bg.
This tells me nothing but someone more knowledgable might perhaps be
able to deduce something from this.
--
Jonas Hedman
PGP: 8F72 C5BE AAFA B4BA 8F46 9185 5C39 89E0 616B B08C
[toc] | [prev] | [next] | [standalone]
| From | Dan Ritter <dsr@randomstring.org> |
|---|---|
| Date | 2019-02-28 18:00 +0100 |
| Message-ID | <xwxcm-6PC-11@gated-at.bofh.it> |
| In reply to | #205823 |
Jonas Hedman wrote: > Just a small update on this problem. > > On my laptop, if I comment the line > URxvt*tintColor: green > in my .Xresources and run xrdb ~/.Xresources then the transparency works > if and only if the shading is set to 100. Any value gives me a white bg. > > This tells me nothing but someone more knowledgable might perhaps be > able to deduce something from this. > from the frequently useful archlinux wiki: #### ! Xresources file URxvt*inheritPixmap: true URxvt*transparent: true ! URxvt*shading: 0 to 99 darkens, 101 to 200 lightens URxvt*shading: 110 Using the URxvt*background setting exemplified above instead of URxvt*shading will also work. Note: Avoid using shading if you have a URxvt.tintColor set. Use a different tintColor instead. #### See that last note? It's probably important. -dsr-
[toc] | [prev] | [next] | [standalone]
| From | Jonas Hedman <jonas.hedman@fripost.org> |
|---|---|
| Date | 2019-02-28 19:00 +0100 |
| Message-ID | <xwy8p-7vV-13@gated-at.bofh.it> |
| In reply to | #205828 |
On 19-02-28 11:53, Dan Ritter wrote:
> Jonas Hedman wrote:
>
> from the frequently useful archlinux wiki:
>
> ####
> ! Xresources file
>
> URxvt*inheritPixmap: true
> URxvt*transparent: true
> ! URxvt*shading: 0 to 99 darkens, 101 to 200 lightens
> URxvt*shading: 110
>
> Using the URxvt*background setting exemplified above instead of
> URxvt*shading will also work.
>
> Note: Avoid using shading if you have a URxvt.tintColor set. Use
> a different tintColor instead.
> ####
>
>
> See that last note? It's probably important.
>
> -dsr-
>
Thanks for the reply!
Alright this is now driving me crazy. I created a new user (in case I
have some weird setting somewhere in my /home) set a wallpaper using feh
saved the following minimal .Xresources:
! Xresources file
URxvt*inheritPixmap: true
URxvt*transparent: true
! URxvt*shading: 0 to 99 darkens, 101 to 200 lightens
URxvt*shading: 50
and ran xrdb on it to see if the problem comes from using tintColor
and shading. but nope this gives me a greyish bg (and with shading 100
it works just as before).
Am I missing some library or something like that? I feel pretty much
lost now.
regards
--
Jonas Hedman
PGP: 8F72 C5BE AAFA B4BA 8F46 9185 5C39 89E0 616B B08C
[toc] | [prev] | [next] | [standalone]
| From | Dan Ritter <dsr@randomstring.org> |
|---|---|
| Date | 2019-02-28 23:40 +0100 |
| Message-ID | <xwCvo-1PI-5@gated-at.bofh.it> |
| In reply to | #205833 |
Jonas Hedman wrote: > On 19-02-28 11:53, Dan Ritter wrote: > > Jonas Hedman wrote: > > > > from the frequently useful archlinux wiki: > > > > #### > > ! Xresources file > > > > URxvt*inheritPixmap: true > > URxvt*transparent: true > > ! URxvt*shading: 0 to 99 darkens, 101 to 200 lightens > > URxvt*shading: 110 > > > > Using the URxvt*background setting exemplified above instead of > > URxvt*shading will also work. > > > > Note: Avoid using shading if you have a URxvt.tintColor set. Use > > a different tintColor instead. > > #### > > > > > > See that last note? It's probably important. > > > > -dsr- > > > > Thanks for the reply! > > Alright this is now driving me crazy. I created a new user (in case I > have some weird setting somewhere in my /home) set a wallpaper using feh > saved the following minimal .Xresources: > > ! Xresources file > > URxvt*inheritPixmap: true > URxvt*transparent: true > ! URxvt*shading: 0 to 99 darkens, 101 to 200 lightens > URxvt*shading: 50 > > and ran xrdb on it to see if the problem comes from using tintColor > and shading. but nope this gives me a greyish bg (and with shading 100 > it works just as before). > > Am I missing some library or something like that? I feel pretty much > lost now. What happens if you remove URxvt*shading: 50 and add URxvt*tintColor: [50]red instead? -dsr-
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web