Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
US/ronj xkb keyboard layout
sudo nano /usr/share/X11/xkb/symbols/us && sudo nano /usr/share/X11/xkb/rules/evdev.xml && sudo nano /usr/share/X11/xkb/rules/evdev.lst && setxkbmap -layout us -variant ronj
// ====================== /usr/share/X11/xkb/symbols/us ==========================
// us-ronj modifs
partial alphanumeric_keys
xkb_symbols "ronj" {
name[Group1]= "USA - ronj";
include "us(basic)"
// Alphanumeric section
key <AE01> { [ 1, exclam, U00A1, U00A1 ] };
key <AE09> { [ 9, parenleft, U1F604 , U1F604 ] };
key <AE10> { [ 0, parenright, U1F642 , U1F642 ] };
key <AE11> { [ minus, underscore, U2013, U2014 ] };
key <AE12> { [ equal, plus, U2260, U2260 ] };
key <AD01> { [ q, Q, acircumflex, Acircumflex ] };
key <AD02> { [ w, W, egrave, Egrave ] };
key <AD03> { [ e, E, eacute, Eacute ] };
key <AD04> { [ r, R, ecircumflex, Ecircumflex ] };
key <AD05> { [ t, T, EuroSign, EuroSign ] };
key <AD06> { [ y, Y, ugrave, Ugrave ] };
key <AD07> { [ u, U, ucircumflex, Ucircumflex ] };
key <AD08> { [ i, I, icircumflex, Icircumflex ] };
key <AD09> { [ o, O, ocircumflex, Ocircumflex ] };
key <AC01> { [ a, A, agrave, Agrave ] };
key <AC02> { [ s, S, adiaeresis, Adiaeresis ] };
key <AC03> { [ d, D, ediaeresis, Ediaeresis ] };
key <AC04> { [ f, F, U2192, U2192 ] };
key <AC05> { [ g, G, U2194, U2194 ] };
key <AC06> { [ h, H, U1F44D, U1F44E ] };
key <AC07> { [ j, J, udiaeresis, Udiaeresis ] };
key <AC08> { [ k, K, idiaeresis, Idiaeresis ] };
key <AC09> { [ l, L, odiaeresis, Odiaeresis ] };
key <AB02> { [ x, X, copyright, copyright ] };
key <AB03> { [ c, C, ccedilla, Ccedilla ] };
key <AB04> { [ v, V, copyright, copyright ] };
key <AB05> { [ b, B, U2190, U2190 ] };
key <AB06> { [ n, N, U00F1, U00D1 ] };
key <AB08> { [ comma, less, U2264, U2264 ] };
key <AB09> { [ period, greater, U00B7, U2265 ] };
key <AB10> { [ slash, question, U1F615, U00BF ] };
// key <FK01> { [ F1, U1F44D ] };
include "level3(ralt_switch)"
};
// end us-ronj modifs
<!-- ====================== /usr/share/X11/xkb/rules/evdev.xml ===================== -->
<!-- ronj modifs, to put in the 'us' configItem, near English (US, alt. intl.) -->
<variant>
<configItem>
<name>ronj</name>
<description>ronj</description>
</configItem>
</variant>
<!-- end ronj modifs, to put in the 'us' configItem, near English (US, alt. intl.) -->
====================== /usr/share/X11/xkb/rules/evdev.lst =====================
ronj us: English (US, ronj)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.