You are not logged in.

#1 2021-05-02 03:14:35

davc0n
Member
Registered: 2020-02-01
Posts: 60

[SOLVED] logind.conf.d configuration ignored

Hello,

Looks like the content of the folder /etc/systemd/logind.conf.d is getting ignored on my system. It currently contains a file named acpi-events.conf with the following content:

HandlePowerKey=suspend
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore

The same content written directly in logind.conf seems to be recognized properly. Systemd version is 248-5. What am I doing wrong?

Last edited by davc0n (2021-05-02 04:20:10)

Offline

#2 2021-05-02 04:08:50

Tesla23
Member
Registered: 2015-09-17
Posts: 10

Re: [SOLVED] logind.conf.d configuration ignored

Did you put
[Login]
at the top of the file?

Offline

#3 2021-05-02 04:19:56

davc0n
Member
Registered: 2020-02-01
Posts: 60

Re: [SOLVED] logind.conf.d configuration ignored

Solved! Thanks.

Offline

Board footer

Powered by FluxBB