Skip to content

KEY COMMAND

Octavio Alvarez edited this page Aug 29, 2013 · 2 revisions

Syntax

KEY COMMAND key mask command icon [feedback]

Description

Binds a key with an arbitrary command.

Parameters

key
Sets the key to use. Not all keys work at this moment, but letters and function keys (as in "F1" should work.
mask
Is reserved for future use; just put a 0 in there.
command
Is the command to run (don't forget the double quotes if needed)
icon
Is the ABSOLUTE location to the icon file to show on the keyboard.
feedback
This optional string should appear with the line to be appended to the FEEDBACK_HANDLER. For example, if the FEEDBACK_HANDLER is 'xmessage -timeout 2 -center Launching ', the "feedback" string should be set to something like "gedit", so it shows "Launching gedit" on the screen. Note that omiting the "feedback" string disables the feedback for that KEY.
Clone this wiki locally