Find the answer to your Linux question:
Page 2 of 4 FirstFirst 1 2 3 4 LastLast
Results 11 to 20 of 34
Thanks...I'll use that one as a template... For the time being, here's the modified one of mine which I changed 1 to Ꮐ. I can't remember why I made some ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Sep 2008
    Location
    Southwest Kansas
    Posts
    57

    Thanks...I'll use that one as a template...

    For the time being, here's the modified one of mine which I changed 1 to Ꮐ.

    I can't remember why I made some of the changes I did to this file, but eh, it works...

    Also, I had made several changes to several compose files, and not a thing has changed. I have been trying to change <dead_acute> <A> to be Ꭰ for a test run, and I have changed 3 compose files...iso8859-1, iso8859-9, en_US.UTF-8. I'm beginning to wonder if the Compose files are ever used......

    Anyway, Still testing...

    Code:
    default
    partial alphanumeric_keys modifier_keys 
    xkb_symbols "basic" {
    
        name[Group1]= "Cherokee";
    
        // Alphanumeric section
        key <TLDE> {	[     	U13CA,  U13CB             ]       };
        key <AE01> {	[	U13C0,	U13B1 		]	};
        key <AE02> {	[	U13A3,	U13C7		]	};
        key <AE03> {	[	U13E9,	U13E7	]	};
        key <AE04> {	[	U13D9,	U13B0		]	};
        key <AE05> {	[	U13E6,	U13B9		]	};
        key <AE06> {	[	U13DC,	U13DD	]	};
        key <AE07> {	[	U13E1,	U13BA	]	};
        key <AE08> {	[	U13D6,	U13BB	]	};
        key <AE09> {	[	U13D2,	parenleft	]	};
        key <AE10> {	[	U13C4,	parenright	]	};
        key <AE11> {	[     	U13BF,	U13BC	]	};
        key <AE12> {	[     	U13F3,	U13BD		]	};
    
        key <AD01> {	[	U13AA,	U13C6		]	};
        key <AD02> {	[	U13B3,	U13EB		]	};
        key <AD03> {	[	U13A1,	U13E3		]	};
        key <AD04> {	[	U13DB,	U13CF		]	};
        key <AD05> {	[	U13D4,	U13D8		]	};
        key <AD06> {	[	U13EF,	U13F2		]	};
        key <AD07> {	[	U13A4,	U13AD		]	};
        key <AD08> {	[	U13A2,	U13F1		]	};
        key <AD09> {	[	U13A3,	U13EC		]	};
        key <AD10> {	[	U13C1,	U13EA		]	};
        key <AD11> {	[ 	U13D5,	U13D1	]	};
        key <AD12> {	[ 	U13B6,	U13E4	]	};
    
        key <AC01> {	[	U13A0,	U13CC, U13A2, U13A7		]	};
        key <AC02> {	[	U13CD,	U13CE		]	};
        key <AC03> {	[	U13D7,	U13D0		]	};
        key <AC04> {	[	U13A9,	U13C8		]	};
        key <AC05> {	[	U13A6,	U13E5		]	};
        key <AC06> {	[	U13AF,	U13B2		]	};
        key <AC07> {	[	U13DA,	U13AB		]	};
        key <AC08> {	[	U13B8,	U13A7		]	};
        key <AC09> {	[	U13B5,	U13AE		]	};
        key <AC10> {	[ 	U13E8,	U13E0		]	};
        key <AC11> {	[ apostrophe,	quotedbl	]	};
    
        key <AB01> {	[	U13AC,	U13C3		]	};
        key <AB02> {	[	U13F4,	U13ED		]	};
        key <AB03> {	[	U13D3,	U13DF		]	};
        key <AB04> {	[	U13A5,	U13DE		]	};
        key <AB05> {	[	U13A8,	U13F0		]	};
        key <AB06> {	[	U13BE,	U13BB		]	};
        key <AB07> {	[	U13C5,	U13B7		]	};
        key <AB08> {	[     comma,	U13E2		]	};
        key <AB09> {	[    period,	U13B4		]	};
        key <AB10> {	[     	U13C2,	U13C9	]	};
    
        key <BKSL> {	[ 	U13E9,  U13EE	]	};
        key <CAPS> {	[ Caps_Lock	]	};
        // End alphanumeric section
    };
    
    partial alphanumeric_keys
    xkb_symbols "euro" {
    
        name[Group1]= "CNO Cherokee keyboard";
    
        include "us(basic)"
    
        include "eurosign(5)"
    
        include "level3(ralt_switch)"
    };
    
    
    partial alphanumeric_keys
    xkb_symbols "intl" {
    
        name[Group1]= "USA - International (with dead keys)";
    
        include "us(basic)"
    
        // Alphanumeric section
        key <TLDE> { [dead_grave, dead_tilde,         grave,       asciitilde ] };
        key <AE01> { [	   1,     exclam,    exclamdown,      onesuperior ] };
        key <AE02> { [	   2,         at,   twosuperior, dead_doubleacute ] };
        key <AE03> { [	   3, numbersign, threesuperior,      dead_macron ] };
        key <AE04> { [	   4,     dollar,      currency,         sterling ] };
        key <AE05> { [	   5,    percent,      EuroSign                   ] };
        key <AE06> { [    6, dead_circumflex,    onequarter,      asciicircum ] };
        key <AE07> { [	   7,  ampersand,       onehalf,	dead_horn ] };
        key <AE08> { [	   8,   asterisk, threequarters,      dead_ogonek ] };
        key <AE09> { [	   9,  parenleft, leftsinglequotemark, dead_breve ] };
        key <AE10> { [	   0, parenright, rightsinglequotemark, dead_abovering ] };
        key <AE11> { [     minus, underscore,           yen,    dead_belowdot ] };
        key <AE12> { [     equal,       plus,      multiply,         division ] };
    
        key <AD01> { [	   q,          Q,    adiaeresis,       Adiaeresis ] };
        key <AD02> { [	   w,          W,         aring,            Aring ] };
        key <AD03> { [	   e,          E,        eacute,           Eacute ] };
        key <AD04> { [	   r,          R,    registered,       registered ] };
        key <AD05> { [	   t,          T,         thorn,            THORN ] };
        key <AD06> { [	   y,          Y,    udiaeresis,       Udiaeresis ] };
        key <AD07> { [	   u,          U,        uacute,           Uacute ] };
        key <AD08> { [	   i,          I,        iacute,           Iacute ] };
        key <AD09> { [	   o,          O,        oacute,           Oacute ] };
        key <AD10> { [	   p,          P,    odiaeresis,       Odiaeresis ] };
        key <AD11> { [ bracketleft,  braceleft,  guillemotleft, leftdoublequotemark ] };
        key <AD12> { [bracketright, braceright, guillemotright, rightdoublequotemark ] };
    
        key <AC01> { [	   a,          A,        aacute,           Aacute ] };
        key <AC02> { [	   s,          S,        ssharp,          section ] };
        key <AC03> { [	   d,          D,           eth,              ETH ] };
        key <AC08> { [	   k,          K,            oe,               OE ] };
    
        key <AC09> { [	   l,          L,        oslash,         Ooblique ] };
        key <AC10> { [ semicolon,      colon,     paragraph,           degree ] };
        key <AC11> { [dead_acute, dead_diaeresis, apostrophe,        quotedbl ] };
    
        key <AB01> { [	   z,          Z,            ae,               AE ] };
        key <AB03> { [	   c,          C,     copyright,             cent ] };
        key <AB06> { [	   n,          N,        ntilde,           Ntilde ] };
        key <AB07> { [	   m,          M,            mu,               mu ] };
        key <AB08> { [     comma,       less,      ccedilla,         Ccedilla ] };
        key <AB09> { [    period,    greater, dead_abovedot,       dead_caron ] };
        key <AB10> { [     slash,   question,  questiondown,        dead_hook ] };
        key <BKSL> { [ backslash,        bar,       notsign,        brokenbar ] };
    
        include "level3(ralt_switch)"
    };
    
    // Based on symbols/us_intl keyboard map:
    // Dead-keys definition for a very simple US/ASCII layout.
    // by Conectiva (http://www.conectiva.com.br)
    // modified by Ricardo Y. Igarashi (iga@that.com.br)
    
    // Added the following deadkeys, to make it truly international:
    //
    // dead_macron: on AltGr-minus
    // dead_breve: on AltGr-parenleft
    // dead_abovedot: on AltGr-period
    // dead_abovering: on AltGr-0
    // dead_doubleacute: on AltGr-equal (as quotedbl is already used)
    // dead_caron: on AltGr-less (AltGr-shift-comma)
    // dead_cedilla: on AltGr-comma
    // dead_ogonek: on AltGr-semicolon
    // dead_belowdot: on AltGr-underscore (AltGr-shift-minus)
    // dead_hook: on AltGr-question
    // dead_horn: on AltGr-plus (AltGr-shift-equal)
    // dead_diaeresis: on AltGr-colon (Alt-shift-semicolon)
    //
    // those were already there:
    // dead_grave
    // dead_acute
    // dead_circumflex
    // dead_tilde
    // dead_diaeresis
    
    partial alphanumeric_keys
    xkb_symbols "alt-intl" {
    
      name[Group1]= "USA - Alternative international (former us_intl)";
    
      include "us"
    
      key <TLDE> { [ dead_grave, dead_tilde,    grave,	      asciitilde    ] };
      key <AE05> { [          5, percent,	    EuroSign			    ] };
      key <AE06> { [	  6, dead_circumflex, asciicircum,    asciicircum   ] };
      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 <AC10> { [  semicolon, colon,	     dead_ogonek,   dead_diaeresis  ] };
      key <AC11> { [ dead_acute, dead_diaeresis, apostrophe,    quotedbl	    ] };
    
      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 $
    
    partial alphanumeric_keys
    xkb_symbols "dvorak" {
    
        name[Group1]= "USA - Dvorak";
    
        // Alphanumeric section
    
        key <TLDE> { [       grave,	asciitilde, dead_grave, dead_tilde	] };
    
        key <AE01> { [	    1,	exclam 		]	};
        key <AE02> { [	    2,	at		]	};
        key <AE03> { [	    3,	numbersign	]	};
        key <AE04> { [	    4,	dollar		]	};
        key <AE05> { [	    5,	percent		]	};
        key <AE06> { [	    6,	asciicircum, dead_circumflex, dead_circumflex ]	};
        key <AE07> { [	    7,	ampersand	]	};
        key <AE08> { [	    8,	asterisk	]	};
        key <AE09> { [	    9,	parenleft,  dead_grave]	};
        key <AE10> { [	    0,	parenright	]	};
        key <AE11> { [ bracketleft,	braceleft	]	};
        key <AE12> { [ bracketright, braceright,  dead_tilde] };
    
        key <AD01> { [  apostrophe,	quotedbl, dead_acute, dead_diaeresis	] };
        key <AD02> { [	comma,	less,   dead_cedilla, dead_caron	] };
        key <AD03> { [      period,	greater, dead_abovedot, periodcentered	] };
        key <AD04> { [	    p,	P		]	};
        key <AD05> { [	    y,	Y		]	};
        key <AD06> { [	    f,	F		]	};
        key <AD07> { [	    g,	G		]	};
        key <AD08> { [	    c,	C		]	};
        key <AD09> { [	    r,	R		]	};
        key <AD10> { [	    l,	L		]	};
        key <AD11> { [	slash,	question	]	};
        key <AD12> { [	equal,	plus		]	};
    
        key <AC01> { [	    a,	A 		]	};
        key <AC02> { [	    o,	O		]	};
        key <AC03> { [	    e,	E		]	};
        key <AC04> { [	    u,	U		]	};
        key <AC05> { [	    i,	I		]	};
        key <AC06> { [	    d,	D		]	};
        key <AC07> { [	    h,	H		]	};
        key <AC08> { [	    t,	T		]	};
        key <AC09> { [	    n,	N		]	};
        key <AC10> { [	    s,	S		]	};
        key <AC11> { [	minus,	underscore	]	};
    
        key <AB01> { [   semicolon,	colon, dead_ogonek, dead_doubleacute ] };
        key <AB02> { [	    q,	Q		]	};
        key <AB03> { [	    j,	J		]	};
        key <AB04> { [	    k,	K		]	};
        key <AB05> { [	    x,	X		]	};
        key <AB06> { [	    b,	B		]	};
        key <AB07> { [	    m,	M		]	};
        key <AB08> { [	    w,	W		]	};
        key <AB09> { [	    v,	V		]	};
        key <AB10> { [	    z,	Z		]	};
    
        key <BKSL> { [  backslash,  bar             ]       };
    };
    
    // Dvorak international
    // Stephane Magnenat (stephane at magnenat dot net, http://stephane.magnenat.net)
    // Based on information from http://www.poupinou.org/dvorak/index.html
    //
    //  `   1   2   3   4   5   6   7   8   9   0   [   ]   \
    //                  €
    //
    //      '   ,   .   p   y   f   g   c   r   l   /   =
    //                              
    //
    //      a   o   e   u   i   d   h   t   n   s   -
    //                                     
    //
    //      ;   q   j   k   x   b   m   w   v   z
    //                  
    
    partial alphanumeric_keys
    xkb_symbols "dvorak-intl" {
    
        name[Group1]= "USA - Dvorak international";
    
        include "us(dvorak)"
    
        key <AE04> { [         4,  dollar,    EuroSign ] };
    
        key <AD02> { [     comma,    less,  adiaeresis,       dead_caron ] };
        key <AD03> { [    period, greater, ecircumflex,   periodcentered	] };
        key <AD04> { [         p,       P,  ediaeresis,     dead_cedilla ] };
        key <AD05> { [         y,       Y,  udiaeresis ] };
        key <AD08> { [         c,       C,    ccedilla,    dead_abovedot ] };
    
        key <AC01> { [         a,       A,      agrave ] };
        key <AC02> { [         o,       O, ocircumflex ] };
        key <AC03> { [         e,       E,      eacute ] };
        key <AC04> { [         u,       U, ucircumflex ] };
        key <AC05> { [         i,       I, icircumflex ] };
        key <AC10> { [         s,       S,      ssharp ] };
    
        key <AB01> { [ semicolon,   colon, acircumflex ] };
        key <AB02> { [         q,       Q,  odiaeresis,      dead_ogonek ] };
        key <AB03> { [         j,       J,      egrave, dead_doubleacute ] };
        key <AB04> { [         k,       K,      ugrave ] };
        key <AB05> { [         x,       X,  idiaeresis ] };
    
        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.
    partial alphanumeric_keys
    xkb_symbols "dvorak-l" {
    
        include "us(dvorak)"
        name[Group1]= "USA - Left handed Dvorak";
    
        key <AE01> {	[ bracketleft,	braceleft	]	};
        key <AE02> {	[ bracketright,	braceright	]	};
        key <AE03> {	[	slash,	question	]	};
        key <AE04> {	[	    p,	P		]	};
        key <AE05> {	[	    f,	F		]	};
        key <AE06> {	[	    m,	M		]	};
        key <AE07> {	[	    l,	L		]	};
        key <AE08> {	[	    j,	J		]	};
        key <AE09> {	[	    4,	dollar		]	};
        key <AE10> {	[	    3,	numbersign	]	};
        key <AE11> {	[	    2,	at		]	};
        key <AE12> {	[	    1,	exclam 		]	};
    
        key <AD01> {	[   semicolon,	colon 		]	};
        key <AD02> {	[	    q,	Q		]	};
        key <AD03> {	[	    b,	B		]	};
        key <AD04> {	[	    y,	Y		]	};
        key <AD05> {	[	    u,	U		]	};
        key <AD06> {	[	    r,	R		]	};
        key <AD07> {	[	    s,	S		]	};
        key <AD08> {	[	    o,	O		]	};
        key <AD09> {	[      period,	greater		]	};
        key <AD10> {	[	    6,	asciicircum	]	};
        key <AD11> {	[	    5,	percent		]	};
        key <AD12> {	[	equal,	plus		]	};
    
        key <AC01> {	[	minus,	underscore	]	};
        key <AC02> {	[	    k,	K		]	};
        key <AC03> {	[	    c,	C		]	};
        key <AC04> {	[	    d,	D		]	};
        key <AC05> {	[	    t,	T		]	};
        key <AC06> {	[	    h,	H		]	};
        key <AC07> {	[	    e,	E		]	};
        key <AC08> {	[	    a,	A 		]	};
        key <AC09> {	[	    z,	Z		]	};
        key <AC10> {	[	    8,	asterisk	]	};
        key <AC11> {	[	    7,	ampersand	]	};
    
        key <AB01> {	[  apostrophe,	quotedbl	] 	};
        key <AB02> {	[	    x,	X		]	};
        key <AB03> {	[	    g,	G		]	};
        key <AB04> {	[	    v,	V		]	};
        key <AB05> {	[	    w,	W		]	};
        key <AB06> {	[	    n,	N		]	};
        key <AB07> {	[	    i,	I		]	};
        key <AB08> {	[	comma,	less		]	};
        key <AB09> {	[	    0,	parenright	]	};
        key <AB10> {	[	    9,	parenleft	]	};
    };
    
    partial alphanumeric_keys
    xkb_symbols "dvorak-r" {
        
        include "us(dvorak)"
        name[Group1]= "USA - Right handed Dvorak";
    
        key <AE01> {	[	    1,	exclam 		]	};
        key <AE02> {	[	    2,	at		]	};
        key <AE03> {	[	    3,	numbersign	]	};
        key <AE04> {	[	    4,	dollar		]	};
        key <AE05> {	[	    j,	J		]	};
        key <AE06> {	[	    l,	L		]	};
        key <AE07> {	[	    m,	M		]	};
        key <AE08> {	[	    f,	F		]	};
        key <AE09> {	[	    p,	P		]	};
        key <AE10> {	[	slash,	question	]	};
        key <AE11> {	[ bracketleft,	braceleft	]	};
        key <AE12> {	[ bracketright,	braceright	]	};
    
        key <AD01> {	[	    5,	percent		]	};
        key <AD02> {	[	    6,	asciicircum ]	};
        key <AD03> {	[	    q,	Q		]	};
        key <AD04> {	[      period,	greater		]	};
        key <AD05> {	[	    o,	O		]	};
        key <AD06> {	[	    r,	R		]	};
        key <AD07> {	[	    s,	S		]	};
        key <AD08> {	[	    u,	U		]	};
        key <AD09> {	[	    y,	Y		]	};
        key <AD10> {	[	    b,	B		]	};
        key <AD11> {	[   semicolon,	colon 		]	};
        key <AD12> {	[	equal,	plus		]	};
    
        key <AC01> {	[	    7,	ampersand	]	};
        key <AC02> {	[	    8,	asterisk	]	};
        key <AC03> {	[	    z,	Z		]	};
        key <AC04> {	[	    a,	A 		]	};
        key <AC05> {	[	    e,	E		]	};
        key <AC06> {	[	    h,	H		]	};
        key <AC07> {	[	    t,	T		]	};
        key <AC08> {	[	    d,	D		]	};
        key <AC09> {	[	    c,	C		]	};
        key <AC10> {	[	    k,	K		]	};
        key <AC11> {	[	minus,	underscore	]	};
    
        key <AB01> {	[	    9,	parenleft	]	};
        key <AB02> {	[	    0,	parenright	]	};
        key <AB03> {	[	    x,	X		]	};
        key <AB04> {	[	comma,	less		]	};
        key <AB05> {	[	    i,	I		]	};
        key <AB06> {	[	    n,	N		]	};
        key <AB07> {	[	    w,	W		]	};
        key <AB08> {	[	    v,	V		]	};
        key <AB09> {	[	    g,	G		]	};
        key <AB10> {	[  apostrophe,	quotedbl	] 	};
    };
    
    // Classic dvorak layout
    // by Piter Punk <piterpk@terra.com.br> - 2006-07-06 
    // Based on dvorak layout and e-mail from Russel L. Harris rlharris@oplink.net 
    // on xorg list.
    partial alphanumeric_keys
    xkb_symbols "dvorak-classic" {
    
        name[Group1]= "USA - Classic Dvorak";
    
        // Alphanumeric section
    
        key <TLDE> { [       grave,	asciitilde, dead_grave, dead_tilde	] };
    
        key <AE01> { [ bracketleft,	braceleft	]	};
        key <AE02> { [	    7,	ampersand	]	};
        key <AE03> { [	    5,	percent		]	};
        key <AE04> { [	    3,	numbersign	]	};
        key <AE05> { [	    1,	exclam 		]	};
        key <AE06> { [	    9,	parenleft,  dead_grave]	};
        key <AE07> { [	    0,	parenright	]	};
        key <AE08> { [	    2,	at		]	};
        key <AE09> { [	    4,	dollar		]	};
        key <AE10> { [	    6,	asciicircum, dead_circumflex, dead_circumflex ]	};
        key <AE11> { [	    8,	asterisk	]	};
        key <AE12> { [ bracketright, braceright,  dead_tilde] };
    
        key <AD01> { [	slash,	question	]	};
        key <AD02> { [	comma,	less,   dead_cedilla, dead_caron	] };
        key <AD03> { [      period,	greater, dead_abovedot, periodcentered	] };
        key <AD04> { [	    p,	P		]	};
        key <AD05> { [	    y,	Y		]	};
        key <AD06> { [	    f,	F		]	};
        key <AD07> { [	    g,	G		]	};
        key <AD08> { [	    c,	C		]	};
        key <AD09> { [	    r,	R		]	};
        key <AD10> { [	    l,	L		]	};
        key <AD11> { [  apostrophe,	quotedbl, dead_acute, dead_diaeresis	] };
        key <AD12> { [	equal,	plus		]	};
    
        key <AC01> { [	    a,	A 		]	};
        key <AC02> { [	    o,	O		]	};
        key <AC03> { [	    e,	E		]	};
        key <AC04> { [	    u,	U		]	};
        key <AC05> { [	    i,	I		]	};
        key <AC06> { [	    d,	D		]	};
        key <AC07> { [	    h,	H		]	};
        key <AC08> { [	    t,	T		]	};
        key <AC09> { [	    n,	N		]	};
        key <AC10> { [	    s,	S		]	};
        key <AC11> { [	minus,	underscore	]	};
    
        key <AB01> { [   semicolon,	colon, dead_ogonek, dead_doubleacute ] };
        key <AB02> { [	    q,	Q		]	};
        key <AB03> { [	    j,	J		]	};
        key <AB04> { [	    k,	K		]	};
        key <AB05> { [	    x,	X		]	};
        key <AB06> { [	    b,	B		]	};
        key <AB07> { [	    m,	M		]	};
        key <AB08> { [	    w,	W		]	};
        key <AB09> { [	    v,	V		]	};
        key <AB10> { [	    z,	Z		]	};
        key <BKSL> { [  backslash,  bar             ]       };
    };
    
    // Programmer Dvorak, by Roland Kaufmann <rlndkfmn at gmail dot com>
    // License: BSD, available at <http://www.kaufmann.no/roland/dvorak/license.html>
    // Main features: Numbers are in shift position (like French), symbols have been
    // placed in locations that give good hand-alternation and finger rolling with
    // symbols that usually follows, accented characters are possible for I18N.
    partial alphanumeric_keys
    xkb_symbols "dvp" {
        include "us(dvorak)"
    
        name[Group1] = "USA - Programmer Dvorak";
    
        //             Unmodified       Shift           AltGr            Shift+AltGr
        // symbols row, left side
        key <TLDE> { [ dollar,          asciitilde,     dead_tilde                  ] };
        key <AE01> { [ ampersand,       percent                                     ] };
        key <AE02> { [ bracketleft,     7,              currency                    ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
        key <AE03> { [ braceleft,       5,              cent                        ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
        key <AE04> { [ braceright,      3,              yen                         ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
        key <AE05> { [ parenleft,       1,              EuroSign                    ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
        key <AE06> { [ equal,           9,              sterling                    ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
    
        // symbols row, right side
        key <AE07> { [ asterisk,        0                                           ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
        key <AE08> { [ parenright,      2,              onehalf                     ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
        key <AE09> { [ plus,            4                                           ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
        key <AE10> { [ bracketright,    6                                           ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
        key <AE11> { [ exclam,          8,              exclamdown                  ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
        key <AE12> { [ numbersign,      grave,          dead_grave                  ] };
        key <BKSP> { [ BackSpace                                                    ] };
    
        // upper row, left side
        key <AD01> { [ semicolon,       colon,          dead_diaeresis              ] };
        key <AD02> { [ comma,           less,           guillemotleft               ] };
        key <AD03> { [ period,          greater,        guillemotright              ] };
        key <AD04> { [ p,               P,              paragraph,       section    ] };
        key <AD05> { [ y,               Y,              udiaeresis,      Udiaeresis ] };
    
        // upper row, right side
        key <AD08> { [ c,               C,              ccedilla,        Ccedilla   ] };
        key <AD09> { [ r,               R,              registered,      trademark  ] };
        key <AD11> { [ slash,           question,       questiondown                ] };
        key <AD12> { [ at,              asciicircum,    dead_circumflex, dead_caron ] };
    
        // home row, left side
        key <AC01> { [ a,               A,              aring,           Aring      ] };
        key <AC02> { [ o,               O,              oslash,          Ooblique   ] };
        key <AC03> { [ e,               E,              ae,              AE         ] };
        key <AC04> { [ u,               U,              eacute,          Eacute     ] };
    
        // home row, right side
        key <AC06> { [ d,               D,              eth,             ETH        ] };
        key <AC07> { [ h,               H,              dead_acute                  ] };
        key <AC08> { [ t,               T,              thorn,           THORN      ] };
        key <AC09> { [ n,               N,              ntilde,          Ntilde     ] };
        key <AC10> { [ s,               S,              ssharp                      ] };
        key <AC11> { [ minus,           underscore,     hyphen                      ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
        key <BKSL> { [ backslash,       bar                                         ] };
    
        // lower row, left side
        key <AB01> { [ apostrophe,      quotedbl,       dead_acute                  ] };
    };
    
    // phonetic layout for Russian letters on an US keyboard
    // by Ivan Popov <pin@konvalo.org> 2005-07-17
    
    // level3 modifier is a shortcut to the "us" meaning of the keys where
    // we place cyrillic letters, handy for accessing the corresponding
    // punctuation marks.
    // It is important to have access to punctuation marks, and the rest of
    // alphabetical keys are added for being consequent so that the users
    // can expect the level3 modifier to give what the key label shows.
    
    partial alphanumeric_keys
    xkb_symbols "rus" {
    
        name[Group1]= "USA - Russian phonetic";
    
        include "us(basic)"
    
    key.type[group1]="FOUR_LEVEL_ALPHABETIC";
    
        key	<LatA> {	[ Cyrillic_a, Cyrillic_A ]	};
        key	<LatB> {	[ Cyrillic_be, Cyrillic_BE ]	};
        key	<LatW> {	[ Cyrillic_ve, Cyrillic_VE ]	};
        key	<LatG> {	[ Cyrillic_ghe, Cyrillic_GHE ]	};
        key	<LatD> {	[ Cyrillic_de, Cyrillic_DE ]	};
        key	<LatE> {	[ Cyrillic_ie, Cyrillic_IE ]	};
        key	<TLDE> {	[ Cyrillic_io, Cyrillic_IO, grave, asciitilde ] };
        key	<LatV> {	[ Cyrillic_zhe, Cyrillic_ZHE ]	};
        key	<LatZ> {	[ Cyrillic_ze, Cyrillic_ZE ]	};
        key	<LatI> {	[ Cyrillic_i, Cyrillic_I ]	};
        key	<LatJ> {	[ Cyrillic_shorti, Cyrillic_SHORTI ]	};
        key	<LatK> {	[ Cyrillic_ka, Cyrillic_KA ]	};
        key	<LatL> {	[ Cyrillic_el, Cyrillic_EL ]	};
        key	<LatM> {	[ Cyrillic_em, Cyrillic_EM ]	};
        key	<LatN> {	[ Cyrillic_en, Cyrillic_EN ]	};
        key	<LatO> {	[ Cyrillic_o, Cyrillic_O ]	};
        key	<LatP> {	[ Cyrillic_pe, Cyrillic_PE ]	};
        key	<LatR> {	[ Cyrillic_er, Cyrillic_ER ]	};
        key	<LatS> {	[ Cyrillic_es, Cyrillic_ES ]	};
        key	<LatT> {	[ Cyrillic_te, Cyrillic_TE ]	};
        key	<LatU> {	[ Cyrillic_u, Cyrillic_U ]	};
        key	<LatF> {	[ Cyrillic_ef, Cyrillic_EF ]	};
        key	<LatH> {	[ Cyrillic_ha, Cyrillic_HA ]	};
        key	<LatC> {	[ Cyrillic_tse, Cyrillic_TSE ]	};
        key <AC10> {        [ Cyrillic_che, Cyrillic_CHE, semicolon, colon ] };
        key	<AD11> {	[ Cyrillic_sha, Cyrillic_SHA, bracketleft, braceleft] };
        key	<AD12> {	[ Cyrillic_shcha, Cyrillic_SHCHA, bracketright, braceright ]	};
        key <AE12> {        [ Cyrillic_hardsign, Cyrillic_HARDSIGN, equal, plus ] };
        key	<LatY> {	[ Cyrillic_yeru, Cyrillic_YERU ]	};
        key	<LatX> {	[ Cyrillic_softsign, Cyrillic_SOFTSIGN ]	};
        key	<BKSL> {	[ Cyrillic_e, Cyrillic_E, backslash, bar ]	};
        key <AC11> {        [ Cyrillic_yu, Cyrillic_YU, apostrophe, quotedbl ] };
        key	<LatQ> {	[ Cyrillic_ya, Cyrillic_YA ]	};
    
        include "level3(ralt_switch)"
    };
    
    partial alphanumeric_keys
    xkb_symbols "mac" {
    
        include "us"
        name[Group1]= "USA - Macintosh";
    };
     
    // Colemak symbols for xkb on X.Org Server 7.x
    // 2006-01-01 Shai Coleman, http://colemak.com/ . Public domain.
    
    partial alphanumeric_keys
    xkb_symbols "colemak" {
        include "us"
        name[Group1]= "USA - Colemak";
    
        // Alphanumeric section
        key <TLDE> { [        grave,   asciitilde,      dead_tilde,       asciitilde ] };
        key <AE01> { [            1,       exclam,      exclamdown,      onesuperior ] };
        key <AE02> { [            2,           at,       masculine,      twosuperior ] };
        key <AE03> { [            3,   numbersign,     ordfeminine,    threesuperior ] };
        key <AE04> { [            4,       dollar,            cent,         sterling ] };
        key <AE05> { [            5,      percent,        EuroSign,              yen ] };
        key <AE06> { [            6,  asciicircum,         hstroke,          Hstroke ] };
        key <AE07> { [            7,    ampersand,             eth,              ETH ] };
        key <AE08> { [            8,     asterisk,           thorn,            THORN ] };
        key <AE09> { [            9,    parenleft,  leftsinglequotemark,  leftdoublequotemark ] };
        key <AE10> { [            0,   parenright, rightsinglequotemark,  rightdoublequotemark ] };
        key <AE11> { [        minus,   underscore,          endash,           emdash ] };
        key <AE12> { [        equal,         plus,        multiply,         division ] };
    
        key <AD01> { [            q,            Q,      adiaeresis,       Adiaeresis ] };
        key <AD02> { [            w,            W,           aring,            Aring ] };
        key <AD03> { [            f,            F,          atilde,           Atilde ] };
        key <AD04> { [            p,            P,          oslash,         Ooblique ] };
        key <AD05> { [            g,            G,     dead_ogonek,       asciitilde ] };
        key <AD06> { [            j,            J,         dstroke,          Dstroke ] };
        key <AD07> { [            l,            L,         lstroke,          Lstroke ] };
        key <AD08> { [            u,            U,          uacute,           Uacute ] };
        key <AD09> { [            y,            Y,      udiaeresis,       Udiaeresis ] };
        key <AD10> { [    semicolon,        colon,      odiaeresis,       Odiaeresis ] };
        key <AD11> { [  bracketleft,    braceleft,   guillemotleft,        0x1002039 ] };
        key <AD12> { [ bracketright,   braceright,  guillemotright,        0x100203a ] };
        key <BKSL> { [    backslash,          bar,      asciitilde,       asciitilde ] };
    
        key <AC01> { [            a,            A,          aacute,           Aacute ] };
        key <AC02> { [            r,            R,      dead_grave,       asciitilde ] };
        key <AC03> { [            s,            S,          ssharp,       asciitilde ] };
        key <AC04> { [            t,            T,      dead_acute, dead_doubleacute ] };
        key <AC05> { [            d,            D,  dead_diaeresis,       asciitilde ] };
        key <AC06> { [            h,            H,      dead_caron,       asciitilde ] };
        key <AC07> { [            n,            N,          ntilde,           Ntilde ] };
        key <AC08> { [            e,            E,          eacute,           Eacute ] };
        key <AC09> { [            i,            I,          iacute,           Iacute ] };
        key <AC10> { [            o,            O,          oacute,           Oacute ] };
        key <AC11> { [   apostrophe,     quotedbl,          otilde,           Otilde ] };
    
        key <AB01> { [            z,            Z,              ae,               AE ] };
        key <AB02> { [            x,            X, dead_circumflex,       asciitilde ] };
        key <AB03> { [            c,            C,        ccedilla,         Ccedilla ] };
        key <AB04> { [            v,            V,              oe,               OE ] };
        key <AB05> { [            b,            B,      dead_breve,       asciitilde ] };
        key <AB06> { [            k,            K,  dead_abovering,       asciitilde ] };
        key <AB07> { [            m,            M,     dead_macron,       asciitilde ] };
        key <AB08> { [        comma,         less,    dead_cedilla,       asciitilde ] };
        key <AB09> { [       period,      greater,   dead_abovedot,       asciitilde ] };
        key <AB10> { [        slash,     question,    questiondown,       asciitilde ] };
    
        key <CAPS> { [    BackSpace,    BackSpace,       BackSpace,        BackSpace ] };
        key <LSGT> { [        minus,   underscore,          endash,           emdash ] };
        key <SPCE> { [        space,        space,           space,     nobreakspace ] };
    
        include "level3(ralt_switch)"
    };
    
    // I do NOT like dead-keys - the International keyboard as defined by Microsoft
    // doesn't fit my needs. Why use two keystrokes for all simple characters (eg '
    // and <space> generates a single ') just to have an  (eacute) in two strokes
    // as well? I type ' more often than  (eacute).
    //
    // This file works just like a regular keyboard, BUT has all dead-keys
    // accessible at level3 (through AltGr). An  (ediaeresis) is now: AltGr+"
    // followed by an e. In other words, this keyboard is not international as long
    // as you leave the right Alt key alone.
    //
    // The original MS International keyboard was intended for Latin1 (iso8859-1).
    // With the introduction of iso8859-15, the (important) ligature oe (and OE)
    // became available. I added them next to ae. Because I write ediaeresis more
    // often than registered, I moved registered to be next to copyright and added
    // ediaeresis and idiaeresis. - Adriaan
    
    partial alphanumeric_keys
    xkb_symbols "altgr-intl" {
    
       name[Group1]= "USA - International (AltGr dead keys)";
    
       include "us(intl)"
    
    // five dead keys moved into level3:
    
       key <TLDE> { [    grave, asciitilde,  dead_grave,   dead_tilde      ] };
       key <AC11> { [apostrophe,quotedbl,    dead_acute,   dead_diaeresis  ] };
    
    // diversions from the MS Intl keyboard:
    
       key <AE01> { [        1, exclam,      onesuperior,  exclamdown      ] };
       key <AD04> { [        r, R,           ediaeresis,   Ediaeresis      ] };
       key <AC07> { [        j, J,           idiaeresis,   Idiaeresis      ] };
       key <AB02> { [        x, X,           oe,           OE              ] };
       key <AB04> { [        v, V,           registered,   registered      ] };
    
    // onequarter etc (not in iso8859-15) deleted to get three unshifted deadkeys:
    
       key <AE06> { [        6, asciicircum,       dead_circumflex         ] };
       key <AE07> { [        7, ampersand,         dead_horn               ] };
       key <AE08> { [        8, asterisk,          dead_ogonek             ] };
    
       include "level3(ralt_switch)"
    };
    
    // Intel ClassmatePC Keyboard Layout
    // by Piter PUNK <piterpk@terra.com.br>
    //
    // The keyboard layouts below maps the us(basic), us(intl) and us(alt-intl)
    // to ClassmatePC keyboard. All layouts uses RCTL as level3(switch) since
    // the keyboard doesn't have AltGr key. The EuroSign is engraved at 5 key.
    
    // classmate - us(basic)
    partial alphanumeric_keys
    xkb_symbols "classmate" {
        include "us(basic)"
        name[Group1]= "USA - ClassmatePC";
    
        key <LSGT> { [ backslash,	bar,		backslash,	bar ] };
    
        include "eurosign(5)"
        include "level3(switch)"
    };
    
    // classmate-intl - us(intl)
    // RCTL is generated by Fn+Alt, because that, when trying to access
    // the level3 symbols at 7,8,9,0,u,i,o,p,j,k,l,;,m,. and / we got
    // the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key>
    // generate the same symbol as the original key.
    partial alphanumeric_keys
    xkb_symbols "classmate-intl" {
        include "us(intl)"
        name[Group1]= "USA - ClassmatePC (International)";
        key.type[Group1]="FOUR_LEVEL";
    
        key <LSGT> { [ backslash,	bar,		backslash,	bar ] };
    
        key <KP7>  { [	KP_Home,		KP_7,	
    			onehalf,		dead_horn	] };
        key <KP8>  { [	KP_Up,			KP_8,
    			threequarters,		dead_ogonek	] };
        key <KP9>  { [	KP_Prior,		KP_9,
    			leftsinglequotemark,	dead_breve	] };
        key <KPMU> { [ 	KP_Multiply,		KP_Multiply,
    			rightsinglequotemark,	dead_abovering	] };
    
        key <KP4>  { [	KP_Left,		KP_4,
    			uacute,			Uacute		] };
        key <KP5>  { [	KP_Begin,		KP_5,
    			iacute,			Iacute		] };
        key <KP6>  { [	KP_Right,		KP_6,
    			oacute,			Oacute		] };
        key <KPSU> { [	KP_Subtract,		KP_Subtract,
    			odiaeresis,		Odiaeresis	] };
    
        key <KP2>  { [	KP_Down,		KP_2,
    			oe,			OE		] };
        key <KP3>  { [	KP_Next,		KP_3,
    			oslash,			Ooblique	] };
        key <KPAD> { [ 	KP_Add,     		KP_Add,
    			paragraph,		degree          ] };
       
        key <KP0>  { [	KP_Insert,		KP_0,
    			mu,			mu	] };
        key <KPDL> { [	KP_Delete,		KP_Decimal,
    			dead_abovedot,		dead_caron	] }; 
        key <KPDV> { [ 	KP_Divide,   		KP_Divide,
    			questiondown,		dead_hook       ] };
    
        include "level3(switch)"
    };
    
    // classmate-alt-intl - us(alt-intl)
    // RCTL is generated by Fn+Alt, because that, when trying to access
    // the level3 symbols at 7,8,9,0,u,i,o,p,j,k,l,;,m,. and / we got
    // the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key>
    // generate the same symbol as the original key.
    partial alphanumeric_keys
    xkb_symbols "classmate-alt-intl" {
        include "us(alt-intl)"
        name[Group1]= "USA - ClassmatePC (Alternative international)";
        key.type[Group1]="FOUR_LEVEL";
    
        key <LSGT> { [ backslash,	bar,		backslash,	bar ] };
    
        key <KPSU> { [	KP_Subtract,		KP_Subtract	] };
    
        key <KP9>  { [	KP_Prior,		KP_9,
    			leftsinglequotemark,	dead_breve	] };
        key <KPMU> { [ 	KP_Multiply,		KP_Multiply,
    			rightsinglequotemark,	dead_abovering	] };
    
        key <KPAD> { [ 	KP_Add,     		KP_Add,
    			dead_ogonek,		dead_diaeresis   ] };
        
        key <KPDL> { [	KP_Delete,		KP_Decimal,
    			dead_abovedot,		dead_circumflex	] }; 
        key <KPDV> { [ 	KP_Divide,   		KP_Divide,
    			dead_hook,		dead_hook       ] };
    
        include "level3(switch)"
    };
    
    // classmate-altgr-intl - us(altgr-intl)
    // RCTL is generated by Fn+Alt, because that, when trying to access
    // the level3 symbols at 7,8,9,0,u,i,o,p,j,k,l,;,m,. and / we got
    // the keypad keycodes. The keypad is changed to make Fn+Alt+<KP_key>
    // generate the same symbol as the original key.
    partial alphanumeric_keys
    xkb_symbols "classmate-altgr-intl" {
        include "us(altgr-intl)"
        name[Group1]= "USA - ClassmatePC (International Fn+Alt dead-keys)";
        key.type[Group1]="FOUR_LEVEL";
    
        key <LSGT> { [ backslash,	bar,		backslash,	bar ] };
    
        key <KP7>  { [	KP_Home,		KP_7,	
    			dead_horn,		dead_horn	] };
        key <KP8>  { [	KP_Up,			KP_8,
    			dead_ogonek,		dead_ogonek	] };
        key <KP9>  { [	KP_Prior,		KP_9,
    			leftsinglequotemark,	dead_breve	] };
        key <KPMU> { [ 	KP_Multiply,		KP_Multiply,
    			rightsinglequotemark,	dead_abovering	] };
    
        key <KP4>  { [	KP_Left,		KP_4,
    			uacute,			Uacute		] };
        key <KP5>  { [	KP_Begin,		KP_5,
    			iacute,			Iacute		] };
        key <KP6>  { [	KP_Right,		KP_6,
    			oacute,			Oacute		] };
        key <KPSU> { [	KP_Subtract,		KP_Subtract,
    			odiaeresis,		Odiaeresis	] };
    
        key <KP1>  { [	KP_End,			KP_1,
    			idiaeresis,		Idiaeresis	] };
        key <KP2>  { [	KP_Down,		KP_2,
    			oe,			OE		] };
        key <KP3>  { [	KP_Next,		KP_3,
    			oslash,			Ooblique	] };
        key <KPAD> { [ 	KP_Add,     		KP_Add,
    			paragraph,		degree          ] };
       
        key <KP0>  { [	KP_Insert,		KP_0,
    			mu,			mu	] };
        key <KPDL> { [	KP_Delete,		KP_Decimal,
    			dead_abovedot,		dead_caron	] }; 
        key <KPDV> { [ 	KP_Divide,   		KP_Divide,
    			questiondown,		dead_hook       ] };
    
        include "level3(switch)"
    };
    
    partial alphanumeric_keys
    xkb_symbols "olpc" {
    
       include "us(basic)"
       name[Group1]= "USA";
    
       // OLPC international US English keyboard layout.
       // It's a little different from the usual international layout.
       // See: http://wiki.laptop.org/go/Image:Keyboard_english.png
    
       key <TLDE> { [     grave, asciitilde,    dead_grave, dead_tilde ] };
       key <AE01> { [         1,     exclam,    exclamdown, exclamdown ] };
       key <AE02> { [         2,         at,       notsign,    notsign ] };
       key <AE03> { [         3, numbersign,     0x1000300,  0x1000300 ] }; // combining grave
       key <AE04> { [         4,     dollar,     0x1000301,  0x1000301 ] }; // combining acute
       key <AE05> { [         5,    percent,     0x1000306,  0x1000306 ] }; // combining breve above
       key <AE06> { [         6,asciicircum,     0x100030A,  0x100030A ] }; // combining ring above
       key <AE07> { [         7,  ampersand,     0x1000302,  0x1000302 ] }; // combining circumflex above
       key <AE08> { [         8,   asterisk,     0x100030C,  0x100030C ] }; // combining caron above
       key <AE09> { [         9,  parenleft,     0x1000307,  0x1000307 ] }; // combining dot above
       key <AE10> { [         0, parenright,     0x1000308,  0x1000308 ] }; // combining diaeresis above
       key <AE11> { [     minus, underscore,     0x1000304,  0x1000304 ] }; // combining macron above
       key <AE12> { [     equal,       plus,     0x1000303,  0x1000303 ] }; // combining tilde above
    
       key <AD01> { [         q,          Q,  Greek_omega, Greek_OMEGA ] };
       key <AD02> { [         w,          W,       oslash,      Oslash ] };
       key <AD03> { [         e,          E,           oe,          OE ] };
       key <AD04> { [         r,          R,    0x1000327,   0x1000327 ] }; // combining cedilla
       key <AD05> { [         t,          T,    0x100032E,   0x100032E ] }; // combining breve below
       key <AD06> { [         y,          Y,    0x1000325,   0x1000325 ] }; // combining ring below
       key <AD07> { [         u,          U,    0x100032D,   0x100032D ] }; // combining circumflex below
       key <AD08> { [         i,          I,    0x100032C,   0x100032C ] }; // combining caron below
       key <AD09> { [         o,          O,    0x1000323,   0x1000323 ] }; // combining dot below
       key <AD10> { [         p,          P,    0x1000324,   0x1000324 ] }; // combining diaeresis below
       key <AD11> { [ bracketleft,  braceleft,  0x1000331,   0x1000331 ] }; // combining macron below
       key <AD12> { [bracketright, braceright,  0x1000330,   0x1000330 ] }; // combining tilde below
    
       key <AC01>  { [         a,          A,          ae,               AE ] };
       key <AC02>  { [         s,          S,      ssharp,        0x1001E9C ] }; // uppercase S sharp
       key <AC03>  { [         d,          D,         eth,              ETH ] };
       key <AC04>  { [         f,          F,       thorn,            THORN ] };
       key <AC06>  { [         h,          H,    sterling,         sterling ] };
       key <AC07>  { [         j,          J,    EuroSign,         EuroSign ] };
       key <AC10>  { [ semicolon,      colon,   masculine,      ordfeminine ] };
       key <AC11>  { [ apostrophe,  quotedbl,    currency,         currency ] };
       key <BKSL>  { [ backslash,        bar,      section,         section ] };
    
       key <AB03>  { [         c,          C,    ccedilla,         Ccedilla ] };
       key <AB06>  { [         n,          N,      ntilde,           Ntilde ] };
       key <AB07>  { [         m,          M,          mu,               mu ] };
       key <AB08>  { [     comma,     less,  guillemotleft,   guillemotleft ] };
       key <AB09>  { [    period,  greater, guillemotright,  guillemotright ] };
       key <AB10>  { [     slash,   question, questiondown,    questiondown ] };
    
       key <I219>  { [  multiply,   division, ISO_Next_Group, ISO_Prev_Group ] };
    
       include "level3(ralt_switch)"
    };
    
    partial alphanumeric_keys
    xkb_symbols "olpc2" {
       include "us(olpc)"
       name[Group1]= "USA - Group toggle on multiply/divide key";
       include "group(olpc)"
    };
    Looked over Xkeycaps...Might not work since it needs something called the athena widget set, which the site states was back in 99. Might be able to get it up and running on my old Mandrake 6.0 installation on a very old computer though, ha ha...I'll do some more experimenting with the compose files, then I'll look through the code of Xkeycaps and see what might be possible with it.

    <Edit>

    Ok, I have modified every single compose file that could possibly be used for the us keyboard layout, and not a single thing was changed. Not even an error...So now I really have no idea what the compose files are even needed for...I'm going to ask a few questions at Zenwalk and see what their thoughts might be...

  2. #12
    Just Joined! waya's Avatar
    Join Date
    Dec 2008
    Location
    Here
    Posts
    18
    I found a link that may be helpful:

    Multilingual/programmer keyboard layout - WikiGagneLague

  3. #13
    Just Joined! waya's Avatar
    Join Date
    Dec 2008
    Location
    Here
    Posts
    18

    Thumbs up Gnome ignores xcompose! ... Unless ... SUCCESS !?!?!?!?!

    Based on appended quotation following I put into ~/.gnomerc: export GTK_IM_MODULE="xim"

    Here is my ~/.XCompose file:

    Code:
    # ~/.XCompose
    # This file defines custom Compose sequences for Unicode characters
    
    # Import default rules from the system Compose file:
    include "/usr/share/X11/locale/en_US.UTF-8/Compose"
    
    <Multi_key> <b> <t> <w> : "by the way" # Compose b t w
    <Multi_key> <less> <p> : "<p></p>" # Compose < p
    <Multi_key> <t><s><a><l><a><g><i> : "ᏣᎳᎩ"
    <a> <A> : "Ꭰ"
    <a> <a> : "a"
    TESTING: ᏣᎳᎩ YAY! I put in: SHIFT+R-ALT, tsalagi and I get: ᏣᎳᎩ

    by the way I also did the <a> <A> thing just to see if the multi-key was required and it isn't. I am having to hit the 'a' key twice for each 'a' I want in this message.
    If I hit 'a' + 'A' I do get indeed: Ꭰ

    I am supposing that the next step would be to setup compose using the raw ᏣᎳᎩ keyboard responses into the .XCompose file so that the ᏣᎳᎩ keyboard will work using English phonetical typing while in ᏣᎳᎩ typing mode.

    Gnome

    The compose key sequences used by Gnome are derived from the X compose tables of XFree86 version 4.0 with further modifications to provide a Gnome standard for all locales. They are hard coded into the program in source file gtk+-2.10.7/gtk/gtkimcontextsimple.c

    *

    GtkComposeTable lists the Multi_key part of that table.
    *

    GtkDeadKeyTable lists the dead key combinations.

    XIM

    The Gnome hard coding can be overruled in favour of the original Xwindow Input Method (XIM) by setting the environment variable GTK_IM_MODULE. This can be set in the /etc/environment file, but if the machine has more than one user then it is best set from the home directory on a per user basis by modifying ~/.gnomerc or ~/.Xsession
    Code:
    export GTK_IM_MODULE="xim"

  4. $spacer_open
    $spacer_close
  5. #14
    Just Joined! waya's Avatar
    Join Date
    Dec 2008
    Location
    Here
    Posts
    18

    Lightbulb ᎣᏍᏓᏛ! It is very good!

    Quote Originally Posted by Mol_Bolom View Post
    Ok, I have modified every single compose file that could possibly be used for the us keyboard layout, and not a single thing was changed. Not even an error...So now I really have no idea what the compose files are even needed for...I'm going to ask a few questions at Zenwalk and see what their thoughts might be...
    OK. After changing your input method to XIM like I did ( you might need to set the env variable in .bashrc or else where, or you can open a shell prompt, set it there, and any proggies started from within the shell prompt will use XIM) copy/paste the following into .XCompose (I have also attached it as .XCompose.txt) and any newly started programs after you paste it and save it should allow you to use multi-key sequences to enter ᏣᎳᎩ. Oh how sweet the day! You actually gave me the missing piece indirectly to get all this working! ᏩᏙ Oh blessings unto all, it is so much frigging easier to type now! Listen to SOAR radio much?

    Off to work on my notes for my "ᎢᎬᏱᎢ ᏣᎳᎩ ᎪᏪᎸᎢ"

    Code:
    # ~/.XCompose
    # This file defines custom Compose sequences for Unicode characters
    
    # Import default rules from the system Compose file:
    include "/usr/share/X11/locale/en_US.UTF-8/Compose"
    
    #a -> v
    <U13A0> :	"Ꭰ" #a
    <U13A1> :	"Ꭱ" #e
    <U13A2> :	"Ꭲ" #i
    <U13A3> :	"Ꭳ" #o
    <U13A4> :	"Ꭴ" #u
    <U13A5> :	"Ꭵ" #v
    
    #ga -> gv
    <U13A6><U13A0>: "Ꭶ" #ga
    <U13B8><U13A0>: "Ꭷ" #ka
    <U13A6><U13A1>: "Ꭸ" #ge
    <U13A6><U13A2>: "Ꭹ" #gi
    <U13A6><U13A3>: "Ꭺ" #go
    <U13A6><U13A4>: "Ꭻ" #gu
    <U13A6><U13A5>: "Ꭼ" #gv
    
    #ha -> hv
    <U13AF><U13A0>: "Ꭽ" #ha
    <U13AF><U13A1>: "Ꭾ" #he
    <U13AF><U13A2>: "Ꭿ" #hi
    <U13AF><U13A3>: "Ꮀ" #ho
    <U13AF><U13A4>: "Ꮁ" #hu
    <U13AF><U13A5>: "Ꮂ" #hv
    
    #(la)
    <U13B5><U13A0>: "Ꮃ" #la
    <U13B5><U13A1>: "Ꮄ" #le
    <U13B5><U13A2>: "Ꮅ" #li
    <U13B5><U13A3>: "Ꮆ" #lo
    <U13B5><U13A4>: "Ꮇ" #lu
    <U13B5><U13A5>: "Ꮈ" #lv
    
    #(ma)
    <U13C5><U13A0>: "Ꮉ" #ma
    <U13C5><U13A1>: "Ꮊ" #me
    <U13C5><U13A2>: "Ꮋ" #mi
    <U13C5><U13A3>: "Ꮌ"  #mo
    <U13C5><U13A4>: "Ꮍ" #mu
    
    #(na)
    <U13BE><U13A0>: "Ꮎ" #na
    <U13BE><U13BB><U13A0>: "Ꮏ" #hna
    <U13BE><U13CC>: "Ꮐ" #nah/(typed: nA)
    <U13BE><U13A1>: "Ꮑ" #ne
    <U13BE><U13A2>: "Ꮒ" #ni
    <U13BE><U13A3>: "Ꮓ" #no
    <U13BE><U13A4>: "Ꮔ" #nu
    <U13BE><U13A5>: "Ꭴ" #nv
    
    #(qua)
    <U13AA><U13A4><U13A0>: "Ꮖ" #qua
    <U13AA><U13A4><U13A1>: "Ꮗ" #que
    <U13AA><U13A4><U13A2>: "Ꮘ" #qui
    <U13AA><U13A4><U13A3>: "Ꮙ" #quo
    <U13AA><U13A4><U13A4>: "Ꮚ" #quu
    <U13AA><U13A4><U13A5>: "Ꮛ" #quv
    
    #(sa)
    <U13CD><U13A0>: "Ꮜ" #sa
    <U13CE>: "Ꮝ" #s / (typed S)
    <U13CD><U13A1>: "Ꮞ" #se
    <U13CD><U13A2>: "Ꮟ" #si
    <U13CD><U13A3>: "Ꮠ" #so
    <U13CD><U13A4>: "Ꮡ" #su
    <U13CD><U13A5>: "Ꮢ" #sv
    
    #(da)
    <U13D7><U13A0>: "Ꮣ" #da
    <U13D4><U13A0>: "Ꮤ" #ta
    <U13D7><U13A1>: "Ꮥ" #de
    <U13D4><U13A1>: "Ꮦ" #te
    <U13D7><U13A2>: "Ꮧ" #di 
    <U13D4><U13A2>: "Ꮨ" #ti
    <U13D7><U13A3>: "Ꮩ" #do
    <U13D7><U13A4>: "Ꮪ" #du
    <U13D7><U13A5>: "Ꮫ" #dv
    
    #(dla)
    <U13D7><U13B5><U13A0>: "Ꮬ" #dla
    <U13D4><U13B5><U13A0>: "Ꮭ" #tla
    <U13D4><U13B5><U13A1>: "Ꮮ" #tle
    <U13D4><U13B5><U13A2>: "Ꮯ" #tli
    <U13D4><U13B5><U13A3>: "Ꮰ" #tlo
    <U13D4><U13B5><U13A4>: "Ꮱ" #tlu
    <U13D4><U13B5><U13A5>: "Ꮲ" #tlv
    
    #(tsa)
    <U13D4><U13CD><U13A0>: "Ꮳ" #tsa
    <U13D4><U13CD><U13A1>: "Ꮴ" #tse
    <U13D4><U13CD><U13A2>: "Ꮵ" #tsi
    <U13D4><U13CD><U13A3>: "Ꮶ" #tso
    <U13D4><U13CD><U13A4>: "Ꮷ" #tsu
    <U13D4><U13CD><U13A5>: "Ꮸ" #tsv
    
    #(wa)
    <U13B3><U13A0>: "Ꮹ" #wa
    <U13B3><U13A1>: "Ꮺ" #we
    <U13B3><U13A2>: "Ꮻ" #wi
    <U13B3><U13A3>: "Ꮼ" #wo
    <U13B3><U13A4>: "Ꮽ" #wu
    <U13B3><U13A5>: "Ꮾ" #wv
    
    #(ya)
    <U13EF><U13A0>: "Ꮿ" #ya
    <U13EF><U13A1>: "Ᏸ" #ye
    <U13EF><U13A2>: "Ᏹ" #yi
    <U13EF><U13A3>: "Ᏺ" #yo
    <U13EF><U13A4>: "Ᏻ" #yu
    <U13EF><U13A5>: "Ᏼ" #yv
    Attached Files Attached Files

  6. #15
    Just Joined!
    Join Date
    Sep 2008
    Location
    Southwest Kansas
    Posts
    57
    Well, this is odd. Since I don't use gnome I don't have a .gnomerc file, and I guess Zenwalk doesn't use .Xsession either. So instead I added the GTK_IM_MODULE "xim" to my .xinitrc file. ᎦᏛᏁ ᎬᏗ Opera, ᎥᏎᏅ Ꮭ ᏱᎦᏛᏁ ᎬᏗ ᏤᎾᎢ (I can use it on Opera (The internet browser I use), but I can't use it on Zenwalk). I'll have a look over where exactly I placed xim at in the xinitrc file then try a few other things out...

    ᏩᏙ, ᏃᏊ ᏙᏳ ᎠᎯᏓ ᎠᏆᏛᏁᏗ. From typing that sentence out, Ꮖ was a bit difficult to find. Well, I'm going to tweak it a bit more, ...

    Well, I helped you, and you helped me, ...Now I know I have been looking at the wrong areas and reading the wrong things. Anyway, one step closer, ᏱᎢᎢᎢᎢᎢᎢᎭ.

    <edit>

    I just found this. It's surprising what one can find once they know what the heck they are looking for, ha ha ha...

    Daniel Paul O&#39;Donnell, PhD: Custom Keyboard in Linux/X11

  7. #16
    Just Joined! waya's Avatar
    Join Date
    Dec 2008
    Location
    Here
    Posts
    18
    I did a quick Google for 'zenwalk' and 'xim'.
    It appears anything QT3 based (such as KDE3) doesn't use 'xim' unless patched for it, and 'zenwalk' doesn't patch for it.

    One of the key websites which sent me into the right direction was: Multilingual/programmer keyboard layout - WikiGagneLague

    The one where I found out about the environment variable being needed was: https://help.ubuntu.com/community/ComposeKey
    Last edited by waya; 12-29-2008 at 12:31 PM. Reason: add 2nd web-site

  8. #17
    Just Joined! waya's Avatar
    Join Date
    Dec 2008
    Location
    Here
    Posts
    18
    There appears to be at least one other environment variable that needs setting: QT_IM_MODULE=xim

    https://wiki.kubuntu.org/ComposeKey

    This is also the page I used for my starting .XCompose file.

    There "persistent" configuration looks interesting to...

    Persistent Configuration

    *

    Copy the setup file /etc/X11/xinit/xinput.d/default to /etc/X11/xinit/xinput.d/xim

    $ sudo cp /etc/X11/xinit/xinput.d/default /etc/X11/xinit/xinput.d/xim

    *

    Edit the file /etc/X11/xinit/xinput.d/xim and set the input method for GNOME and KDE to xim

    ...
    GTK_IM_MODULE=xim
    QT_IM_MODULE=xim
    ...

    *

    Create a link for the locale all_ALL (or the desired locale only):

    $ sudo ln -sf /etc/X11/xinit/xinput.d/xim /etc/X11/xinit/xinput.d/all_ALL

    * After a restart of the X server everything should work.

  9. #18
    Just Joined!
    Join Date
    Sep 2008
    Location
    Southwest Kansas
    Posts
    57
    I found one more piece of the xkb puzzle. It is possible by using export to change the locale, in which the compose files in the locale directory can be used. I changed <dead_acute> <A> to "\13a0" which should have given Ꭰ, and loaded the locale en_US. However, instead of getting Ꭰ I get &#195;&#161;. But none the less a bit closer at changing it at a more lower level. I'm right now modifying the keysymdefs.h file to include the Cherokee unicode values, will make it much easier to edit files with a name rather than having to remember every single unicode value. Instead of having to put U13a0 I will (Um, should) be able to just type in cher_a.

    Notes on UTF-8 and locales
    http://www.linuxforums.org/forum/gen...lt-locale.html

  10. #19
    Just Joined! waya's Avatar
    Join Date
    Dec 2008
    Location
    Here
    Posts
    18
    Ꮖ (qua) was hard to find?

  11. #20
    Just Joined!
    Join Date
    Sep 2008
    Location
    Southwest Kansas
    Posts
    57
    Woops, my mistake. I have been busy and I didn't look over the .XCompose file well enough. On my keyboard to get the Ꮖ, Ꮗ, Ꮘ, Ꮙ, Ꮚ, ᎠᎴ Ꮛ letters I have to type in the letters qla, qle, qli, etc. I kept trying gu_, gw_, kw_, and qu_ instead of ql_.

    <Edit> OMG, I'm beginning to understand why most people say modifying xkb is difficult. Everything I've read states that all the deffinitions for the characters used in the symbols file is in the keysymdef.h file, however, I have made the "appropriate" changes to add the Cherokee unicode values to it, and they didn't work...I'm beginning to wonder why even bother including the keysymdef.h file and compose files on an install if they don't seem to be ever used (at least in the Zenwalk 5.2 distro).

    With xkb it seems more and more that everything is hidden. Ok, we'll have this file here to do this, then we'll create a copy of that file which isn't written in that exact same way over there. Now we'll place a file here which will do this, but wait, it wont work unless you use this file over there. Yet, wait again, we'll also make a file which lies far off over there that will help with using this file way over here.

    Code:
    #Cherokee unicode.
    
    #define XK_cher_a		0x10013a0
    #define XK_cher_e		0x10013a1
    #define XK_cher_i		0x10013a2
    #define XK_cher_o		0x10013a3
    #define XK_cher_u		0x10013a4
    #define XK_cher_v		0x10013a5
    
    #define XK_cher_ga		0x10013a6
    #define XK_cher_ka		0x10013a7
    #define XK_cher_ge		0x10013a8
    #define XK_cher_gi		0x10013a9
    #define XK_cher_go		0x10013aa
    #define XK_cher_gu		0x10013ab
    #define XK_cher_gv		0x10013ac
    
    #define XK_cher_ha		0x10013ad
    #define XK_cher_he		0x10013ae
    #define XK_cher_hi		0x10013af
    #define XK_cher_ho		0x10013b0
    #define XK_cher_hu		0x10013b1
    #define XK_cher_hv		0x10013b2
    
    #define XK_cher_la		0x10013b3
    #define XK_cher_le		0x10013b4
    #define XK_cher_li		0x10013b5
    #define XK_cher_lo		0x10013b6
    #define XK_cher_lu		0x10013b7
    #define XK_cher_lv		0x10013b8
    
    #define XK_cher_ma		0x10013b9
    #define XK_cher_me		0x10013ba
    #define XK_cher_mi		0x10013bb
    #define XK_cher_mo		0x10013bc
    #define XK_cher_mu	0x10013bd
    
    #define XK_cher_na		0x10013be
    #define XK_cher_hna	0x10013bf
    #define XK_cher_nah	0x10013c0
    #define XK_cher_ne		0x10013c1
    #define XK_cher_ni		0x10013c2
    #define XK_cher_no		0x10013c3
    #define XK_cher_nu		0x10013c4
    #define XK_cher_nv		0x10013c5
    
    #define XK_cher_gwa	0x10013c6
    #define XK_cher_gwe	0x10013c7
    #define XK_cher_gwi	0x10013c8
    #define XK_cher_gwo	0x10013c9
    #define XK_cher_gwu	0x10013ca
    #define XK_cher_gwv	0x10013cb
    
    #define XK_cher_sa		0x10013cc
    #define XK_cher_s		0x10013cd
    #define XK_cher_se		0x10013ce
    #define XK_cher_si		0x10013cf
    #define XK_cher_so		0x10013d0
    #define XK_cher_su		0x10013d1
    #define XK_cher_sv		0x10013d2
    
    #define XK_cher_da		0x10013d3
    #define XK_cher_ta		0x10013d4
    #define XK_cher_de		0x10013d5
    #define XK_cher_te		0x10013d6
    #define XK_cher_di		0x10013d7
    #define XK_cher_ti		0x10013d8
    #define XK_cher_do		0x10013d9
    #define XK_cher_du		0x10013da
    #define XK_cher_dv		0x10013db
    
    #define XK_cher_dla		0x10013dc
    #define XK_cher_tla		0x10013dd
    #define XK_cher_tle		0x10013de
    #define XK_cher_tli		0x10013df
    #define XK_cher_tlo		0x10013e0
    #define XK_cher_tlu		0x10013e1
    #define XK_cher_tlv		0x10013e2
    
    #define XK_cher_tsa		0x10013e3
    #define XK_cher_tse		0x10013e4
    #define XK_cher_tsi		0x10013e5
    #define XK_cher_tso		0x10013e6
    #define XK_cher_tsu		0x10013e7
    #define XK_cher_tsv		0x10013e8
    
    #define XK_cher_wa		0x10013e9
    #define XK_cher_we		0x10013ea
    #define XK_cher_wi		0x10013eb
    #define XK_cher_wo		0x10013ec
    #define XK_cher_wu		0x10013ed
    #define XK_cher_wv		0x10013ee
    
    #define XK_cher_ya		0x10013ef
    #define XK_cher_ye		0x10013f0
    #define XK_cher_yi		0x10013f1
    #define XK_cher_yo		0x10013f2
    #define XK_cher_yu		0x10013f3
    #define XK_cher_yv		0x10013f4
    If I "ever" figure out how xkb works, I'm going to run through the streets in the same manner as a famous figure in history and yell at the top of my lungs EUREKA EUREKA...LOL

Page 2 of 4 FirstFirst 1 2 3 4 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •