HandleLidSwitch=ignore HandleLidSwitchExternalPower=ignore Should be sufficient. Did you reload systemd-logind or restart after changing those?
Also, could you check it's not gnome's inactive timeout? gsettings list-recursively org.gnome.settings-daemon.plugins.power -- You received this bug notification because you are a member of Debcrafters packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/2129563 Title: Close laptop lid suspends even with HandleLidSwitch*=lock Status in systemd package in Ubuntu: New Bug description: I have HandleLidSwitch=lock # suspend HandleLidSwitchExternalPower=lock # suspend HandleLidSwitchDocked=lock # ignore in logind.conf but my laptop is still suspending when I close the lid. This is especially problematic because returning from suspend, the filesystem becomes read-only and unusable. ProblemType: Bug DistroRelease: Ubuntu 25.10 Package: systemd 257.9-0ubuntu2 ProcVersionSignature: Ubuntu 6.17.0-5.5-generic 6.17.0-rc7 Uname: Linux 6.17.0-5-generic x86_64 ApportVersion: 2.33.1-0ubuntu3 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Wed Oct 22 16:59:41 2025 InstallationDate: Installed on 2025-10-19 (3 days ago) InstallationMedia: Ubuntu 25.10 "Questing Quokka" - Release amd64 (20251007) MachineType: Acer Nitro AN16S-61 ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color XDG_RUNTIME_DIR=<set> ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.17.0-5-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro quiet splash crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M SourcePackage: systemd UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/30/2025 dmi.bios.release: 1.3 dmi.bios.vendor: INSYDE Corp. dmi.bios.version: V1.03 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: EV3_SKF dmi.board.vendor: SXP dmi.board.version: V1.03 dmi.chassis.type: 10 dmi.chassis.vendor: Acer dmi.chassis.version: Chassis Version dmi.ec.firmware.release: 1.4 dmi.modalias: dmi:bvnINSYDECorp.:bvrV1.03:bd04/30/2025:br1.3:efr1.4:svnAcer:pnNitroAN16S-61:pvrV1.03:rvnSXP:rnEV3_SKF:rvrV1.03:cvnAcer:ct10:cvrChassisVersion:sku0000000000000000: dmi.product.family: Acer Nitro 16S AI dmi.product.name: Nitro AN16S-61 dmi.product.sku: 0000000000000000 dmi.product.version: V1.03 dmi.sys.vendor: Acer mtime.conffile..etc.systemd.logind.conf: 2025-10-22T08:02:07.389972 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2129563/+subscriptions -- Mailing list: https://launchpad.net/~debcrafters-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~debcrafters-packages More help : https://help.launchpad.net/ListHelp

