You are not logged in.

#1 2016-03-07 05:12:30

sleepy_cat
Member
From: CHN
Registered: 2015-12-07
Posts: 43

[SOLVED] Why my laptop can't switch off the screen in TTY?

Hi, here is the thing:

I've edited the "/etc/systemd/logind.conf":

[me@arch ~]$ sudo vim /etc/systemd/logind.conf
HandleLidSwitch=lock

And i've restarted "systemd-logind":

[me@arch ~]$ sudo systemctl restart systemd-logind

But when i at terminal mode(TTY), i turn down the lid,
the screen is still lighted.

I've also tried

HandleLidSwitch=ignore

Can anyone help me?

Last edited by sleepy_cat (2016-08-05 11:55:20)


Things being equal, the simplest explanation tends to be the right.

Offline

#2 2016-03-07 05:54:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Why my laptop can't switch off the screen in TTY?

Do you have an active session in the console?

loginctl show-session $XDG_SESSION_ID --property=Active

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB