Disable Screen Blank/Lock on Lid Events
Posted: Sat Jun 30, 2012 6:13 pm
I'm running Linux Mint 13 Maya with the distro-stock 3.2.0-23 kernel, stock X.Org and stock Cinnamon on a Lenovo ThinkPad W520 4276-39U laptop. I'm having difficulty disabling screen blank/lock on lid close/open and would appreciate assistance. Ultimately, I'd like to be able to occasionally close the lid and use an external display, keyboard, mouse, etc..
I've attempted the following:
Coincidentally, manual xset dpms changes are being reverted after the next lid close/open. While I'm optimistically awaiting replies, I'll grep for any scripts that make dpms changes, reference /proc/acpi/button/lid/*/state and/or reference xscreensaver or gnome-screensaver.
What's responsible for blanking/locking my screen on lid events? How can I reconfigure that for the behavior I want?
Thank you in advance for any support you can provide.
I've attempted the following:
- I tried using dconf-editor, I set org.gnome.settings-daemon.plugins.power lid-close-ac-action and lid-close-battery-action to nothing. (active is true). Not sure if it's relevant, though, org.gnome.desktop.screensaver lock-enabled is true, org.gnome.desktop.lockdown disable-lock-screen is false.
- I tried modifying /etc/acpi/lid.sh, which shows evidence of being run by acpid, to immediately return (diagnostic step), tried modifying /usr/share/acpi-support/screenblank and then tried disabling acpid altogether (stop acpid and service acpi-support stop).
Coincidentally, manual xset dpms changes are being reverted after the next lid close/open. While I'm optimistically awaiting replies, I'll grep for any scripts that make dpms changes, reference /proc/acpi/button/lid/*/state and/or reference xscreensaver or gnome-screensaver.
What's responsible for blanking/locking my screen on lid events? How can I reconfigure that for the behavior I want?
Thank you in advance for any support you can provide.