You are not logged in.

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

DeletedUser210826
Banned
Registered: 2020-02-01
Posts: 70

[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 DeletedUser210826 (2021-05-02 04:20:10)

Offline

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

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

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

DeletedUser210826
Banned
Registered: 2020-02-01
Posts: 70

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

Solved! Thanks.

Offline

Board footer

Powered by FluxBB