!! .Xmodmap by Eugene Reimer 2006 !! This .Xmodmap makes Left Windows-key into Mode_switch mod3 modifier; Menu-key into Compose==Multi_key; !! originally had Right Windows-key be the Meta mod4 modifier, but have yanked that; !! !! to execute this file after modifying run: xmodmap ~/.Xmodmap; !! however naming it ~/.Xmodmap will get it auto-executed on X startup (some distributions use the name .xmodmaprc, others use Xmodmap without the dot); !! for examples, google for "xmodmap" !! to display the current keyboard-table: xmodmap -pm -pke !! to see the set of names: less /usr/X11R6/include/X11/keysymdef.h (mentally stripping off the XK_ prefix) !! !! 2007-03: my original .Xmodmap prevented Ctrl+Alt+F1 etc keystrokes from working as wanted; !! yanking keycode 116 and mod4 lines fixed this; I'm not clear on what's needed but can live without those... !! keycode 115 = Mode_switch !!keycode 116 = Meta_R keycode 117 = Multi_key Menu clear mod3 add mod3 = Mode_switch !!clear mod4 !!add mod4 = Meta_R !! -- now use Mode_switch to create Umlauted-vowels, Sharp-s, Copyright, Cent, Degree... and dead-keys for other common accents; !! -- note: EuroSign, caron, macron are not in 8859-1; Euro needs 8859-15 or cp1252 or utf8; caron needs 8859-2 or utf8; macron needs 8859-4 or utf8; !! -- (macron is the bar-above diacritic-mark frequently used to indicate "long" vowel sound) keysym A = a A adiaeresis Adiaeresis keysym O = o O odiaeresis Odiaeresis keysym U = u U udiaeresis Udiaeresis keysym I = i I idiaeresis Idiaeresis keysym Y = y Y ydiaeresis Ydiaeresis keysym S = s S ssharp section keysym C = c C copyright cent keysym D = d D degree eth keysym T = t T multiply thorn keysym P = p P paragraph paragraph keysym L = l L sterling sterling !!ysym L = l L Lstroke Lstroke keysym M = m M mu mu keysym N = n N ntilde Ntilde keysym grave = grave asciitilde dead_grave dead_tilde keysym 1 = 1 exclam onequarter onesuperior keysym 2 = 2 at onehalf twosuperior keysym 3 = 3 numbersign threequarters threesuperior keysym 4 = 4 dollar EuroSign yen keysym 5 = 5 percent currency cent keysym 6 = 6 asciicircum dead_circumflex dead_circumflex keysym 8 = 8 asterisk multiply multiply keysym minus = minus underscore dead_macron dead_macron keysym equal = equal plus plusminus plusminus keysym semicolon = semicolon colon dead_diaeresis keysym apostrophe = apostrophe quotedbl dead_acute keysym comma = comma less dead_cedilla dead_caron keysym period = period greater periodcentered keysym slash = slash question division keysym space = space space nobreakspace nobreakspace