[00:45] <ndimatteo> anyone able to assist in writing an upstart job for forever.js?
[14:39] <karolyi> hi, is there a way to configure keyboard to emit upstart events on pressing some special key combinations?
[17:18] <SpamapS> karolyi: if you can get the kernel to notify a userspace daemon, it can emit events
[17:21] <karolyi> SpamapS: yes, but the question is, how
[17:21] <karolyi> i've been goggling around for half a day now
[17:21] <karolyi> *googling
[18:23] <stgraber> karolyi: the easiest way would be to patch some of the keyboard handling code in the kernel to emit a uevent when the specific key combination is done, you could then have upstart trigger on that uevent with the existing udev bridge
[18:25] <karolyi> stgraber: so, i guess i can't do that without actual patching
[18:25] <stgraber> right
[18:26] <stgraber> depending on the kind of keyboard, you may be able to eavesdrop through the /dev/input devices, but I'm not sure if that works and if it does, I doubt it's going to be particularly reliable
[18:27] <karolyi> actually i'm not allowed to patch the kernel here, we should stick to the supplied ubuntu kernel version :)
[18:28] <karolyi> however, this was my idea too, i just didn't knew that this can't be achieved now with the stock kernel
[18:30] <stgraber> well, it's not something we need in the distro and having that kind of thing in the kernel and I guess people don't want to make it too simple to implement a key logger ;)
[18:36] <karolyi> stgraber: you're right, but my target is now to achieve a volume controller by the multimedia keys, behind the X server, because my windowmanager steals the focus if i set the controller script to the appropriate keys