Page 1 of 1

[SOLVED] Auto shutdown after a given time of inactivity

Posted: 29 Jul 2013, 08:25
by maurizio
This could sound like an odd feature request for a kiosk system. We use Porteus Kiosk Edition on an old PC in a flying club for briefings, meteo and so on. A typical user session consists of three steps: 1) turn the computer on; 2) do some stuff; 3) press the PC's power button for > 4 seconds in order to shutdown the system. The problem is, most people just forget step #3, and the machine remains always on. Consider that on average only 5 to 10 people use the system on a typical day, and you realize that the machine is consuming a lot of power for no reason.
It would be nice to have an option for shutting the system down after a period of inactivity. Such feature would also allow users to really take advantage of the very quick boot time of Porteus (which was the reason why we choosed it by the way). Any chances to see this? Or any hints on where I should start to tweak in order to achieve this?
Thanks to the developers for the great job by the way.
Maurizio

Re: Auto shutdown after a given time of inactivity

Posted: 01 Aug 2013, 20:18
by fanthom
hi maurizio,

stuck at work but on Thursday i'll try to implement this feature and push new ISO/wizard for testing.
thanks

EDIT:\\
here is changelog for kiosk-2.1-beta:

Code: Select all

- upgraded to linux-3.9.11
- upgraded to xf86-video-intel-2.12.13 to resolve font rendering issues on Gen2 Intel GPUs
- implemented support for IP ranges in 'whitelist IP' function
- added 'Power saving/shutdown' section to the wizard which allows to switch to one of supported power states (freeze, standby, suspend - availability depends on motherboard/BIOS) or power off PC completely after a period of inactivity.
you can get wizard/ISO from here:
http://dl.porteus.org/i486/testing/kiosk-2.1-beta/

please test and report bugs - thanks.

Re: Auto shutdown after a given time of inactivity

Posted: 07 Aug 2013, 08:13
by maurizio
Hi Phantom,
Sorry for the late reaction, my turn to be stuck at work.. I tried to download the beta from the link above, but it seems broken.

Re: Auto shutdown after a given time of inactivity

Posted: 07 Aug 2013, 09:04
by fanthom
link above is fixed now.

[SOLVED] Re: Auto shutdown after a given time of inactivity

Posted: 08 Aug 2013, 12:47
by maurizio
Hi fanthom,
successfully tested the shutdown option on the 2.1 beta.
Thank you very much for implementing this feature.
Regards,
maurizio