Hi all, I saw Andrew's post about events when closing the laptop lid and I wonder is there a way to just lock screen when the laptop lid is closed? I have not seen this available in the Ubuntu settings. I do not wish to shut the system off or suspend its activities, I would just like it to continue working and give security that no one else on the network can try to get in and that only I can get the screen back with a password.
Is this possible? A -----Original Message----- From: ubuntu-uk-requ...@lists.ubuntu.com Reply-To: ubuntu-uk@lists.ubuntu.com To: ubuntu-uk@lists.ubuntu.com Subject: ubuntu-uk Digest, Vol 45, Issue 3 Date: Sat, 03 Jan 2009 21:59:18 +0000 Message: 3 Date: Sat, 3 Jan 2009 14:08:55 +0000 From: "Andrew Oakley" <and...@aoakley.com> Subject: [ubuntu-uk] Laptop lid event to standby/hibernate at GDM login? To: ubuntu-uk@lists.ubuntu.com Message-ID: <6fe27770901030608x48520a45j83c08755edff2...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 I've got suspend-to-ram (sleep) and suspend-to-disk (hibernate) working well on my Asus Eee 901 using Ubuntu (actually Ubuntu-Eee, based on Hardy). What works: * Hibernate and sleep keys on laptop * Hibernate and sleep (suspend-to-ram) from Quit window * Lid close calls sleep (suspend-to-ram) if logged in to a Gnome session * Options - Hibernate and Options - Suspend from GDM login screen (even if nobody logged in) * Resume from all the above What doesn't work, that I want to: * Lid close to call sleep (suspend-to-ram) from GDM login screen, when no users are yet logged in, or all users have logged out. I want this because I allow visitors to use the guest account on my netbook and I want to encourage them to log out when they have finished, then shut the lid. Can anyone shed any light on this? Hibernate/suspend obviously works from GDM Login window, since the Options - Hibernate and Options - Suspend items work. What doesn't work is the lid closure to trigger these calls. -- Andrew Oakley and...@aoakley.com -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/