Xkb: usex minor change in math symbol placement

master
Pierre Neidhardt 2013-11-26 19:15:26 +01:00
parent 7187f0362a
commit fb179d908a
2 changed files with 16 additions and 11 deletions

View File

@ -1,18 +1,23 @@
//------------------------------------------------------------------------------
// XKB Custom us keyboard
// 2013-09-15
//------------------------------------------------------------------------------
// Description: This keyboard layout is based on Xorg's "us intl". We set Caps
// Lock to act as Left Control.
// Installation: copy this file to '/usr/{local/,}share/X11/xkb/symbols'. You
// can use it by selecting the "usex" layout from Xorg configuration file, or by
// using the following command:
// $ setxkbmap usex
// This keyboard layout is based on Xorg's "us intl".
// We set Caps Lock to act as Left Control
//
// It is also possible to generate an xmodmap-compatible keymap with
// $ xmodmap -pke >> ~/.xmodmap_usex
// ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━┓
// │ ~ ~ │ ! ¡ │ @ ˝ │ # ¯ │ $ ¤ │ % ¢ │ ^ ^ │ & ¼ │ * ˛ │ ( ˘ │ ) ± │ _ ⋅ │ + × ┃ ⌫ Back ┃
// │ ` ` │ 1 ¹ │ 2 ² │ 3 ³ │ 4 £ │ 5 € │ 6 ¥ │ 7 ½ │ 8 ¾ │ 9 │ 0 │ - ÷ │ = ≠ ┃ space ┃
// │ ~ ~ │ ! ¡ │ @ ˝ │ # ¯ │ $ ¤ │ % ¢ │ ^ ^ │ & ¼ │ * ˛ │ ( ˘ │ ) ÷ │ _ × │ + ± ┃ ⌫ Back ┃
// │ ` ` │ 1 ¹ │ 2 ² │ 3 ³ │ 4 £ │ 5 € │ 6 ¥ │ 7 ½ │ 8 ¾ │ 9 │ 0 │ - │ = ≠ ┃ space ┃
// ┢━━━━━┷━┱───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┺━┳━━━━━━━┫
// ┃ ┃ Q À │ W È │ E É │ R ® │ T ™ │ Y Ù │ U Ú │ I Í │ O Ó │ P Å │ { “ │ } ” ┃ Enter ┃
// ┃Tab ↹ ┃ q à │ w è │ e é │ r ® │ t © │ y ù │ u ú │ i í │ o ó │ p å │ [ « │ ] » ┃ ⏎ ┃
@ -43,9 +48,9 @@ xkb_symbols "basic" {
key <AE07> { [ 7, ampersand, onehalf, onequarter ] };
key <AE08> { [ 8, asterisk, threequarters, dead_ogonek ] };
key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] };
key <AE10> { [ 0, parenright, rightsinglequotemark, plusminus ] };
key <AE11> { [ minus, underscore, division, 0x10022C5 ] };
key <AE12> { [ equal, plus, notequal, multiply ] };
key <AE10> { [ 0, parenright, rightsinglequotemark, division ] };
key <AE11> { [ minus, underscore, 0x10022C5, multiply ] };
key <AE12> { [ equal, plus, notequal, plusminus ] };
key <AD01> { [ q, Q, agrave, Agrave ] };
key <AD02> { [ w, W, egrave, Egrave ] };

View File

@ -9,9 +9,9 @@ keycode 15 = 6 asciicircum 6 asciicircum yen dead_circumflex yen
keycode 16 = 7 ampersand 7 ampersand onehalf onequarter onehalf
keycode 17 = 8 asterisk 8 asterisk threequarters dead_ogonek threequarters
keycode 18 = 9 parenleft 9 parenleft leftsinglequotemark dead_breve leftsinglequotemark
keycode 19 = 0 parenright 0 parenright rightsinglequotemark plusminus rightsinglequotemark
keycode 20 = minus underscore minus underscore division U22C5 division
keycode 21 = equal plus equal plus notequal multiply notequal
keycode 19 = 0 parenright 0 parenright rightsinglequotemark division rightsinglequotemark
keycode 20 = minus underscore minus underscore U22C5 multiply U22C5
keycode 21 = equal plus equal plus notequal plusminus notequal
keycode 22 = BackSpace BackSpace BackSpace BackSpace
keycode 23 = Tab ISO_Left_Tab Tab ISO_Left_Tab
keycode 24 = q Q q Q agrave Agrave agrave