[feature request] detect inactivity and exit

Talk about anything concerning the source code.
Post Reply
jackherb
Posts: 6
Joined: Sun Mar 05, 2017 6:15 am

[feature request] detect inactivity and exit

Post 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 $?
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: [feature request] detect inactivity and exit

Post 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
GIMX creator
jackherb
Posts: 6
Joined: Sun Mar 05, 2017 6:15 am

Re: [feature request] detect inactivity and exit

Post by jackherb »

Done.
Post Reply