[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: US-Tastatur, AltGr und Eurozeichen (und andere)



* Frank Küster:

> Das klingt vernünftig.  Stellst du mir das Ergebnis dann zur Verfügung -
> ich lese die Liste nicht konstant.

So, an Dich und die Liste ein erster Wurf zum Begutachten. Die Datei muß
nach /etc/X11/xkb/symbols/pc/us_DE installiert werden. Was mir selbst
noch nicht so gefällt ist, daß die kombinierte Variante
»umlauts_nodeadkeys« aus beiden Einzelvarianten zusammenkopiert ist, das
macht die Wartung um so schwieriger, je komplexer das Layout
(theoretisch) würde. Scheint aber nicht anders zu gehen, und beim
de-Layout sehe ich es genauso gelöst (z.B. Varianten »de_ro« und
»de_ro_nodeadkeys«).

Grüße,
Andreas
-- 
You have an unusual magnetic personality.  Don't walk too close to
metal objects which are not fastened down.
//
// $XdotOrg: xc/programs/xkbcomp/symbols/pc/us,v 1.2 2004/04/23 19:54:56 eich Exp $
// $XFree86: xc/programs/xkbcomp/symbols/pc/us,v 1.6 2003/10/31 14:32:05 pascal Exp $

// modified us(intl) layout for German users
// by Andreas Kroschel <kro@pobox.com>
// as a default, us_DE(basic) is the same as us(intl)

default
partial alphanumeric_keys modifier_keys 
xkb_symbols "basic" {

    name[Group1]= "US International/German";

    include "pc/us(intl)"
};

// compared to us(intl), us_DE(umlauts) swaps the third level keys for
// umlauts with the corresponding acute version of a basic character 

partial Alphanumeric_keys
xkb_symbols "umlauts" {

    include "pc/us(intl)"

    // Alphanumeric section
    key <AD01> { [	   q,          Q,        aacute,           Aacute ] };
    key <AD06> { [	   y,          Y,        uacute,           Uacute ] };
    key <AD07> { [	   u,          U,    udiaeresis,       Udiaeresis ] };
    key <AD08> { [	   i,          I,        iacute,           Iacute ] };
    key <AD09> { [	   o,          O,    odiaeresis,       Odiaeresis ] };
    key <AD10> { [	   p,          P,        oacute,           Oacute ] };
    key <AC01> { [	   a,          A,    adiaeresis,       Adiaeresis ] };
};

// us_DE(nodeadkeys) shifts dead_grave, dead_tilde, dead_acute and
// dead_diaeresis to the third and fourth level so we can reach grave,
// tilde, apostrophe and quotedbl directly

partial alphanumeric_keys
xkb_symbols "nodeadkeys" {

    include "pc/us(intl)"

    // Alphanumeric section
    key <TLDE> { [         grave,       asciitilde, dead_grave, dead_tilde] };
    key <AE06> { [    6, asciicircum ,    onequarter,      dead_circumflex] };
    key <AC11> { [ apostrophe,        quotedbl, dead_acute, dead_diaeresis] };
};

// us_DE(umlauts_nodeadkeys) combines both above variants

partial alphanumeric_keys
xkb_symbols "umlauts_nodeadkeys" {

    include "pc/us_DE(umlauts)"

    key <TLDE> { [         grave,       asciitilde, dead_grave, dead_tilde] };
    key <AE06> { [    6, asciicircum ,    onequarter,      dead_circumflex] };
    key <AC11> { [ apostrophe,        quotedbl, dead_acute, dead_diaeresis] };
};

Reply to: