Skip to content
KWin Grayscale Effect
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
kwin4_effect_grayscale
README.md
Screenshot_20180917_090716.png
kwin4_effect_grayscale.desktop
screenshot_20180917_191805.png

README.md

KWin Grayscale Effect

Configurable grayscale effect for KWin window manager and KDE desktop environment.

screenshot_20180917_191805

screenshot_20180917_090716

Installation

  1. Download or Git Pull
  2. Copy "kwin4_effect_grayscale" folder to "/usr/share/kwin/effects", using e.g.
sudo cp -r kwin4_effect_grayscale /usr/share/kwin/effects
  1. Copy "kwin4_effect_grayscale.desktop" to "/usr/share/kservices5/kwin", using e.g.
sudo cp kwin4_effect_grayscale.desktop /usr/share/kservices5/kwin
  1. Add "kwin4_effect_grayscaleEnabled=true" to "[Plugins]" section in "~/.config/kwinrc" (as a normal user). In case the [Plugins] section is missing from the kwinrc file, just add it.

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.

Known Quirks

  • Settings doesn't apply:
    • In System Settings, uncheck "Grayscale" and re-check then apply.
    • Make sure the persmissions in are set to 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 {} +.
      
You can’t perform that action at this time.