From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Gat7P-0000io-Cg for garchives@archives.gentoo.org; Fri, 20 Oct 2006 12:04:55 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9KC1idZ001362; Fri, 20 Oct 2006 12:01:44 GMT Received: from slimak.dkm.cz (slimak.dkm.cz [62.24.64.34]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9KBwuFC019690 for ; Fri, 20 Oct 2006 11:58:57 GMT Received: (qmail 67128 invoked by uid 0); 20 Oct 2006 11:58:54 -0000 Received: from unknown (HELO quashnosh.dyndns.org) (62.24.71.46) by slimak.dkm.cz with SMTP; 20 Oct 2006 11:58:54 -0000 Received: by quashnosh.dyndns.org (Postfix, from userid 1000) id 9DED63F21B; Fri, 20 Oct 2006 13:58:53 +0200 (CEST) Date: Fri, 20 Oct 2006 13:58:53 +0200 From: Robert Svoboda To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Run script when X is idle for some time? Message-ID: <20061020115853.GA21621@ivanka.svobodovi> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: X-Organization: http://onyon.net/ User-Agent: Mutt/1.5.13 (2006-08-11) X-Archives-Salt: 0b08589a-e529-4bce-915b-621facf559cf X-Archives-Hash: c88ae4d040c020a4cf6c339aa1f17c66 * Qiangning Hong [2006-10-19 20:07]: > I'd like to run a script after X is idle for some time (e.g. 5 > minute), just like what gaim do (it set my status to "away" if I > haven't touch anything for some time). How can I do? FYI, I have > some Shell/C/Python programming skill. It's been a long time I tried this, but I remember that there is program called xautolock which can be used to do what you want. Particularly its -notifier option. HTH -- Robert Svoboda -- gentoo-user@gentoo.org mailing list