Created
March 18, 2014 21:21
-
-
Save bonndan/9629950 to your computer and use it in GitHub Desktop.
xmodmap config for apple keyboard under ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! clean most of the modifiers | |
clear control | |
clear mod4 | |
clear mod1 | |
! gt, lt | |
keycode 49 = less greater less greater bar brokenbar bar | |
keycode 94 = dead_circumflex degree dead_circumflex degree U2032 U2033 U2032 | |
! ----------------- | |
! 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
Thank you for posting this! Very helpful 👍
With my Apple Wired Keyboard with Numeric Keypad running Ubuntu 16.04 I had to comment out the section for
gt
andlt
characters (lines 7 and 8) in order to use the backtick /~
key.