[SOLVED] Auto shutdown after a given time of inactivity

New features which should be implemented in Porteus Kiosk Edition and the kiosk wizard.
Post Reply
maurizio
White ninja
White ninja
Posts: 5
Joined: 25 Jun 2013, 14:31
Distribution: Mint
Location: Switzerland

[SOLVED] Auto shutdown after a given time of inactivity

Post#1 by maurizio » 29 Jul 2013, 08:25

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
Last edited by maurizio on 08 Aug 2013, 12:48, edited 1 time in total.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4593
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Auto shutdown after a given time of inactivity

Post#2 by fanthom » 01 Aug 2013, 20:18

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.
Please add [Solved] to your thread title if the solution was found.

maurizio
White ninja
White ninja
Posts: 5
Joined: 25 Jun 2013, 14:31
Distribution: Mint
Location: Switzerland

Re: Auto shutdown after a given time of inactivity

Post#3 by maurizio » 07 Aug 2013, 08:13

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.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4593
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Auto shutdown after a given time of inactivity

Post#4 by fanthom » 07 Aug 2013, 09:04

link above is fixed now.
Please add [Solved] to your thread title if the solution was found.

maurizio
White ninja
White ninja
Posts: 5
Joined: 25 Jun 2013, 14:31
Distribution: Mint
Location: Switzerland

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

Post#5 by maurizio » 08 Aug 2013, 12:47

Hi fanthom,
successfully tested the shutdown option on the 2.1 beta.
Thank you very much for implementing this feature.
Regards,
maurizio

Post Reply