Re: system won't suspend automatically
On 6/10/24 16:51, David Wright wrote:
> On Mon 10 Jun 2024 at 15:05:23 (-0400), Eben King wrote:
>> Hi, I have a Debian 12 (Bookworm?) installation with XFCE as my DE. I have
>> three monitors, the left one is rotated CW so it's tall, and because lightdm
>> can't seem to get that or the monitor positions correct I wrote a script
>> that calls xrandr to set things up.
>>
>> I thought the errors from the monitor setup script (before I fixed it) were
>> what was keeping the system from suspending. But now I've fixed the errors
>> and it still doesn't suspend over night. Suspend works just fine when I go
>> to log out and hit the suspend button. I don't see any obvious errors in
>> journalctl. Where can I go to debug suspend? Thanks.
>
> Does xset -q show you anything like below?
>
> $ xset -q
> Keyboard Control:...
eben@cerberus:~$ xset -q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00002002
XKB indicators:
00: Caps Lock: off 01: Num Lock: on 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: on
auto repeat delay: 500 repeat rate: 20
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,built-ins
DPMS (Energy Star):
Standby: 1200 Suspend: 0 Off: 1800
DPMS is Enabled
Monitor is On
Like that, yes. What am I looking for? The DPMS stuff is just for
monitors, correct?
>> Thou shalt keep thine tongue prosperous, and thy mind numb. -Lusers 4:9
>
> Thy tongue.
This is correct. I'll change it, and note the change.
Dang, it's too easy to just do ^R and not hit "reply list". Maybe there's a
key command. I'll look into that.
--
"The reason that the American Army does so well, is that war is chaos,
and the American Army practices chaos on a daily basis."
-Nazi German Officer
Reply to: