Bug 380416 - Please allow a hook script in kscreenlock
Summary: Please allow a hook script in kscreenlock
Status: RESOLVED INTENTIONAL
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: library (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-01 08:44 UTC by Marc Haber
Modified: 2017-06-14 20:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Haber 2017-06-01 08:44:12 UTC
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
Comment 1 Martin Flöser 2017-06-14 20:33:19 UTC
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.