On Sunday 30 July 2006 01:51, Christopher Zimmermann wrote: > Hi! 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. My script will work even without a > xserver running. The downside of this approach is that you cannot use > the daemon to start programs like your browser, mail client and such. > A thing I'm not so sure about is the way I use the input.h kernel > header. Is this a clean approach? If you include /usr/include/linux/input.h from the linux-kernel-headers package and not from the linux kernel source directory, then I think it is fine. But do in mind that your package will not run on Hurd or *BSD, so it will not be architecture all (if you declared it that way, I haven't checked that, though). > I debianized this script and wrote some documentation for it. I believe > the archieve of 21kb is not too big, so I just attach it to the mail. > Please don't rip my head off for it! > > Now I'm looking for a sponsor to include this package in debian. I hope you will find a sponsor. -- pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu> fingerprint 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]