Configurable grayscale effect for KWin window manager and KDE desktop environment.
sudo cp -r kwin4_effect_grayscale /usr/share/kwin/effects/
sudo cp kwin4_effect_grayscale/metadata.json /usr/share/kservices5/kwin/
To test it for the first time, open System Settings
> Desktop Behavior
. In there, open Desktop Effects
. You should see Grayscale
in the Appearance
section. Toggle it a couple of times, and you'll see the grayscale effect at work.
drwxr-xr-x
for the kwin4_effect_grayscale
folder and its content. If not, run (as root)
chmod 755 /usr/share/kwin/effects/kwin4_effect_grayscale/
find /usr/share/kwin/effects/kwin4_effect_login/ -type d -exec chmod 755 {} +.