View previous topic :: View next topic |
Author |
Message |
noodles006 n00b
Joined: 18 Jan 2018 Posts: 19
|
Posted: Sat Jan 20, 2018 2:32 am Post subject: Unable to change opacity of urxvt windows with compton |
|
|
Hello, I am trying to set up transparent terminals with urxvt and compton. The transparency works, however, the terminal windows are completely transparent. I would like them to be partially opaque. Is there a way to configure compton to do this?
I have this in my .Xresources:
Code: |
URxvt*depth: 32
URxvt*background: [90]#000000
|
And this in my compton.conf:
Code: |
opacity-rule = [ "40:class_g = 'urxvt'" ];
|
And have run compton with and without the "--config compton.conf" option |
|
Back to top |
|
|
blopsalot Apprentice
Joined: 28 Jan 2017 Posts: 231
|
Posted: Sun Jan 21, 2018 5:18 am Post subject: |
|
|
two things to try:
depending on your window manager, you may or may not need to use dbus:
Code: | dbus-launch compton |
compton nowadays looks for config files even without "--config", so to test with defaults
|
|
Back to top |
|
|
noodles006 n00b
Joined: 18 Jan 2018 Posts: 19
|
Posted: Sun Jan 21, 2018 2:56 pm Post subject: |
|
|
I tried both of those ways of starting compton, but I still got the same result. I am using Xmonad as my window manager |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sun Jan 21, 2018 4:45 pm Post subject: |
|
|
in my .Xresources I have
Code: | urxvt.depth: 32
urxvt.background: rgba:0000/0000/0200/c80 |
in my openbox autoexec I have
Quote: | compton -bcCGfF -o 0.38 -O 200 -I 200 -t 0 -l 0 -r 3 -D2 -m 0.88
|
_________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
noodles006 n00b
Joined: 18 Jan 2018 Posts: 19
|
Posted: Sun Jan 21, 2018 10:06 pm Post subject: |
|
|
The background settings you posted cause the background to turn pink, but the transparency works fine now, when I call compton with the arguments you posted. Thank you very much! |
|
Back to top |
|
|
|