<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4498&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / (SOLVED) Runit. Correct way to handle suspend on lid close]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4498</link>
		<description><![CDATA[The most recent posts in (SOLVED) Runit. Correct way to handle suspend on lid close.]]></description>
		<lastBuildDate>Fri, 10 Sep 2021 20:48:03 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[(SOLVED) Runit. Correct way to handle suspend on lid close]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=31450#p31450</link>
			<description><![CDATA[<p>Hi! im using devuan with the runit init system and everything went smooth, but i cannot figure out how to manage the bevaviour of the &#039;lid close&#039; suspend, because i want the computer to remain active if i don&#039;t tell it to suspend, so the default behaviour of suspend-on-close is not what i want. How can i manage that using runit? i found how to make it in sysvinit but not for runit. Thanks!</p><p>EDIT: Solved it, found solution here <a href="https://dev1galaxy.org/viewtopic.php?id=2021" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=2021</a></p><div class="codebox"><pre><code>I think the simplest fix would be to completely disable the laptop lid detection. Here is what I already did:

1. HandleLidSwitch=ignore in /etc/elogind/logind.conf
2. IgnoreLid=true in /etc/UPower/UPower.conf
3. delete /etc/acpi/events/lid-acpi-support
4. reboot</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (lea2501)]]></author>
			<pubDate>Fri, 10 Sep 2021 20:48:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=31450#p31450</guid>
		</item>
	</channel>
</rss>
