Reply to topic

Toggle compositing from command line

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

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], hstoellinger, sputnik_tr_02, tobia88, Yahoo [Bot]