first commit
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
This is a modified keymap for X11 which I prefer to use on my systems.
|
||||
|
||||
It's a US-based layout with some special characters available on the
|
||||
<Alt>-key on the right side of the space bar (RAlt).
|
||||
|
||||
Most charachter are available by holding <RAlt> while typing another
|
||||
key. E.g. <RAlt>+<a> will give you the german umlaut ä.
|
||||
|
||||
Deadkey-combinations are available too for creating accented
|
||||
characters: Hold <RAlt> and type <,>. Now release <RAlt> and type
|
||||
the char you want to get accented.
|
||||
|
||||
Overview:
|
||||
1) German umlauts, ß and Euro-sign:
|
||||
RAlt + A, O, U ==> Ä, Ö, Ü
|
||||
RAlt + s ==> ß
|
||||
RAlt + e ==> €
|
||||
|
||||
2) Some technical stuff:
|
||||
RAlt + m ==> µ
|
||||
RAlt + 2, 3 ==> ², ³
|
||||
|
||||
3) Dead keys for creating accented chars:
|
||||
RAlt + , + ... ==> ¸, ç, ȩ, ţ, ḑ, ...
|
||||
RAlt + . + ... ==> ˙, ȧ, ė, ṫ, ḋ, ...
|
||||
RAlt + ` + ... ==> à, è, ì, ò, ù, ...
|
||||
RAlt + ' + ... ==> á, é, í, ó, ú, ...
|
||||
RAlt + ; + ... ==> ą, ę, į, ǫ, ų, ...
|
||||
|
||||
|
||||
To use this keymap, either copy the file 'us'
|
||||
to '/usr/share/X11/xkb/symbols/us' or apply the supplied patch:
|
||||
|
||||
# cd /usr/share/X11/xkb/symbols
|
||||
# patch < ~/your-keymap-dir/us.diff
|
||||
|
||||
|
||||
Activate the keymap with setxkbmap:
|
||||
|
||||
$ setxkbmap us dev-intl
|
||||
|
||||
|
||||
Please make a copy of your original files before you replace
|
||||
or modify anything!
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
--- us.org 2011-07-21 11:13:23.000000000 +0200
|
||||
+++ us 2011-07-21 11:11:30.000000000 +0200
|
||||
@@ -188,6 +188,40 @@
|
||||
include "level3(ralt_switch)"
|
||||
};
|
||||
|
||||
+partial alphanumeric_keys
|
||||
+xkb_symbols "dev-intl" {
|
||||
+ name[Group1]= "USA - Alternative international for developers";
|
||||
+ include "us"
|
||||
+ include "ctrl(nocaps)"
|
||||
+
|
||||
+ key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] };
|
||||
+ key <AE02> { [ 2, at, twosuperior, twosuperior ] };
|
||||
+ key <AE03> { [ 3, numbersign, threesuperior, threesuperior ] };
|
||||
+ key <AE05> { [ 5, percent, EuroSign ] };
|
||||
+ key <AE06> { [ 6, asciicircum, dead_circumflex, dead_circumflex ] };
|
||||
+ key <AE08> { [ 8, asterisk, degree ] };
|
||||
+ key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] };
|
||||
+ key <AE10> { [ 0, parenright, rightsinglequotemark, dead_abovering ] };
|
||||
+ key <AE11> { [ minus, underscore, dead_macron, dead_belowdot ] };
|
||||
+ key <AE12> { [ equal, plus, dead_doubleacute, dead_horn ] };
|
||||
+
|
||||
+ key <AD03> { [ e, E, EuroSign, cent ] };
|
||||
+ key <AD07> { [ u, U, udiaeresis, Udiaeresis ] };
|
||||
+ key <AD09> { [ o, O, odiaeresis, Odiaeresis ] };
|
||||
+
|
||||
+ key <AC01> { [ a, A, adiaeresis, Adiaeresis ] };
|
||||
+ key <AC02> { [ s, S, ssharp, S ] };
|
||||
+ key <AC10> { [ semicolon, colon, dead_ogonek, dead_diaeresis ] };
|
||||
+ key <AC11> { [ apostrophe, quotedbl, dead_acute, dead_diaeresis ] };
|
||||
+
|
||||
+ key <AB07> { [ m, M, mu, mu ] };
|
||||
+ key <AB08> { [ comma, less, dead_cedilla, dead_caron ] };
|
||||
+ key <AB09> { [ period, greater, dead_abovedot, dead_circumflex ] };
|
||||
+ key <AB10> { [ slash, question, dead_hook, dead_hook ] };
|
||||
+
|
||||
+ include "level3(ralt_switch)"
|
||||
+};
|
||||
+
|
||||
// based on a keyboard map from an 'xkb/symbols/dk' file
|
||||
//
|
||||
// $XFree86: xc/programs/xkbcomp/symbols/dvorak,v 1.5 2004/01/03 16:35:07 herrb Exp $
|
||||
Reference in New Issue
Block a user