Table of Contents
Listed below are the default keyboard controls. You can change them to your liking by editing the file ~/.eboxy/keys. This file contains entries consisting of the key name and action to be performed, separated by tab(s) or space(s), one entry per line. Not all actions have to be bound, and neither do all keys.
Table 3.1. Default keyboard key assignments
Key | Default function |
---|---|
Shift+Tab | Previous widget |
Tab | Next widget |
Up Arrow / Left Arrow | Previous list item |
Down Arrow / Right Arrow | Next list item |
Page Up | Previous list page |
Page Down | Next list page |
Home | First list item |
End | Last list item |
Enter | Press selected button/choose selected list item |
Backspace | Cancel (cancel user action) |
Escape | Quit |
The keyboard key names used in the keys file are as follows:
Table 3.2. Key names
Key name | Key |
---|---|
backspace | Backspace |
tab | Tab |
enter | Enter |
pause | Pause |
escape | Escape |
space | Space bar |
quote | Quote ' |
comma | Comma , |
minus | Minus - |
dot | Full stop . |
slash | Forward slash / |
0 to 9 | Number keys (not the keypad) |
semicolon | Semi-colon ; |
equals | Equals = |
leftbracket | Left bracket ( |
backslash | Backslash \ |
rightbracket | Right bracket ) |
backquote | Backquote ` |
a to z | Alphabetic keys a-z |
delete | Delete |
keypad0 to keypad9 | Keypad number keys |
keypaddot | Keypad . |
keypadslash | Keypad / |
keypadstar | Keypad * |
keypadminus | Keypad - |
keypadplus | Keypad + |
keypadenter | Keypad enter |
keypadequals | Keypad = |
uparrow | Up cursor key |
downarrow | Down cursor key |
rightarrow | Right cursor key |
leftarrow | Left cursor key |
insert | Insert |
home | Home |
end | End |
pageup | Page Up |
pagedown | Page Down |
f1 to f15 | Function keys F1-F15 |
numlock | Num Lock |
capslock | Caps Lock |
scrolllock | Scroll Lock |
rshift | Right Shift |
lshift | Left Shift |
rctrl | Right Control |
lctrl | Left Control |
ralt | Right Alt |
lalt | Left Alt |
lwin | Left Windows key |
rwin | Right Windows key |
menu | Context menu key |
printscreen | Print Screen |
In addition, you can use the following modifier key prefixes:
Table 3.3. Key modifiers
Modifier name | Modifier key |
---|---|
lshift | Left Shift |
rshift | Right Shift |
shift | Shift (left or right) |
lctrl | Left Ctrl |
rctrl | Right Ctrl |
ctrl | Ctrl (left or right) |
lalt | Left Alt |
ralt | Right Alt |
alt | Alt (left or right) |
To use these modifiers, just prefix your keys with one or more of them, separating keys and modifiers with plus signs, eg.:
alt+x exit shift+ctrl+enter accept
Note: when entering text in a textfield widget, eboxy will pass through normal letter, number and punctuation keys as normal. If you don't want this to happen (ie, you want to remap the keyboard completely) you will need to pass the --nokeypassthrough command line option to eboxy when you run it.
Joystick events are handled in the same way as key presses. The following "key names" are used for joystick events (the bracketed button names only apply to some joysticks and gamepads, yours may be different):
Table 3.4. Joystick key names
Key name | Joystick event |
---|---|
joystickbutton1 | Joystick Button 1 (A) |
joystickbutton2 | Joystick Button 2 (B) |
joystickbutton3 | Joystick Button 3 (X) |
joystickbutton4 | Joystick Button 4 (Y) |
joystickbutton5 | Joystick Button 5 (left trigger) |
joystickbutton6 | Joystick Button 6 (right trigger) |
joystickbutton7 | Joystick Button 7 |
joystickbutton8 | Joystick Button 8 |
joystickbutton9 | Joystick Button 9 |
joystickup | Joystick Up |
joystickdown | Joystick Down |
joystickleft | Joystick Left |
joystickright | Joystick Right |
joystickhatup | Joystick Hat Up |
joystickhatdown | Joystick Hat Down |
joystickhatleft | Joystick Hat Left |
joystickhatright | Joystick Hat Right |