PDA

View Full Version : [lubuntu] Display does't auto switch off [12.10]



p1r0
November 17th, 2012, 04:51 PM
I am running Lubuntu on 12.10 and I've set the display to switch off after 10 minutes.
After inactivity the display goes blank but never switches off.
I've tried running:


xset dpms force off

from the terminal and it works just fine.

Any ideas what might be the problem with lubuntu?

Thanks!

kalehrl
November 17th, 2012, 06:11 PM
Do you have acpi-support (http://packages.ubuntu.com/precise/acpi-support) package installed?
I had to install it to get the monitor to shut down after lid is closed.
I didn't have to configure anything - it worked right after installation.

p1r0
November 17th, 2012, 06:20 PM
I am no sure that I have that. But I have disabled the screensaver now and it seems to be working.

Will update this post after confirmation.

p1r0
November 17th, 2012, 10:13 PM
I confirm that I have acpi-support installed, but no, this still doesn't work

kalehrl
November 17th, 2012, 11:49 PM
Disable all xscreensaver and other actions affecting lid closing.
Reboot and try again.

p1r0
November 18th, 2012, 12:36 AM
This seems to have fixed it http://ubuntuforums.org/showpost.php?p=12247108&postcount=8

Thanks!

kalehrl
November 18th, 2012, 04:50 PM
Yes, but you have to type the command manually for something which should be done automatically. Glad you are happy with the solution.

p1r0
November 18th, 2012, 05:24 PM
Not really, weird thing, after playing around with those commands, now it automatically turns the display off :)

kalehrl
November 18th, 2012, 07:26 PM
Yes, sometimes weird things happen.
When I first installed Lubuntu a couple of years ago, I remember not being able to switch off the laptop backlight on closing. It turned out it was xscreensaver messing with the acpi functions. When I disabled it, it monitor turning off started to work.
A couple of day ago I installed Lubuntu minimal without xscreensaver and I thought monitor shutting off will work right. I was wrong. It turned out acpi-support wasn't installed and after installation, it started to work as before.

p1r0
November 18th, 2012, 07:55 PM
Yup, in my case was definitely a combo of all the above, hehe.
First thing was to disable xscreensaver, that thing was messing with my attempts to switch of the display.

p1r0
November 24th, 2012, 10:19 PM
As I could check because this happened again, the solution was:

First to disable the screen saver as it was messing with the display

And second run:


xset +dpms

as root.