Compton: Clash with xfce4-screenshooter causing shadowed screenshots on selected region

Created on 15 Jan 2016  路  7Comments  路  Source: chjj/compton

I'm running BunsenLabs Linux and there seems to be a recognised issue with Compton causing greyed out screencap when running 'select a region'. Mentioned HERE
The suggested fix scrot -s does not seem to work for me, even via terminal. If I disable Compton, however, it works as expected.

Hoping a workaround may be relatively simple and submitting in here for any suggestions.

Most helpful comment

A quick fix for that is ignore the shadowzing effect for xfce4-screenshooter on ~/.config/compton.conf. Just add this on your personal compton.conf:

shadow-exclude = [              # Exclude conditions for shadows.
 "class_g ?= 'Xfce4-screenshooter'"
];

All 7 comments

Can confirm this issue exists on Arch linux as well, with xfce4-screenshooter. This does not happen with the gnome-screenshot utility.

BunsenLabs, same issue. Reported to xfce4-screenshooter bug tracker as well.

Yes, I can confirm that same issue on my machine with XFCE@Manjaro and using xfce4-screenshooter.

A quick fix for that is ignore the shadowzing effect for xfce4-screenshooter on ~/.config/compton.conf. Just add this on your personal compton.conf:

shadow-exclude = [              # Exclude conditions for shadows.
 "class_g ?= 'Xfce4-screenshooter'"
];

Instead of class_g ?= I used i:e:. Example from the link given above:

shadow-exclude = [ "i:e:Conky", "i:e:xfce4-screenshooter" ];

Shadow will still appear while taking the screenshot, but the saved image will be good.

Nice! What i:e: stands for?

I guess it's "ignore-case" and "exact"

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alecive picture alecive  路  5Comments

ghost picture ghost  路  14Comments

aliveinadream picture aliveinadream  路  12Comments

equeim picture equeim  路  11Comments

AndreasBackx picture AndreasBackx  路  6Comments