[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sponsor for 'hotkeyd' using the input event device



On Sun, Jul 30, 2006 at 12:51:24AM +0200, Christopher Zimmermann wrote:
> Hi!
> 
> I wrote a small daemon in perl which listens for keystrokes on
> the /dev/input/event[0123] 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://scrows.inscatolati.net/deb/keysid-1.0.stuff.tar
http://keysid.sourceforge.net/?s=2
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.

Cheers,
Daniele

-- 
  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.



Reply to: