You are not logged in.

#1 2013-11-06 02:19:14

rabcor
Banned
Registered: 2013-02-09
Posts: 500

Compton Shadow-Exclude option not working

Here's a part of my compton config file.

shadow-exclude = [ "n:e:Notification", "class_g = 'Conky'" ];

Here's a part of conkyrc

wm_class_name Conky

My window manager is openbox

What am i doing wrong? how could i troubleshoot this? (I copied that straight from the wiki btw)

Update:
I found a workaround for this. Setting conky

own_window_type desktop

makes Compton think of conky as a part of the desktop, its a pretty ugly workaround though since the type is also used for other things.

According to this the right way to define the WM_CLASS is through this, the value defaults to 'Conky'

own_window_class conky

This however didn't work out for me any better than before.

Last edited by rabcor (2013-11-06 02:55:28)

Offline

#2 2013-11-27 20:38:26

Dolpa
Member
Registered: 2013-11-27
Posts: 2

Re: Compton Shadow-Exclude option not working

Hi there!

I has the same problem and I think I found the solution. :-)

My conky window setting is:

own_window yes
own_window_type override
own_window_class conky

The "own_window_type desktop" does not help for me.

The following setting in compton.conf does not work:

shadow-exclude = [ "class_g = 'conky'" ];

The final solution is:

shadow-exclude = [ "window_type *= 'normal' && ! name ~= ''" ];

I don't know which program is defective or why the  official published solution does not work, but my solution is work for me.

Offline

#3 2013-11-28 15:38:04

easysid
Member
From: India
Registered: 2013-01-01
Posts: 256

Re: Compton Shadow-Exclude option not working

This works fine for me in openbox
conkyrc:

own_window yes
own_window_argb_visual yes
own_window_transparent yes
own_window_type desktop

compton.conf part

shadow-exclude = [
    "! name~=''",
    "class_g = 'Conky'"
    ]

Offline

#4 2013-11-28 18:22:09

Dolpa
Member
Registered: 2013-11-27
Posts: 2

Re: Compton Shadow-Exclude option not working

@easyid: If your own_window_type is desktop the "class_g = 'Conky'" is working but if it is "override" it doesn't. In your case the "! name~=''" line doesn't affect to  the conky window, only the second line. Otherwise the "! name~=''" is affect some windows in awesome wm, so not option for me.

Offline

#5 2013-11-29 06:08:35

easysid
Member
From: India
Registered: 2013-01-01
Posts: 256

Re: Compton Shadow-Exclude option not working

^ yes. The exclude array is much bigger, there are just two entries. It also includes notification bubbles among other things. I run openbox, so can't help on awesome wm.

Offline

Board footer

Powered by FluxBB