OK I've now activated acpi on my X30 and everything is working fine. Now I'd like to detect lid closure and run my suspend script when the lid has been closed for five minutes. What would be the best approach for doing that? I guess I could do it from cron but that feels a bit clumsy. alex -- http://polite.se