Skip to content

Instantly share code, notes, and snippets.

@HateFindingNames
Created March 7, 2025 16:44
Show Gist options
  • Select an option

  • Save HateFindingNames/2002f43dc7560791f594b1e7cdaa0873 to your computer and use it in GitHub Desktop.

Select an option

Save HateFindingNames/2002f43dc7560791f594b1e7cdaa0873 to your computer and use it in GitHub Desktop.
``keyd`` - Linux keyboard remapping tool

Installing and configuring keyd - Keyboard remapping tool

Installation

From the GitHub repo:

git clone -b v2.5.0 https://github.com/rvaiya/keyd
cd keyd
make && sudo make install
sudo systemctl enable --now keyd

Cloning latest stable - v.2.5.0 as of writing.

Inverting Fn-Key for Media buttons

[ids]

*

[main]

# Remaps the escape key to capslock
pause = volumeup
scrolllock = volumedown
sysrq = mute

f12 = nextsong
f11 = previoussong
f10 = stopcd
f9 = playpause

# =============

volumeup = pause
volumedown = scrolllock
mute = sysrq

nextsong = f12
previoussong = f11
stopcd = f10
playpause = f9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment