I have finally solved this problem on my laptop with Ubuntu 7.04.

This bug is not related to acpi-support but to gnome-power-manager.

The problem is that the suspend event and the screen lock are handled by
gnome-power-manager daemon, which intercepts the suspend button event,
activates the gnome-screensaver accordingly to the gnome-power-manager
settings and then calls the acpi suspend script which does all the rest.

To disable the screen lock on suspend you must open a gconf-editor and
disable the following options:

  /apps/gnome-power-manager/lock_on_hibernate = false
  /apps/gnome-power-manager/lock_on_suspend = false
  /apps/gnome-power-manager/lock_on_blank_screen = false 

However with this settings when you press the suspend butto you get no
screensaver at all and therefore no visible feedback until the laptop is
switched off. I solved this second problem by creating a
/etc/acpi/suspend.d/06-gnome-screensaver.sh script which starts the
gnome-screensaver at the beginning of the sleep sequence. Now I have
screensaver on suspend but no screen lock dialog on resume.

It would be nice if gnome-power-manager would rename the current
lock_on_* options to screensaver_on_* and add a new lock_screen option
to decide if locking the screen or simply activating a screensaver.


** Attachment added: "06-gnome-screensaver.sh"
   http://launchpadlibrarian.net/9805073/06-gnome-screensaver.sh

-- 
No GUI method to disable screen lock on lid close event
https://bugs.launchpad.net/bugs/10686
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to