This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Toggle compositing from command line

Tags: None
(comma "," separated)
Francesco312
Registered Member
Posts
10
Karma
0
OS
Hi. I couldn't find the answer googling around...
For some reason, the optio to disable desktop effect for full-screen windows does not appear to be effective for my computer. So, I was using a script to disable them before running some applications.
The code I was using was
Code: Select all
if $(qdbus org.kde.kwin /KWin compositingActive)
then
    qdbus org.kde.kwin /KWin toggleCompositing && [run application]

But it's not working any longer on Plasma5. How can I do the same thing now?
luebking
Karma
0
You might be interested in this script:
http://kde-look.org/content/show.php/Ga ... ent=156659

Alternatively, you can (if the window is managed) setup a rule to block compositing.

To answer your question, the toggle API was replaced in KWin/5

Please use
Code: Select all
qdbus org.kde.KWin /Compositor suspend
qdbus org.kde.KWin /Compositor resume


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft