Skip to content

Instantly share code, notes, and snippets.

@antoniopicone
Forked from bonndan/.Xmodmap
Last active August 21, 2019 13:40
Show Gist options
  • Save antoniopicone/b03ab8e9fe7fbfb3a661c4b838db1793 to your computer and use it in GitHub Desktop.
Save antoniopicone/b03ab8e9fe7fbfb3a661c4b838db1793 to your computer and use it in GitHub Desktop.
xmodmap config for Italian apple keyboard under ubuntu
! clean most of the modifiers
clear control
clear mod4
clear mod1
! gt, lt
keycode 49 = less greater less greater bar brokenbar bar
keycode 94 = backslash bar backslash brokenbar
! -----------------
! left side
! ----------------
! keycode 64 is the left alt key
keycode 64 = Super_L
! key code 133 is the left command key
keycode 133 = Alt_L Meta_L
! ------------------
! right side
! -------------------
! key code 134 is the right command key
keycode 134 = ISO_Level3_Shift Multi_key
!keycode 134 = ISO_First_Group
! keycode 105 is the right ctrl key
keycode 105 = Control_R
keycode 108 = Menu
add mod4 = Super_L
add mod1 = Alt_L Meta_L
add mod1 = Alt_R Meta_R
add control = Control_L
add control = Control_R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment