Remember the good old days of KDE3? It was so easy to start your favorite screensaver by hand: simply invoke dcop and there we go. But since the dcop framework is no longer part of KDE4 I found myself without a hint of how to create a shortcut to trigger the screensaver.
Until now… use the following commands to lock the screen with the screensaver running or display the screensaver without locking:
qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock
qdbus org.freedesktop.ScreenSaver /ScreenSaver SetActive 1
I hope this helps others as it took me too long to find this…