Linux Keyboard Software

By Xah Lee. Date: .

Hawck

new around 2019.

https://github.com/snyball/Hawck

HAWCK 2024-06-10
HAWCK 2024-06-10

KMonad

new around 2019.

https://github.com/kmonad/kmonad

KMonad lets you map any keyboard button to any keymap. Want to swap the useless Caps Lock key with the Escape key? Want to have your modifiers such as Shift and Control on your home row, without breaking your normal typing flow? Want a modifier that is combination of Alt + Ctrl + Super + Shift?

KMonad 2024-06-10 GcPM9
KMonad 2024-06-10 GcPM9
Kmonad chen xu 2023-03-09
Kmonad chen xu 2023-03-09

xkeysnail

new around 2015.

xkeysnail is yet another keyboard remapping tool for X environment written in Python. It's like xmodmap but allows more flexible remappings.

Has high-level and flexible remapping mechanisms, such as

Runs in low-level layer (evdev and uinput), making remapping work in almost all the places

xkeysnail 2024-06-10 DCx8
xkeysnail 2024-06-10 DCx8

keyd

new around 2021.

keyd 2024-06-10 tb7J
keyd 2024-06-10 tb7J

kanata

new around 2022.

https://github.com/jtroo/kanata

kanata 2024-06-10 jYsP
kanata 2024-06-10 jYsP

ydotool

new around 2018.

“Generic Linux command-line automation tool (no X!)”

https://github.com/ReimuNotMoe/ydotool

ydotool 2024-06-10 wdvp
ydotool 2024-06-10 wdvp

Classic Linux Keyboard Software (Year 2000s)

xbindkeys

If your desktop doesn't have a graphical user interface settings app to bind a key to launch a script, then you can use xbindkeys.

wmctrl for Switch Windows

wmctrl is a command line tool to {switch, close, move, resize, set title, list, …} windows.

xvkbd for Sending Keychords

xvkbd is a virtual keyboard for X window system. It is useful as a shell command to send keys.

Linux: Control Sound Level by Command Line

xdotool

xdotool. «programatically simulate keyboard input and mouse activity. It does this using X11's XTEST extension and other Xlib functions.»

(note: i tried xdotool under Ubuntu/xfce. Doesn't work in my first 30 min of looking into it.)

#Install xdotool
 sudo apt-get install xdotool

Example. Send Ctrl+w to close tab.

xdotool key --delay 40 Control_L+w

Example. Click on upper left corner, (90, 10) pixels.

xdotool mousemove 90 10 click 1

AutoKey

AutoKey

(2021-02-16 note: i haven't used AutoKey.)

xcape (Space Bar as Dual Key)

2015-09-27 https://github.com/alols/xcape

Linux tool to configure modifier keys to act as other keys when pressed and released on their own.

IMWheel (Customize Mouse Wheel)

https://wiki.archlinux.org/index.php/IMWheel

IMWheel let you set mouse wheel behavior.

xkb