preventing screen lock on lid close?

Mario Vukelic mario.vukelic at dantian.org
Thu Nov 3 21:20:00 UTC 2005


On Thu, 2005-11-03 at 12:04 -0600, Matthew Strait wrote:
> How can I change 
> this behaviour?  I just want the screen to blank when I close the lid and 
> unblank when I open it.

I don't think there currently is a GUI way to change this behavior, but
there might be a better way than what I describe below. 

The lock is caused by the following command in the
file /usr/share/acpi-support/screenblank which is installed by the
package acpi-support. 

The first line in the file reads

        su $user -c "(xscreensaver-command -throttle && \
        xscreensaver-command -lock)"

Edit the line (you need to have admin rights) to read

        su $user -c "(xscreensaver-command -throttle)"

Regards, M






More information about the ubuntu-users mailing list