Page 1 of 1

[feature request] detect inactivity and exit

Posted: Mon Mar 06, 2017 2:48 pm
by jackherb
Hi, I have a feature request. Is it possible for gimx to detect when there is no input activity and exit with a specific code.
It will be very useful to automatically shutdown a raspberry after a period of inactivity.
Sthg along these lines:

Code: Select all

#!/bin/bash
/usr/bin/gimx ......
if [ $? -eq 75 ]
then
   halt
fi
exit $?

Re: [feature request] detect inactivity and exit

Posted: Mon Mar 06, 2017 3:32 pm
by Matlo
Hi,
I moved the topic to the dev section.
The best way to make a feature request is to open an issue here: https://github.com/matlo/GIMX/issues

Re: [feature request] detect inactivity and exit

Posted: Fri Mar 10, 2017 12:19 am
by jackherb
Done.