Xkb 'usex' layout update.

master
Pierre Neidhardt 2013-06-13 19:35:49 +02:00
parent 33fc7cbbac
commit f945c2d61a
3 changed files with 43 additions and 43 deletions

View File

@ -94,7 +94,7 @@ if [ -n "$(command -v luakit)" ]; then
fi
## dwb -- Install extensions.
if [ -n "$(command -v dwb)" ]; then
if [ -n "$(command -v dwb)" ] && [ ! -f "$XDG_DATA_HOME/dwb/extensions/adblock_subscriptions" ] ; then
echo "==> dwb"
dwbem -Ni adblock_subscriptions
# dwbem -Ni youtube_html5

View File

@ -9,26 +9,26 @@
// $ setxkbmap usex
// This keyboard is based on Xorg's "us intl" with some improvements.
// TODO: direct àèù, öüä, nbsp, <>=, dead acute, swap control and Caps Lock.
// TODO: direct nbsp, <>=, swap control and Caps Lock.
// ≤ ≥ ↓ ↑ ← →
// ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━┓
// │ ~ ~ │ ! ¡ │ @ ˝ │ # ¯ │ $ £ │ % ¸ │ ^ ^ │ & ̛ │ * ˛ │ ( ˘ │ ) ° │ _ ̣ │ + ÷ ┃ ⌫ 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 ö │ [ « │ ] » ┃ ⏎ ┃
// ┃ ┃ Q Ä │ W È │ E É │ R ® │ T Þ │ Y Ü │ U Ù │ I Í │ O Ó │ P Ö │ { “ │ } ” ┃ Enter ┃
// ┃Tab ↹ ┃ q ä │ w è │ e é │ r ® │ t þ │ y ü │ u ù │ i í │ o ó │ p ö │ [ « │ ] » ┃ ⏎ ┃
// ┣━━━━━━━┻┱────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┺┓ ┃
// ┃ ┃ A Á │ S § │ D Ð │ F F │ G G │ H H │ J J │ K Œ │ L Ø │ : ° │ " ¨ │ | ¦ ┃ ┃
// ┃Maj ⇬ ┃ a á │ s ß │ d ð │ f f │ g g │ h h │ j j │ k œ │ l ø │ ; ¶ │ ' ´ │ \ ¬ ┃ ┃
// ┃ ┃ A À │ S § │ D  │ F Ê │ G Î │ H Ô │ J Û │ K Œ │ L Ø │ : ° │ " ¨ │ | ¦ ┃ ┃
// ┃Maj ⇬ ┃ a à │ s ß │ d â │ f ê │ g î │ h ô │ j û │ k œ │ l ø │ ; ¶ │ ' ´ │ \ ¬ ┃ ┃
// ┣━━━━━━━┳┹────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┲┷━━━━━┻━━━━━━┫
// ┃ ┃ > ¦ │ Z Æ │ X X │ C ¢ │ V V │ B B │ N Ñ │ M µ │ < Ç │ > ˇ │ ? ̉ ┃ ┃
// ┃Shift ⇧┃ < | │ z æ │ x x │ c © │ v v │ b b │ n ñ │ m µ │ , ç │ . ˙ │ / ¿ ┃Shift ⇧ ┃
// ┃ ┃ > ¦ │ Z Æ │ X X │ C ™ │ V V │ B B │ N Ñ │ M µ │ < Ç │ > ± │ ? ¿ ┃ ┃
// ┃Shift ⇧┃ < | │ z æ │ x x │ c © │ v v │ b b │ n ñ │ m µ │ , ç │ . ≠ │ / … ┃Shift ⇧ ┃
// ┣━━━━━━━╋━━━━━┷━┳━━━┷━━━┱─┴─────┴─────┴─────┴─────┴─────┴───┲━┷━━━━━╈━━━━━┻━┳━━━━━━━┳━━━┛
// ┃ ┃ ┃ ┃ ␣ ␣ ┃ ┃ ┃ ┃
// ┃Ctrl ┃Meta ┃Alt ┃ ␣ Space ␣ ┃AltGr ⇮┃Menu ┃Ctrl ┃
// ┗━━━━━━━┻━━━━━━━┻━━━━━━━┹───────────────────────────────────┺━━━━━━━┻━━━━━━━┻━━━━━━━┛
partial alphanumeric_keys
xkb_symbols "basic" {
@ -39,52 +39,52 @@ xkb_symbols "basic" {
key <AE01> { [ 1, exclam, onesuperior, exclamdown ] };
key <AE02> { [ 2, at, twosuperior, dead_doubleacute ] };
key <AE03> { [ 3, numbersign, threesuperior, dead_macron ] };
key <AE04> { [ 4, dollar, currency, sterling ] };
key <AE05> { [ 5, percent, EuroSign, dead_cedilla ] };
key <AE04> { [ 4, dollar, sterling, currency ] };
key <AE05> { [ 5, percent, EuroSign, cent ] };
key <AE06> { [ 6, dead_circumflex, onequarter, asciicircum ] };
key <AE07> { [ 7, ampersand, onehalf, dead_horn ] };
key <AE07> { [ 7, ampersand, onehalf, onehalf ] };
key <AE08> { [ 8, asterisk, threequarters, dead_ogonek ] };
key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] };
key <AE10> { [ 0, parenright, rightsinglequotemark, dead_abovering ] };
key <AE11> { [ minus, underscore, yen, dead_belowdot ] };
key <AE11> { [ minus, underscore, yen, 0x10022C5 ] };
key <AE12> { [ equal, plus, multiply, division ] };
key <AD01> { [ q, Q, adiaeresis, Adiaeresis ] };
key <AD02> { [ w, W, aring, Aring ] };
key <AD02> { [ w, W, egrave, Egrave ] };
key <AD03> { [ e, E, eacute, Eacute ] };
key <AD04> { [ r, R, registered, registered ] };
key <AD05> { [ t, T, thorn, THORN ] };
key <AD06> { [ y, Y, udiaeresis, Udiaeresis ] };
key <AD07> { [ u, U, uacute, Uacute ] };
key <AD07> { [ u, U, ugrave, Ugrave ] };
key <AD08> { [ i, I, iacute, Iacute ] };
key <AD09> { [ o, O, oacute, Oacute ] };
key <AD10> { [ p, P, odiaeresis, Odiaeresis ] };
key <AD11> { [ bracketleft, braceleft, guillemotleft, leftdoublequotemark ] };
key <AD12> { [ bracketright, braceright, guillemotright, rightdoublequotemark ] };
key <AC01> { [ a, A, aacute, Aacute ] };
key <AC02> { [ s, S, ssharp, section ] };
key <AC03> { [ d, D, eth, ETH ] };
key <AC04> { [ f, F, f, F ] };
key <AC05> { [ g, G, g, G ] };
key <AC06> { [ h, H, h, H ] };
key <AC07> { [ j, J, j, J ] };
key <AC08> { [ k, K, oe, OE ] };
key <AC09> { [ l, L, oslash, Ooblique ] };
key <AC10> { [ semicolon, colon, paragraph, degree ] };
key <AC11> { [ apostrophe, quotedbl, dead_acute, dead_diaeresis ] };
key <AB01> { [ z, Z, ae, AE ] };
key <AB02> { [ x, X, x, X ] };
key <AB03> { [ c, C, copyright, cent ] };
key <AB04> { [ v, V, v, V ] };
key <AB05> { [ b, B, b, B ] };
key <AB06> { [ n, N, ntilde, Ntilde ] };
key <AB07> { [ m, M, mu, mu ] };
key <AB08> { [ comma, less, ccedilla, Ccedilla ] };
key <AB09> { [ period, greater, dead_abovedot, dead_caron ] };
key <AB10> { [ slash, question, questiondown, dead_hook ] };
key <BKSL> { [ backslash, bar, notsign, brokenbar ] };
key <AC01> { [ a, A, agrave, Agrave ] };
key <AC02> { [ s, S, ssharp, section ] };
key <AC03> { [ d, D, acircumflex, Acircumflex ] };
key <AC04> { [ f, F, ecircumflex, Ecircumflex ] };
key <AC05> { [ g, G, icircumflex, Icircumflex ] };
key <AC06> { [ h, H, ocircumflex, Ocircumflex ] };
key <AC07> { [ j, J, ucircumflex, Ucircumflex ] };
key <AC08> { [ k, K, oe, OE ] };
key <AC09> { [ l, L, oslash, Ooblique ] };
key <AC10> { [ semicolon, colon, paragraph, degree ] };
key <AC11> { [ apostrophe, quotedbl, dead_acute, dead_diaeresis ] };
key <AB01> { [ z, Z, ae, AE ] };
key <AB02> { [ x, X, x, X ] };
key <AB03> { [ c, C, copyright, trademark ] };
key <AB04> { [ v, V, v, V ] };
key <AB05> { [ b, B, b, B ] };
key <AB06> { [ n, N, ntilde, Ntilde ] };
key <AB07> { [ m, M, mu, mu ] };
key <AB08> { [ comma, less, ccedilla, Ccedilla ] };
key <AB09> { [ period, greater, notequal, plusminus ] };
key <AB10> { [ slash, question, 0x1002026, questiondown ] };
key <BKSL> { [ backslash, bar, notsign, brokenbar ] };
include "level3(ralt_switch)"
};

View File

@ -15,7 +15,7 @@
numlockx on
## Keymap. Only useful on multi-user environment where users have different keymaps.
setxkbmap us intl
setxkbmap usex
xmodmap ~/.xmodmap
if [ "$OSTYPE" = "linux-gnu" ] ; then