Skip to content

Instantly share code, notes, and snippets.

@ecelis
Created January 11, 2025 19:10
Show Gist options
  • Save ecelis/dc49fc99129e87ee549d794b537defd8 to your computer and use it in GitHub Desktop.
Save ecelis/dc49fc99129e87ee549d794b537defd8 to your computer and use it in GitHub Desktop.
Disable left CTRL and ALT keys for HP Pavillion dv5
# it will work only in systems with X11/X.org
# put this file in /etc/X11/Xmodmap
# If it is not loadaded at boot X init, you can load it manually
# xmodmap /etc/X11/Xmodmap
keycode 37 =
keycode 64 =
keycode 133 = Alt_L
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment