<?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=6836&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [HOW-TO] Prevent laptop suspend / sleep on lid close]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6836</link>
		<description><![CDATA[The most recent posts in [HOW-TO] Prevent laptop suspend / sleep on lid close.]]></description>
		<lastBuildDate>Mon, 16 Sep 2024 14:14:02 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [HOW-TO] Prevent laptop suspend / sleep on lid close]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52225#p52225</link>
			<description><![CDATA[<p>I&#039;ve configured many laptops just as you have, and it works well. The only difference is I just reboot instead of reloading the services. </p><p>It may also be helpful to change the behavior of the power key so it does not trigger sleep</p><p>I do this by adding the following to logind.conf</p><div class="codebox"><pre><code>HandlePowerKey=poweroff
PowerKeyIgnoreInhibited=yes</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (JWM-Kit)]]></author>
			<pubDate>Mon, 16 Sep 2024 14:14:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52225#p52225</guid>
		</item>
		<item>
			<title><![CDATA[[HOW-TO] Prevent laptop suspend / sleep on lid close]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52166#p52166</link>
			<description><![CDATA[<p><strong>The Problem:</strong><br />I have installed fresh Devuan 5 without X server on an 2011-ish laptop. However, when I closed the lid of the &quot;soon to be server&quot; laptop, the device went to sleep.</p><p><strong>The Solution:</strong><br />1. Edit /etc/elogind/logind.conf</p><p>2. Uncomment and set the following parameters:</p><div class="codebox"><pre><code>HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore</code></pre></div><p>3. Reload elogind:<br /># service elogind reload</p><p><strong>Note.</strong> <span class="bbs">I did it few months ago and I am not sure if the elogind reload helped or I needed a restart.</span> service elogind reload works fine.</p>]]></description>
			<author><![CDATA[dummy@example.com (metala)]]></author>
			<pubDate>Thu, 12 Sep 2024 21:14:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52166#p52166</guid>
		</item>
	</channel>
</rss>
