chjj / compton

A compositor for X11.
Other
2.25k stars 501 forks source link

Clash with xfce4-screenshooter causing shadowed screenshots on selected region #338

Open bunnybooboo opened 8 years ago

bunnybooboo commented 8 years ago

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.

theferrit32 commented 8 years ago

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

scottmmjackson commented 8 years ago

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

ryukinix commented 7 years ago

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

ryukinix commented 7 years ago

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'"
];
pawamoy commented 7 years ago

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.

ryukinix commented 7 years ago

Nice! What i:e: stands for?

pawamoy commented 7 years ago

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