! /etc/X11/Xmodmap
!
! global Xmodmap file -- used by both xdm and xinit (startx)

! keycode and keysym remapping should generally be used only if the X
! server does not use the XKEYBOARD extension (i.e., there is a uncommented
! line "XkbDisable" in the keyboard section of /etc/X11/XF86Config)

! PC keyboard
! keycode 22 = BackSpace
! keycode 107 = Delete

! Amiga keyboard
keycode 73 = BackSpace
keycode 78 = Delete
! needed to get an @ on Amigas with Alt_R 2
keycode 0x6C =  Alt_L           Meta_L
keycode 0x6D =  Mode_switch     Multi_key

clear Mod1
clear Mod3

add    Mod1    = Alt_L
add    Mod3    = Mode_switch

! @ with Alt_R Q as well
keycode 0x18 =  q               Q               at
! Euro Sign
keycode 0x1a = e                E               EuroSign
! ° with Alt_R 4
keycode 0x0c =  4               dollar          degree

! Macintosh (ADB) keyboard
! keycode 59 = BackSpace
! keycode 125 = Delete

! Sun keyboard
! keycode 50 = BackSpace
! keycode 73 = Delete
