speckeyd - X11 Special Key Daemon
This is useful for emergency actions such as running a new window manager or logging out when a certain combination is pressed or as a more generic replacement for the functionality provided by the Solaris 2.4+ program speckeyd.
Usage: xspeckeyd [-display display] key action key2 action2 ...
where each key is a keysym name, optionally preceeded by
modifiers of the form Shift- (or s),
Meta- (or m) or Control- (or c)
and each action is a string
passed to /bin/sh or one of the builtin actions.
The builtin actions are:
Typical use:
xspeckeyd -display :0 m-s-c-F1 :quit \
SunPowerSwitch 'sys-suspend&' \
m-SunPowerSwitch '/etc/pm/pmd -h' \
m-s-c-F3 'xterm&'
Which exits on meta-shift-control-F1, Does a suspend on
SunPowerSwitch, Hibernates on meta-SunPowerSwitch and so on.
The Following Sun/Solaris keydefs are builtin: