No need to grow plants in old keyboards anymore.
UMacro is cli tool to use a keyboard as macro keyboard.
- Execute script
- Execute a single command
- Type string
- Send keystroke
- Copy to clipboard (selected text)
- Paste
- Terminal paste
wget -q -O - https://raw.githubusercontent.com/dhsathiya/umacro/master/setup.sh | sudo bash
- Run following command:
sudo umacro
- Select the device from the list.
sudo umacro terminate
sudo umacro check-key
Configuration file: /etc/umacro/umacro_conf.yml
KEY_CODE: "FUNCTION 'ARGUMENT'"
-
execute_shell
- Executes a bash script.
-
execute
- Executes a command.
-
typeto
- Types string.
-
keystroke
- Sends keystroke.
- Multiple keys can be combined with
+
.
-
copy_to_clipboard
- Store the selected element to a hotkey. Which later can be used by clicking the hotkey again and then paste.
- Currently only supports standard numeric keys(top 1-0 keys).
-
paste
- Simple paste: ctrl + v
-
term_paste
- Paste for terminal: ctrl + shift + v
xdotool for better support on special characters. Also works without it.
- Fix dirty code.
- Multiple keyboard/input-device support.
- Add keyboard modes.
- Multi-key shortcut support. There's a long list...