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:
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.
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 gnome-power- manager/ lock_on_ suspend = false gnome-power- manager/ lock_on_ blank_screen = false
/apps/
/apps/
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.