<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[HyperForum — sleep mode after a few minutes of inactivity]]></title>
		<link>https://forums.hyperbola.info/viewtopic.php?id=1123</link>
		<atom:link href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=1123&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in sleep mode after a few minutes of inactivity.]]></description>
		<lastBuildDate>Thu, 23 Jan 2025 16:31:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: sleep mode after a few minutes of inactivity]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8543#p8543</link>
			<description><![CDATA[<p>Xidle has a problem when the machine wakes up, after a few seconds it goes back to sleep mode, so I found this solution with Xautolock.</p><div class="codebox"><pre><code>xidle -program &quot;/usr/bin/xtrlock&quot; -timeout 300 &amp;
xautolock -time 30 -locker &quot;/usr/bin/doas zzz&quot; -detectsleep &amp;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (gnu)]]></author>
			<pubDate>Thu, 23 Jan 2025 16:31:11 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8543#p8543</guid>
		</item>
		<item>
			<title><![CDATA[Re: sleep mode after a few minutes of inactivity]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8542#p8542</link>
			<description><![CDATA[<p>After several attempts I managed to get it working.</p><div class="codebox"><pre><code>xidle -program &quot;/usr/bin/doas zzz&quot; -timeout 7200 &amp;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (gnu)]]></author>
			<pubDate>Wed, 22 Jan 2025 19:22:50 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8542#p8542</guid>
		</item>
		<item>
			<title><![CDATA[Re: sleep mode after a few minutes of inactivity]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8541#p8541</link>
			<description><![CDATA[<p>Thank you very much, I will try it</p>]]></description>
			<author><![CDATA[null@example.com (gnu)]]></author>
			<pubDate>Wed, 22 Jan 2025 16:37:38 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8541#p8541</guid>
		</item>
		<item>
			<title><![CDATA[Re: sleep mode after a few minutes of inactivity]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8539#p8539</link>
			<description><![CDATA[<p>You can do it with xidle, doas and zzz </p><p> </p><div class="codebox"><pre><code> 
xidle -timeout 120 -program &#039;doas zzz&#039; &amp; </code></pre></div><p> </p><p> For easyness, you can place that at ~/.xinitrc, above the&nbsp; last line you would put to start the window manager, such as &#039;exec icewm-session&#039;:&nbsp; </p><div class="codebox"><pre><code> 

xidle -timeout 120 -program &#039;doas zzz&#039; &amp; 

exec icewm-session
 </code></pre></div><p>&nbsp; </p><p>You need to add yourself to the &#039;power&#039; group.</p>]]></description>
			<author><![CDATA[null@example.com (anthk)]]></author>
			<pubDate>Wed, 22 Jan 2025 14:42:28 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8539#p8539</guid>
		</item>
		<item>
			<title><![CDATA[sleep mode after a few minutes of inactivity]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8538#p8538</link>
			<description><![CDATA[<p>Is there a simple way, like a bash script or something similar, to make the computer go into sleep mode after a few minutes of inactivity?</p>]]></description>
			<author><![CDATA[null@example.com (gnu)]]></author>
			<pubDate>Wed, 22 Jan 2025 13:47:27 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8538#p8538</guid>
		</item>
	</channel>
</rss>
