Jun 11, 2013

HOWTO: Disable/Enable KDE Desktop Effects when VNC'ing

With KDE, you can disable Desktop Effects when you VNC to your desktop and re-enable the Effects when you disconnect using qdbus.

Below is a snippet of my x11vnc call to toggle Compositing (Desktop Effects):

x11vnc ... \
  -afteraccept 'qdbus org.kde.kwin /KWin toggleCompositing &' \  
  -gone 'qdbus org.kde.kwin /KWin toggleCompositing &' ...