Configurar o kwin pelo terminal com o kwriteconfig5

Segue uma lista de comandos para o terminal que configura o Kwin:

Animation disabled

kwriteconfig5 --file ~/.config/kwinrc --group Compositing --key AnimationSpeed 0

Animation fast speed

kwriteconfig5 --file ~/.config/kwinrc --group Compositing --key AnimationSpeed 2

Animation normal speed

kwriteconfig5 --file ~/.config/kwinrc --group Compositing --key AnimationSpeed 3

Enable Composition

kwriteconfig5 --file ~/.config/kwinrc --group Compositing --key Enabled true

Disable Composition

kwriteconfig5 --file ~/.config/kwinrc --group Compositing --key Enabled false

XRender

kwriteconfig5 --file ~/.config/kwinrc --group Compositing --key Backend XRender

Opengl 2

kwriteconfig5 --file ~/.config/kwinrc --group Compositing --key GLCore false
kwriteconfig5 --file ~/.config/kwinrc --group Compositing --key Backend OpenGL

Opengl 3.1

kwriteconfig5 --file ~/.config/kwinrc --group Compositing --key GLCore true
kwriteconfig5 --file ~/.config/kwinrc --group Compositing --key Backend OpenGL

Apply fast

qdbus org.kde.KWin /KWin org.kde.KWin.reconfigure

Apply complete

kwin_x11 --replace &