Skip to content

Instantly share code, notes, and snippets.

@binaryphile
Created June 23, 2014 18:22
Show Gist options
  • Save binaryphile/f17ab430e5d15c1aa829 to your computer and use it in GitHub Desktop.
Save binaryphile/f17ab430e5d15c1aa829 to your computer and use it in GitHub Desktop.
Minimak patches
--- /usr/share/X11/xkb/rules/evdev.lst.original 2014-06-09 16:12:00.435021466 -0400
+++ /usr/share/X11/xkb/rules/evdev.lst 2014-06-09 16:22:41.731043517 -0400
@@ -294,6 +294,7 @@
dvorak-r us: English (right handed Dvorak)
dvorak-classic us: English (classic Dvorak)
dvp us: English (programmer Dvorak)
+ minimak us: English (Minimak)
rus us: Russian (US, phonetic)
mac us: English (Macintosh)
altgr-intl us: English (international AltGr dead keys)
--- /usr/share/X11/xkb/rules/evdev.xml.original 2014-06-09 16:23:28.683045132 -0400
+++ /usr/share/X11/xkb/rules/evdev.xml 2014-06-23 14:13:31.538520794 -0400
@@ -1437,6 +1437,12 @@
</variant>
<variant>
<configItem>
+ <name>minimak</name>
+ <description>English (US, Minimak)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
<name>workman</name>
<description>English (Workman)</description>
</configItem>
--- /usr/share/X11/xkb/symbols/us.original 2014-06-09 16:14:13.619026045 -0400
+++ /usr/share/X11/xkb/symbols/us 2014-06-09 16:21:16.263040578 -0400
@@ -1523,3 +1523,29 @@
xkb_symbols "sun_type6" {
include "sun_vndr/us(sun_type6)"
};
+
+// US Minimak keyboard maps
+// based on a keyboard map from an 'xkb/symbols/us' file
+// By Ben Hiett ([email protected])
+
+partial default alphanumeric_keys
+xkb_symbols "minimak" {
+
+ // Describes the differences between a basic US keyboard layout and
+ // Minimak
+
+ include "us(basic)"
+
+ name[Group1]="English (US, Minimak)";
+
+ key <AD03> { [ d, D ] };
+ key <AD05> { [ k, K ] };
+
+ key <AC03> { [ t, T ] };
+ key <AC07> { [ n, N ] };
+ key <AC08> { [ e, E ] };
+
+ key <AB06> { [ j, J ] };
+
+ include "level3(ralt_switch_multikey)"
+};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment