Simple Linux X11 temporary key remapper with tray icon and hotkey toggling.
-
Write a hotkey file following the robohotkey file syntax.
Check
sample.rbk
to see an example. -
Run
robohotkey hotkey_file.rbk
-
Optionally, add the robohotkey mime type.
Copy
robohotkey.xml
into~/.local/share/mime/application/
Run
update-mime-database ~/.local/share/mime
To define a hotkey use the following syntax:
input_keyname -> output_keyname
Check Keys List or run xmodmap -pke
for a list of all keycodes and keynames.
Example:
Scroll_Lock -> Alt_L
To define multiple hotkeys they must be newline separated.
input_keyname -> output_keyname
input_keyname2 -> output_keyname2
Use //
at the start of a line to comment that line out.
Python 3: Download link
Python pystray
and pillow
modules: To install then, enter the following command in cmd or a terminal:
pip install pystray pillow