New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inactivity timeout (command line option) #443

Closed
hassemlal opened this Issue Mar 10, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@hassemlal

hassemlal commented Mar 10, 2017

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:

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

@matlo matlo added the GIMX 7.1 label Sep 26, 2017

@matlo matlo added this to the GIMX 7.0 milestone Sep 26, 2017

@matlo matlo added the enhancement label Sep 26, 2017

@matlo

This comment has been minimized.

Show comment
Hide comment
@matlo

matlo Sep 26, 2017

Owner

I will consider adding a timeout command line option from release 7.0.

Owner

matlo commented Sep 26, 2017

I will consider adding a timeout command line option from release 7.0.

@matlo matlo changed the title from [feature request] detect inactivity and exit to Inactivity timeout (command line option) Oct 3, 2017

@matlo

This comment has been minimized.

Show comment
Hide comment
@matlo

matlo Oct 3, 2017

Owner

Return value in case of inactivity timeout will be -4.
Value is defined in core/include/gimx.h in the current development branch.

Owner

matlo commented Oct 3, 2017

Return value in case of inactivity timeout will be -4.
Value is defined in core/include/gimx.h in the current development branch.

@matlo matlo closed this Oct 3, 2017

@matlo matlo reopened this Oct 3, 2017

@matlo matlo closed this Oct 3, 2017

@matlo matlo reopened this Jan 7, 2018

@matlo matlo closed this Jan 7, 2018

@matlo matlo reopened this Jan 13, 2018

@matlo matlo closed this Jan 13, 2018

@matlo matlo reopened this Jan 13, 2018

@matlo matlo closed this Jan 13, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment