Skip to content

Instantly share code, notes, and snippets.

@sergeykish sergeykish/.xinitrc
Created Oct 28, 2010

Embed
What would you like to do?
custom keymaps /usr/share/X11/xkb
setxkbmap us,ru dvorak-de,winkeys-ua
--- symbols/us~ 2010-08-18 12:56:34.971319711 +0300
+++ symbols/us 2010-08-18 13:10:11.747805363 +0300
@@ -300,6 +300,22 @@
include "level3(ralt_switch)"
};
+partial alphanumeric_keys
+xkb_symbols "dvorak-de" {
+
+ name[Group1]= "USA - Dvorak with ÄÖËÜß";
+
+ include "us(dvorak)"
+
+ key <AC01> { [ a, A, adiaeresis, Adiaeresis ] };
+ key <AC02> { [ o, O, odiaeresis, Odiaeresis ] };
+ key <AC03> { [ e, E, ediaeresis, Ediaeresis ] };
+ key <AC04> { [ u, U, udiaeresis, Udiaeresis ] };
+ key <AC10> { [ s, S, ssharp ] };
+
+ include "level3(ralt_switch)"
+};
+
// Left and right handed dvorak layouts
// by sqweek <sqweek@gmail.com> 2006-01-30
// Based on the corresponding layouts in the console-tools package.
--- symbols/ru~ 2010-10-28 15:57:49.136666672 +0300
+++ symbols/ru 2010-10-28 16:16:53.463333339 +0300
@@ -26,6 +26,23 @@
key <BKSL> { [ backslash, slash ] };
};
+partial alphanumeric_keys
+xkb_symbols "winkeys-ua" {
+
+ name[Group1]= "Russia with іє’'їґ";
+
+ include "ru(winkeys)"
+
+ key <TLDE> {[ Cyrillic_io, Cyrillic_IO, U2019, apostrophe ]};
+ key <AD12> {[ Cyrillic_hardsign, Cyrillic_HARDSIGN, Ukrainian_yi, Ukrainian_YI ]};
+ key <AC02> {[ Cyrillic_yeru, Cyrillic_YERU, Ukrainian_i, Ukrainian_I ]};
+ key <AC11> {[ Cyrillic_e, Cyrillic_E, Ukrainian_ie, Ukrainian_IE ]};
+ key <BKSL> {[ backslash, bar, Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ]};
+
+ include "level3(ralt_switch)"
+};
+
+
partial hidden alphanumeric_keys
xkb_symbols "common" {
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.