On Fri, Nov 05, 2004 at 02:45:11PM +0100, Ted Harding wrote:
The point of the script is to circumvent the situation where, if I leave the machine alone for 10 minutes (whereupon it automatically goes into "suspend"), it is not displaying X when it suspends, since this renders the machine unusable.
The script ensures that the machine is in "console" mode after 5 minutes of inactivity, so that suspend does not cause any problems.
Aaaah, yes I misunderstood, sorry. Quite a few dell laptop users reported having similar problems on a couple of mailing lists, they also did a chvt style thing.
Although, you could still run the script via acpid to respond to ACPI events which would be an alternative way of doing things.
Adam