Package: elogind Version: 241.3-1+debian1 Followup-For: Bug #919694 I just ran into this myself. Why is this still unfixed? Freezing the laptop(’s playing music) just because I close it is utterly inacceptable as a default setting.
See below for a change to /etc/elogind/logind.conf which, after a sudo cleanenv / /etc/init.d/elogind restart, fixed this for me. -- System Information: Debian Release: bullseye/sid APT prefers buildd-unstable APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.2.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8) Shell: /bin/sh linked to /bin/lksh Init: sysvinit (via /sbin/init) Versions of packages elogind depends on: ii dbus 1.12.16-1 ii debconf 1.5.73 ii libacl1 2.2.53-4 ii libc6 2.28-10 ii libcap2 1:2.25-2 ii libelogind0 241.3-1+debian1 ii libselinux1 2.9-2+b2 ii libudev1 241-7 ii lsb-base 11.1.0 Versions of packages elogind recommends: ii policykit-1 0.105-26 elogind suggests no packages. -- Configuration Files: /etc/elogind/logind.conf changed: [Login] HandleLidSwitch=ignore [Sleep] -- no debconf information