<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de-AT">
		<id>http://old.ethersex.de/index.php?action=history&amp;feed=atom&amp;title=SinAc</id>
		<title>SinAc - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="http://old.ethersex.de/index.php?action=history&amp;feed=atom&amp;title=SinAc"/>
		<link rel="alternate" type="text/html" href="http://old.ethersex.de/index.php?title=SinAc&amp;action=history"/>
		<updated>2026-04-18T10:52:07Z</updated>
		<subtitle>Versionsgeschichte dieser Seite in Ethersex_Wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://old.ethersex.de/index.php?title=SinAc&amp;diff=428&amp;oldid=prev</id>
		<title>Stettberger: Die Seite wurde neu angelegt: ==  Sinac ==  Sinac ( simple inactive ) is an little tool to monitor the inactive time of you Xsession. So you can easily implement your own autolock feature, e.g with ...</title>
		<link rel="alternate" type="text/html" href="http://old.ethersex.de/index.php?title=SinAc&amp;diff=428&amp;oldid=prev"/>
				<updated>2009-03-28T12:23:45Z</updated>
		
		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: ==  Sinac ==  Sinac ( simple inactive ) is an little tool to monitor the inactive time of you Xsession. So you can easily implement your own autolock feature, e.g with ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==  Sinac ==&lt;br /&gt;
&lt;br /&gt;
Sinac ( simple inactive ) is an little tool to monitor the inactive time of you Xsession. So you can easily implement your own autolock feature, e.g with [http://tools.suckless.org/slock slock].&lt;br /&gt;
&lt;br /&gt;
=== OPTIONS ===&lt;br /&gt;
&lt;br /&gt;
* -p: print out the actual inactivity in seconds&lt;br /&gt;
* -w &amp;amp;lt;seconds&amp;amp;gt;: wait until the inactivity timer has reached an specific value and the exit if watching is enabled (see SIGNAL for details on toggle watching )&lt;br /&gt;
&lt;br /&gt;
=== SIGNAL ===&lt;br /&gt;
* SIGUSR1: Enables watching the inactivity timer.&lt;br /&gt;
* SIGUSR2: Disables watching the inactivity timer. When watching is disabled sinac won't exit, even when the inactivity timer has reached the specified value.&lt;br /&gt;
&lt;br /&gt;
If watching is enabled or disabled you can see in the process list. (&amp;amp;quot;en&amp;amp;quot; for enabled and &amp;amp;quot;di&amp;amp;quot; for disabled )&lt;br /&gt;
&lt;br /&gt;
An simple autolocker would be:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;while true; do sinac -w 300 &amp;amp;amp;&amp;amp;amp; slock; done &amp;amp;amp;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can download the source from [http://dokucode.de/snippets/sinac.c here], build instructions are located in the source file.&lt;br /&gt;
&lt;br /&gt;
[[Category:Snippet]]&lt;/div&gt;</summary>
		<author><name>Stettberger</name></author>	</entry>

	</feed>