You are not logged in.

#1 2018-06-10 01:33:26

lmat
Member
Registered: 2015-08-10
Posts: 11

Laptop Monitor doesn't Turn Off when Lid Closed

I'm running systemd, no desktop environment. After first installing Arch linux, any time I closed the monitor, the laptop would suspend. In /etc/systemd/logind.conf, I set HandleLidSwitch=ignore. This helped: the machine doesn't suspend when the lid closes, but the monitor doesn't turn off.
From other sources, it sounds like this is surprising behavior. I have another similar (slightly older) laptop wherein this configuration works as desired.

What configuration is necessary to get the laptop monitor to turn off without suspending the machine? Thanks!

Offline

#2 2018-06-10 05:48:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,849

Re: Laptop Monitor doesn't Turn Off when Lid Closed

The "no desktop environment" will be the crucial part here - the monitor doesn't turn off magically.
Is this a display server (X11, wayland) or a linux console?
You could try the "lock" action (maybe it's smart enough to issue a setterm -powersave) but you might have to handle the lid key with a more versatile daemon (eg. acpid)

Online

#3 2018-06-10 14:14:45

lmat
Member
Registered: 2015-08-10
Posts: 11

Re: Laptop Monitor doesn't Turn Off when Lid Closed

Just linux console; no display server. I did set this up on another computer, so if it requires magic, it shouldn't be hard to come by ;-) I'm sure i can force it using DPMS, etc. I'd rather for it just to work like it's supposed to, and I'm hoping I'm missing something obvious. Thanks!

Offline

#4 2018-06-10 14:19:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,849

Re: Laptop Monitor doesn't Turn Off when Lid Closed

There's a chance that the UEFI/BIOS of the other system does this implicitly (rather operating on the backlight than on DPMS)
Try the "lock" mode, if that doesn't work, see https://wiki.archlinux.org/index.php/Acpid and "man setterm" on the --powersave parameters.

Online

Board footer

Powered by FluxBB