Hi, I would like to automatically zap my ssh keys from the ssh agent when the screen is locked. This would most elegantly be done if there were a possibility to have kscreenlocker run a script when the screen is being locked. Greetings Marc
kscreenlocker supports the org.freedesktop.ScreenSaver dbus interface which provides an ActiveChanged signal. You can connect any script to it as you wish and perform any action you want. Given that I don't see the need to add custom code to execute scripts.