Skip to content

Instantly share code, notes, and snippets.

@sparr
Created September 19, 2024 16:30
Show Gist options
  • Save sparr/7a45fc7cc4f2e01e6ed4a0cde10856ab to your computer and use it in GitHub Desktop.
Save sparr/7a45fc7cc4f2e01e6ed4a0cde10856ab to your computer and use it in GitHub Desktop.
xmodmap config to remap unused special keys on Lenovo E15 to audio control
! Remap unused special keys on Lenovo E15 to audio control
! Fn+F9, message box icon, originally XF86Messenger
keycode 224 = XF86AudioPrev NoSymbol XF86AudioPrev
! Fn+F10, phone handset upright icon, originally XF86Go
keycode 226 = XF86AudioPlay NoSymbol XF86AudioPlay
! Fn+F11, phone handset face down icon, originally Cancel
keycode 231 = XF86AudioStop NoSymbol XF86AudioStop
! Fn+F12, star icon, originally XF86Favorites
keycode 164 = XF86AudioNext NoSymbol XF86AudioNext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment