All pastes #905213 Raw Edit

polish modification of Colemak k

public text v1 · immutable
#905213 ·published 2008-02-15 17:15 UTC
rendered paste body
// polish modification of Colemak keyboard layout for X11R6.
// dy dexen deVries

// thereby released under Creative Commons Attribution-Share Alike licence
// see http://creativecommons.org/licenses/by-sa/3.0/ for details

// based on Colemak and pl layouts
// polish characters are  composed with <alt_gr> + character, e.g.:
// <alt_gr> + <a> -> aogonek 
// <shift> + <alt_gr> + <a> -> Aogonek 

// use:
// first of, you need to install Colemak layout for X
// download it from http://colemak.com/
// append this post to /etc/X11/xkb/symbols/pl
// you may need to restart X (i'm not sure about it)
// select `pl-colemak' layout with your favorite configuration tool (for example, kcontrol)
// or do it with command line like:
// setxkbmap -model pc104 -layout pl -variant pl-colemak

xkb_symbols "pl-colemak" {

    include "colemak"

    name[Group1]="Poland - Colemak";

    key <AC01>	{ [         a,          A,      aogonek,      Aogonek ]	};

    key <AC08>	{ [         e,          E,      eogonek,      Eogonek ]	};
    key <AC10>	{ [         o,          O,       oacute,       Oacute ]	};

    key <AC03>	{ [         s,          S,       sacute,       Sacute ]	};

    key <AB01>	{ [         z,          Z,    zabovedot,    Zabovedot ]	};
    key <AB02>	{ [         x,          X,       zacute,       Zacute ]	};
    key <AB03>	{ [         c,          C,       cacute,       Cacute ]	};
    key <AC07>	{ [         n,          N,       nacute,       Nacute ]	};

    include "keypad(comma)"

    include "level3(ralt_switch)"
};