evdevremapkeys
evdevremapkeys copied to clipboard
Execute shell commands
This pull request adds functionality to execute one or more shell commands, the commands are executed in their own child process by /bin/sh, the user that executes the commands can be configured.
Example configuration:
command_user: 'bob' commands: KEY_KP1: - 'echo hello' KEY_KP2: - 'echo bye'
There are many tools out there that can execute arbitrary commands based on a key sequence (even, GNOME, for all its streamlining, has this capability). I don't see any need to add that complexity here.
Yes, but they can't execute shell commands from a keypress on a specific device, like for example a usb remote control.
Seems like that's what irexec does.
http://www.lirc.org/html/irexec.html
lirc seems much more complicated to set up. Also seems possibly tied to IR Remotes.