PDA

View Full Version : [kde] toggle compositing?


Naegling23
June 10th, 2008, 09:29 PM
I know that there is a plasmid to toggle compositing in kde4, so I know that it is possible, but I dont know exactly how to do it.

I would like to make a script to turn off the compositing features (like transparency, wobbly windows, shadows, etc) to better performance when Im playing a game. Something along the lines of the compiz script,
kwin --replace
launchgame&&
compiz --replace

but for kde's compositing effects. Does anyone know what I would put here?

steve0921
November 8th, 2008, 02:12 PM
I would also like to know the answer to this question. Have you made any progress Naegling?

Naegling23
November 19th, 2008, 01:05 PM
well, I did stumble across the following command:

kwriteconfig --file kwinrc --group Compositing --key Enabled false

I found it in the following thread:
http://forum.kde.org/showthread.php?tid=6712

The only problem is that I cant seem to get it working in a script....maybe you can help me out here.