2

I would like to apply the Toogle Invert Effect when I start my system.

So, I need to know how to call this KWin effect using the terminal.

OBS.: I'd tried xte "keydown Meta_L" "key i" "keyup Meta_L", but didn't work.

0

The effect itself does not seem to do anything on my computer, but I think you can enable/disable it through dbus in this way:

Enable

dbus-send --print-reply --dest=org.kde.KWin /Effects org.kde.kwin.Effects.loadEffect string:"invert"

Disable

dbus-send --print-reply --dest=org.kde.KWin /Effects org.kde.kwin.Effects.unloadEffect string:"invert"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.