Is it possible to run something (e.g. a script) after a certain idle time?
Chris Green
cl at isbd.net
Mon Oct 28 08:40:09 CET 2019
On Sun, Oct 27, 2019 at 10:12:28PM +0100, Kai-Martin Knaak wrote:
> On 21. October 2019 Chris Green <cl at isbd.net> wrote:
>
> > I have my system set up so that the Power Manager turns off the
> > display after about 15 minutes idle. Is it possible to trigger
> > running a script in the same way? I have some actions I'd like taken
> > at the same time (or similar) to when the display turns off.
>
> I maintain a bunch of semi public Desktops that enforce logout from
> the graphical XFCE session. After 30 minutes idle time a dialogue is presented
> with a countdown time of yet another hour. If the user fails to click
> on the dialogue during this grace period an automatic logout is
> initiated.
>
[snip details]
> Hope that helps,
>
> ---<)kaimartin(>---
>
Yes, it does, thank you. I had found xautolock but hadn't really
looked into exactly how to use it, your code shows me. :-)
--
Chris Green
More information about the Xfce
mailing list