! xmodmap for the dead keys stolen from Colemak layout.

clear lock
add lock = XF86Calculator
add lock = Menu

clear control
!! left ctrl as compose key
!keysym Control_L = Multi_key Multi_key
!keycode 37 = Multi_key Multi_key

!keysym Control_L = Mode_switch   Mode_switch
keycode 37 = Mode_switch   Mode_switch

add control = Caps_Lock
add control = Control_R

!! right win key as second modifier
!keysym Super_R = Mode_switch   Mode_switch

!! the split shift key
!keycode 94 = Shift_L Shift_L Shift_L Shift_L
keycode  94 = Shift_L ISO_Prev_Group Shift_L ISO_Prev_Group
!add shift = Shift_L

!! menu key
!keysym Menu = backslash bar grave asciitilde

keysym    Up =           Up      NoSymbol          uparrow      intersection
keysym  Left =         Left      NoSymbol        leftarrow          ifonlyif
keysym Right =        Right      NoSymbol       rightarrow           implies
keysym  Down =         Down      NoSymbol        downarrow             union

keycode  49 =        grave    asciitilde       dead_tilde         trademark
keycode  10 =            1        exclam       exclamdown       onesuperior
keycode  11 =            2            at        masculine       twosuperior
keycode  12 =            3    numbersign      ordfeminine     threesuperior
keycode  13 =            4        dollar             cent          sterling
keycode  14 =            5       percent         EuroSign               yen
keycode  15 =            6   asciicircum          hstroke           Hstroke
keycode  16 =            7     ampersand              eth               ETH
keycode  17 =            8      asterisk            thorn             THORN
keycode  18 =            9     parenleft   leftsinglequotemark   leftdoublequotemark
keycode  19 =            0    parenright  rightsinglequotemark   rightdoublequotemark
keycode  20 =        minus    underscore           endash            emdash
keycode  21 =        equal          plus         multiply          division
keycode  51 =    backslash            bar        notequal       approximate

keycode  24 =            q             Q       adiaeresis        Adiaeresis
keycode  25 =            w             W           ecaron            Ecaron
keycode  26 =            e             E           eacute            Eacute
keycode  27 =            r             R           rcaron            Rcaron
keycode  28 =            t             T       dead_acute  dead_doubleacute
!keycode 29 =            y             Y       udiaeresis        Udiaeresis
keycode  29 =            y             Y           yacute            Yacute
keycode  30 =            u             U           uacute            Uacute
keycode  31 =            i             I           iacute            Iacute
keycode  32 =            o             O           oacute            Oacute
keycode  33 =            p             P           oslash          Ooblique
keycode  34 =  bracketleft     braceleft      bracketleft             U2200
keycode  35 = bracketright    braceright     bracketright             U2203
!keycode  36 = Return NoSymbol Return
!keycode  37 = Control_L NoSymbol Control_L

keycode  38 =            a             A           aacute            Aacute
keycode  39 =            s             S           scaron            Scaron
keycode  40 =            d             D   dead_diaeresis            degree
keycode  41 =            f             F           atilde            Atilde
keycode  42 =            g             G      dead_ogonek          infinity
keycode  43 =            h             H       dead_caron         copyright
keycode  44 =            j             J          dstroke           Dstroke
keycode  45 =            k             K   dead_abovering        asciitilde
keycode  46 =            l             L          lstroke           Lstroke
!keycode 47 =    semicolon         colon       odiaeresis        Odiaeresis
keycode  47 =    semicolon         colon            uring             Uring
keycode  48 =   apostrophe      quotedbl            grave doublelowquotemark
!keycode  48 =   apostrophe      quotedbl           ssharp        registered

keycode  52 =            z             Z           zcaron            Zcaron
keycode  53 =            x             X  dead_circumflex        asciitilde
keycode  54 =            c             C           ccaron            Ccaron
keycode  55 =            v             V       dead_grave        registered
keycode  56 =            b             B       dead_breve        asciitilde
keycode  57 =            n             N           ncaron            Ncaron
keycode  58 =            m             M      dead_macron                mu
keycode  59 =        comma          less     dead_cedilla     lessthanequal
keycode  60 =       period       greater    dead_abovedot  greaterthanequal
keycode  61 =        slash      question     questiondown        asciitilde