Re: Sponsor for 'hotkeyd' using the input event device
- To: email@example.com
- Subject: Re: Sponsor for 'hotkeyd' using the input event device
- From: Daniele Sempione <firstname.lastname@example.org>
- Date: Mon, 31 Jul 2006 13:41:29 +0200
- Message-id: <20060731114129.GA4126@localhost.localdomain>
- In-reply-to: <20060730005124.ca942a42.madroach@localhost>
- References: <20060730005124.ca942a42.madroach@localhost>
On Sun, Jul 30, 2006 at 12:51:24AM +0200, Christopher Zimmermann wrote:
> I wrote a small daemon in perl which listens for keystrokes on
> the /dev/input/event input event devices and executes small
> commands or even complex scripts when certain keys are pressed.
> I know that there are already tools performing similar tasks like
> hotkeys. But all of them rely on X.
It seems we had the same idea :) I rfs'd too for my program (keysid
http://lists.debian.org/debian-mentors/2006/06/msg00606.html ) some weeks ago.
Since hotkeys depends on X and makes useless keyboard recognition,
I wrote keysid myself (in C), which is totally configurable and doesn't
depend on anything. It reads keystrokes from /dev/input/eventX too.
Also you can set a timeout and execute programs when you don't type
for X seconds (I use it to lock my pc). It was tested for a year by lots
of people and can be considered stable.
GPG Fingerprint: 7B1F 0815 BB7D CF35 1018 EEAB 4B97 6382 F151 402D
GPG Key [ID: 0xF151402D] available @ pgp.mit.edu
My idea of roughing it is when room service is late.