mate-desktop / mate-power-manager

Power management tool for the MATE desktop
https://mate-desktop.org
GNU General Public License v2.0
59 stars 51 forks source link

"Put display to sleep" timeout ignored #342

Open dark-penguin opened 4 years ago

dark-penguin commented 4 years ago

Expected behaviour

I set "Put display to sleep when inactive for:" to 30 minutes. Monitor turns off after 30 minutes.

Actual behaviour

I set "Put display to sleep when inactive for:" to anything. Monitor turns off after 10 minutes.

Steps to reproduce the behaviour

Set "Put display to sleep when inactive for:" to anything (I have not tried "Never" though). Monitor will turn off after 10 minutes.

MATE general version

1.20.4

Package version

1.20.3-2

Linux Distribution

Debian Buster

Link to downstream report of your Distribution

Does anyone care about bugs in Debian stable?..

This might be a problem with something else, but I have no idea how to debug it further.

I also set the "Screensaver" timeout ("Regard the computer as idle after:") to the same time, but disable both checkboxes ("Activate screensaver when computer is idle" and "Lock screen when screensaver is active").

UPDATE: Tried to confirm this on Debian Live in virtualbox. I've set both DPMS and screensaver to one minute. Nothing happened, no matter how long I waited, regardless of whether the screensaver is enabled or disabled. Maybe virtualbox does not support DPMS, but this time even the screensaver does not work, which probably means those timeouts are completely ignored, and instead governed by something else - something we can't configure (so it's either "never" on new systemd or 10min on my system).

lukefromdc commented 4 years ago

I can confirm all of this except the time, which I've never measured.

On 4/26/2020 at 9:55 AM, "dark-penguin" wrote:

 Expected behaviour 

I set "Put display to sleep when inactive for:" to 30 minutes.

Monitor turns off after 30 minutes. Actual behaviour

I set "Put display to sleep when inactive for:" to anything. Monitor

turns off after 10 minutes. Steps to reproduce the behaviour

Set "Put display to sleep when inactive for:" to anything (I have not

tried "Never" though). Monitor will turn off after 10 minutes. MATE general version

1.20.4 Package version 

1.20.3-2 Linux Distribution 

Debian Buster Link to downstream report of your Distribution 

Does anyone care about bugs in Debian stable?.. 

This might be a problem with something else, but I have no idea how

to debug it further.

I also set the "Screensaver" timeout ("Regard the computer as idle

after:") to the same time, but disable both checkboxes ("Activate screensaver when computer is idle" and "Lock screen when screensaver is active").

You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

voobscout commented 4 years ago

Confirming this behavior with 1.24.1, built from https://pub.mate-desktop.org/releases/1.24/mate-power-manager-1.24.1.tar.xz

here's the dconf:

[org/mate/power-manager]
action-sleep-type-ac='nothing'
action-sleep-type-battery='nothing'
action-critical-battery='shutdown'
sleep-display-ac=0
sleep-display-battery=0
backlight-enable=false
brightness-ac=15.0
button-lid-ac='nothing'
button-lid-battery='nothing'
button-power='shutdown'
button-suspend='nothing'
idle-dim-time=0
idle-dim-ac=false
idle-dim-battery=false
dpms-method-ac='off'
dpms-method-battery='off'
notify-discharging=false
notify-fully-charged=false
notify-discharging=false