15

Is there any way to disable KWin compositing effects from command-line? AFAIK it's possible to disable it via System settings->Hardware->Display and Monitor->Compositor but it requires a KWin restart.If I'm able to disable the compositor from command line , then I can easily assign a shortcut to it.

Any idea?

BTW I use KDE Plasma 5.19.

Parsa Mousavi
  • 1,020
  • 2
  • 14
  • 27

3 Answers3

20

To disable compositing:

qdbus org.kde.KWin /Compositor suspend

To enable compositing

qdbus org.kde.KWin /Compositor resume
Artem S. Tashkinov
  • 26,392
  • 4
  • 33
  • 64
7

Shift + Alt + F12 is the droid you are looking for.

AdminBee
  • 21,637
  • 21
  • 47
  • 71
0

When I turned on compositing, it broke the setting window so I couldn't turn it back off again.

I logged in using gnome/mate, opened plasma-open-settings and was able to disable it again.

Zamicol
  • 203
  • 1
  • 2
  • 9