In Ubuntu (Gnome) there is no way of shutting down the machine after a certain amount of idle time.
What I mean by idle is: 'no movements on the touchscreen' (ie there is no real mouse of keyboard attached to this computer).
I gonne do it by counting interupts (from /proc/bus/interupts).
First of all I have to figure out what usb bus the touchscreen is connected to.
write more:
http://murga-linux.com/puppy/viewtopic.php?t=36109
http://translate.google.de/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=de&tl=en&u=http%3A%2F%2Fwiki.ubuntuusers.de%2FSkripte%2FAuto_OFF
en scrippie wat naar johny is gestuurd