Hello,

I hope I got the right lists to post to. I wrote an Xkb variant
for the Dvorak Layout to include German umlauts and various
other characters because the current Dvorak symbols file lacks a
de variant AFAICS.

Furthermore I wrote a variant to add the functionality to map
the Greek alphabet to the windows keys (of course provided that
you've got them) to any Dvorak layout.

The attached file is meant to be just appended to
/usr/X11/lib/X11/xkb/symbols/pc/dvorak so no real patch file is
necessary.

Any suggestions are highly welcome. Kind regards,

        Christian

-- 
,----------------------------.          ___________________  /"\ ASCII RIBBON
| Christian Mertes aka mudd1 |   ...   |[EMAIL PROTECTED]| \ /   CAMPAIGN
`---------------------------(_  ( ··)  |___________________|  X AGAINST HTML IN
[EMAIL PROTECTED](_)--Ooo-------| |--------- / \ MAIL AND NEWS
// map the greek alphabet to the windows keys
partial alphanumeric_keys
xkb_symbols "greek" {
    augment "group(win_switch)"
    name[Group1]= "Default";
    name[Group2]= "Greek";
    key <AC01> { [], [Greek_alpha, Greek_ALPHA] };      // a
    key <AB06> { [], [Greek_beta, Greek_BETA] };        // b
    key <AD08> { [], [Greek_gamma, Greek_GAMMA] };      // c
    key <AC06> { [], [Greek_delta, Greek_DELTA] };      // d
    key <AC03> { [], [Greek_epsilon, Greek_EPSILON] };  // e
    key <AD06> { [], [Greek_zeta, Greek_ZETA] };        // f
    key <AD07> { [], [Greek_eta, Greek_ETA] };          // g
    key <AC07> { [], [Greek_theta, Greek_THETA] };      // h
    key <AC05> { [], [Greek_iota, Greek_IOTA] };        // i
    key <AB04> { [], [Greek_kappa, Greek_KAPPA] };      // k
    key <AD10> { [], [Greek_lambda, Greek_LAMBDA] };    // l
    key <AB07> { [], [Greek_mu, Greek_MU] };            // m
    key <AC09> { [], [Greek_nu, Greek_NU] };            // n
    key <AB02> { [], [Greek_xi, Greek_XI] };            // q
    key <AC02> { [], [Greek_omicron, Greek_OMICRON] };  // o
    key <AD04> { [], [Greek_pi, Greek_PI] };            // p
    key <AD09> { [], [Greek_rho, Greek_RHO] };          // r
    key <AC10> { [], [Greek_sigma, Greek_SIGMA, Greek_finalsmallsigma] }; // s
    key <AC08> { [], [Greek_tau, Greek_TAU] };          // t
    key <AC04> { [], [Greek_upsilon, Greek_UPSILON] };  // u
    key <AB09> { [], [Greek_phi, Greek_PHI] };          // v
    key <AB05> { [], [Greek_chi, Greek_CHI] };          // x
    key <AB08> { [], [Greek_psi, Greek_PSI] };          // w
    key <AB10> { [], [Greek_omega, Greek_OMEGA] };      // z
};

// Dvorak keyboard with support for German umlauts and
// many other special characters
partial alphanumeric_keys
xkb_symbols "de" {
    include "pc/dvorak(basic)"
    augment "pc/dvorak(greek)"
    key <AC01> { [ a,   A,      adiaeresis,     Adiaeresis ] };
    key <AC02> { [ o,   O,      odiaeresis,     Odiaeresis ] };
    key <AC03> { [ e,   E,      EuroSign,       cent    ] };
    key <AC04> { [ u,   U,      udiaeresis,     Udiaeresis ] };
    key <AC10> { [ s,   S,      ssharp                  ] };
    key <AB07> { [ m,   M,      mu,             dead_macron ] };
    key <AE01> { [ 1,   exclam, exclamdown,     onesuperior ] };
    key <AE02> { [ 2,   at,     quotedbl,       twosuperior ] };
    key <AE03> { [ 3,   numbersign, sterling,   threesuperior ] };
    key <AE04> { [ 4,   dollar, currency,       onequarter ] };
    key <AE05> { [ 5,   percent, onehalf,       onehalf ] };
    key <AE07> { [ 7,   ampersand, section,     paragraph ] };
    key <AE08> { [ 8,   asterisk, aring,        Aring   ] };
    key <AE09> { [ 9,   parenleft, ae,          AE      ] };
    key <AE10> { [ 0,   parenright, oslash,     Ooblique ] };
    key <AE11> { [ bracketleft, braceleft, oe,  OE      ] };
    key <AE12> { [ bracketright, braceright,    dead_breve ] };
    key <AD11> { [ slash, question, division,   questiondown ] };
    key <AC11> { [ minus, underscore, hyphen,   macron  ] };
    key <AD10> { [ l,   L,      lstroke,        Lstroke         ] };
    key <AD04> { [ p,   P,      thorn,          THORN   ] };
    key <AD05> { [ y,   Y,      yen                    ] };
    key <AD06> { [ f,   F,      ordfeminine, femalesymbol ] };
    key <AD07> { [ g,   G,      masculine, malesymbol  ] };
    key <AD08> { [ c,   C,      ccedilla,       copyright ] };
    key <AD09> { [ r,   R,      registered              ] };   
    key <AC05> { [ i,   I,      idotless,       Iabovedot ] };
    key <AC06> { [ d,   D,      eth,            ETH     ] };
    key <AB03> { [ j,   J,      doublelowquotemark, singlelowquotemark ] };
    key <AB04> { [ k,   K,      rightdoublequotemark, rightsinglequotemark ] };
    key <AC09> { [ n,   N,      ntilde,         Ntilde  ] };
    key <AB02> { [ q,   Q,      degree,         partialderivative ] };
    key <AD12> { [ equal, plus, notequal,       plusminus ] };
    key <AB05> { [ x,   X,      multiply,       horizconnector ] };  
    key <AB08> { [ w,   W,      notsign,        infinity ] };
    key <AB09> { [ v,   V,      logicalor,      logicaland ] };
    key <AB10> { [ z,   Z,      union,          intersection ] };
    key <SPCE> { [ space, space, nobreakspace,  nobreakspace ] };
    key <BKSL> { [ backslash, bar, brokenbar,   brokenbar ] };
    key <LSGT> { [ less,  greater, guillemotleft, guillemotright ] };
};

Attachment: pgp67A6ViJTWW.pgp
Description: PGP signature

Reply via email to