Keep computer on when laptop lid is closed 21 June 2022, 04:31:04 This feels like a basic question but how am I able to keep my laptop on (which I am using as a searx server) when the lid is closed and keep the display off. I am used to the quick windows setting I am able to change but how am I able to do this on S6. I am only able to find tutorials or explinations with systemd systems.
Re: Keep computer on when laptop lid is closed Reply #1 – 21 June 2022, 05:14:24 https://forums.linuxmint.com/viewtopic.php?t=214890this seems relevant. open your file manager and do a search for logind.conf. i found it in /etc/elogind/logind.confthere are other suggestions there also that are relevant. i use dinit. i suspect artix puty it there universally for all the inits for simplicityhttps://unix.stackexchange.com/questions/52643/how-to-disable-auto-suspend-when-i-close-laptop-lidthis also looks relevant
Re: Keep computer on when laptop lid is closed Reply #2 – 21 June 2022, 06:21:54 This is nothing to do with S6 itself. You can configure this behaviour with the acpid daemon which has hooks on lid open/close. Alternatively, if you are using a DE, you can specify what to do on various events via corresopnding power manager's GUI, e.g. xfce4-power-manager, mate-power-manager, etc. 1 Likes
Re: Keep computer on when laptop lid is closed Reply #3 – 21 June 2022, 13:55:25 What should work is to update file /etc/elogind/logind.conf to have line:Code: [Select]HandleLidSwitch=ignoreartist 3 Likes
Re: Keep computer on when laptop lid is closed Reply #4 – 21 June 2022, 23:57:00 Thank you it worked .Now to try to make the server https...