Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to change opacity of urxvt windows with compton
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
noodles006
n00b
n00b


Joined: 18 Jan 2018
Posts: 19

PostPosted: Sat Jan 20, 2018 2:32 am    Post subject: Unable to change opacity of urxvt windows with compton Reply with quote

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
View user's profile Send private message
blopsalot
Apprentice
Apprentice


Joined: 28 Jan 2017
Posts: 231

PostPosted: Sun Jan 21, 2018 5:18 am    Post subject: Reply with quote

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
Code:
--config /dev/null
Back to top
View user's profile Send private message
noodles006
n00b
n00b


Joined: 18 Jan 2018
Posts: 19

PostPosted: Sun Jan 21, 2018 2:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Sun Jan 21, 2018 4:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
noodles006
n00b
n00b


Joined: 18 Jan 2018
Posts: 19

PostPosted: Sun Jan 21, 2018 10:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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