XFree86 4.2 sürümünün klavye dosyası ve caps dosyası
Önceki A. Ekler Sonraki
XFree86 4.2 sürümünün klavye dosyası ve caps dosyası
Aşağıdaki metni bir metin düzenleyici içine kopyaladıktan sonra /etc/X11/xkb/symbols/ dizinine tr ismiyle kaydedin. Mevcut dosyanızı saklamak isterseniz ismini tr.eski olarak değiştirmeniz yeterli olacaktır.
// Turkish keyboard symbols for PC and xkb
// This file distributed without any expressed or implied warranty
// Nilgün Belma Bugüner <[email protected]>, 2002
// Thanks to Ivan Pascal <[email protected]> for improvements in this file.
// Thanks to Deniz Akkuş <[email protected]> for improvements in this file.

//Default Layout (Turkish Q)
default partial
xkb_symbols "basic" {
        include "tr(tr_common)"
    //Turkish "Q" (105 keys) keyboard)
    // Describes the differences between a very simple US/ASCII
    // keyboard and a Turkish Q keyboard

    // Option "XkbRules"      "xfree86"
    // Option "XkbModel"      "pc105"
    // Option "XkbLayout"     "tr"
    // Option "XkbOptions"    "caps:shift"

    name[group1]="turkish";
    key <AE02> { [          2, apostrophe ],[     sterling,    twosuperior ] };
    key <AE04> { [          4,       plus ],[       dollar,     onequarter ] };
    key <AE07> { [          7,      slash ],[    braceleft,     VoidSymbol ] };
    key <AE11> { [   asterisk,   question ],[    backslash,   questiondown ] };
    key <AD02> { [          w,          W ],[   VoidSymbol,     VoidSymbol ] };
    key <AD03> { [          e,          E ],[     EuroSign,     VoidSymbol ] };
    key <AD05> { [          t,          T ],[    trademark,     VoidSymbol ] };
    key <AD07> { [          u,          U ],[  ucircumflex,    Ucircumflex ] };
    key <AD08> {type[group1] = "ALPHABETIC",
                 [   idotless,          I ],[  icircumflex,    Icircumflex ] };
    key <AD09> { [          o,          O ],[  ocircumflex,    Ocircumflex ] };
    key <AD11> {type[group1] = "ALPHABETIC",[       gbreve,         Gbreve ] };
    key <AD12> { [ udiaeresis, Udiaeresis ] };
    key <AC01> { [          a,          A ],[  acircumflex,    Acircumflex ] };
    key <AC02> { [          s,          S ],[      section,     VoidSymbol ] };
    key <AC03> { [          d,          D ],[   VoidSymbol,     VoidSymbol ] };
    key <AC04> { [          f,          F ],[  ordfeminine,     VoidSymbol ] };
    key <AC05> { [          g,          G ],[   VoidSymbol,     VoidSymbol ] };
    key <AC06> { [          h,          H ],[   VoidSymbol,     VoidSymbol ] };
    key <AC08> { [          k,          K ],[   VoidSymbol,     VoidSymbol ] };
    key <AC10> {type[group1] = "ALPHABETIC",
                 [   scedilla,   Scedilla ],[        acute,     dead_acute ] };
    key <AC11> {type[group1] = "ALPHABETIC",
                 [          i,  Iabovedot ],[   apostrophe,     dead_caron ] };
    key <TLDE> { [   quotedbl,  backslash ],[    plusminus,         degree ] };
    key <BKSL> { [      comma,  semicolon ],[        grave,     dead_grave ] };
    key <AB08> { [ odiaeresis, Odiaeresis ],[     multiply,     VoidSymbol ] };
    key <AB09> { [   ccedilla,   Ccedilla ],[  periodcentered,    division ] };
    key <AB10> { [     period,      colon ],[ dead_abovedot, dead_abovedot ] };
};

// Turkish F Layout
partial
xkb_symbols "tr_f" {
        include "tr(tr_common)"
    //Turkish "Q" (105 keys) keyboard)
    // Describes the differences between a very simple US/ASCII
    // keyboard and a Turkish F keyboard

    // Option "XkbRules"      "xfree86"
    // Option "XkbModel"      "pc105"
    // Option "XkbLayout"     "tr"
    // Option "XkbVariant"    "tr_f"
    // Option "XkbOptions"    "caps:shift"

        name[group1]="turkish";
    key <AE02> { [          2,   quotedbl ],[ twosuperior,      VoidSymbol ] };
    key <AE04> { [          4,     dollar ],[  onequarter,      VoidSymbol ] };
    key <AE07> { [          7, apostrophe ],[   braceleft,      VoidSymbol ] };
    key <AE11> { [      slash,   question ],[   backslash,    questiondown ] };
    key <AD01> { [          f,          F ],[          at,      VoidSymbol ] };
    key <AD02> { [          g,          G ],[  VoidSymbol,      VoidSymbol ] };
    key <AD03> {type[group1] = "ALPHABETIC",
                 [     gbreve,     Gbreve ],[  VoidSymbol,      VoidSymbol ] };
    key <AD04> {type[group1] = "ALPHABETIC",
                 [   idotless,          I ],[   paragraph,      VoidSymbol ] };
    key <AD05> { [          o,          O ],[ ocircumflex,     Ocircumflex ] };
    key <AD06> { [          d,          D ],[         yen,      VoidSymbol ] };
    key <AD07> { [          r,          R ],[  registered,      VoidSymbol ] };
    key <AD08> { [          n,          N ],[  VoidSymbol,      VoidSymbol ] };
    key <AD09> { [          h,          H ],[      degree,      VoidSymbol ] };
    key <AD11> { [          q,        Q ],[ dead_diaeresis, dead_abovering ] };
    key <AD12> { [          w,          W ],[  dead_tilde,      dead_breve ] };
    key <AC01> { [          u,          U ],[ ucircumflex,     Ucircumflex ] };
    key <AC02> {type[group1] = "ALPHABETIC",
                 [          i,  Iabovedot ],[ icircumflex,     Icircumflex ] };
    key <AC03> { [          e,          E ],[    EuroSign,      VoidSymbol ] };
    key <AC04> { [          a,          A ],[ acircumflex,     Acircumflex ] };
    key <AC05> { [ udiaeresis, Udiaeresis ],[ ucircumflex,    Ucircumflex  ] };
    key <AC06> { [          t,          T ],[   trademark,      VoidSymbol ] };
    key <AC07> { [          k,          K ],[  VoidSymbol,      VoidSymbol ] };
    key <AC08> { [          m,          M ],[          mu,      VoidSymbol ] };
    key <AC10> { [          y,          Y ],[       acute,      dead_acute ] };
    key <AC11> {type[group1] = "ALPHABETIC",
                 [   scedilla,   Scedilla ],[  numbersign,      dead_caron ] };
    key <TLDE> { [       plus,   asterisk ],[     notsign,       plusminus ] };
    key <BKSL> { [          x,          X ],[       grave,      dead_grave ] };
    key <AB01> { [          j,          J ],[ guillemotleft,    VoidSymbol ] };
    key <AB02> { [ odiaeresis, Odiaeresis ],[ guillemotright,   VoidSymbol ] };
    key <AB03> { [          v,       V ],[ leftdoublequotemark, VoidSymbol ] };
    key <AB04> { [          c,          C ],[        cent,       copyright ] };
    key <AB05> { [ ccedilla, Ccedilla ],[ rightdoublequotemark, VoidSymbol ] };
    key <AB06> { [          z,          Z ],[  VoidSymbol,      VoidSymbol ] };
    key <AB07> { [          s,          S ],[     section,      VoidSymbol ] };
    key <AB08> { [          b,          B ],[    multiply,    nobreakspace ] };
    key <AB09> { [     period,      colon ],[    division,   dead_abovedot ] };
    key <AB10> { [      comma,  semicolon ],[ periodcentered,   VoidSymbol ] };
};

// Turkish Common Layout
partial
xkb_symbols "tr_common" {
    name[group1]="Turkish";
    key <AE03> { [     3, dead_circumflex ],[    numbersign, threesuperior ] };
    key <AE06> { [          6,  ampersand ],[ threequarters,    VoidSymbol ] };
    key <AE08> { [          8,  parenleft ],[   bracketleft,    VoidSymbol ] };
    key <AE09> { [          9, parenright ] };
    key <AE10> { [          0,      equal ] };
    key <AE12> { [      minus, underscore ],[      division,    VoidSymbol ] };
    key <AD10> { [          p,          P ],[      sterling,    VoidSymbol ] };
    key <AC09> { [          l,          L ],[    VoidSymbol,    VoidSymbol ] };
    key <SPCE> { [      space,      space ],[  nobreakspace,  nobreakspace ] };
    key <LSGT> { [       less,    greater ],[           bar,     brokenbar ] };

    modifier_map Control { <LCTL> };
    modifier_map Shift   { <LFSH> };
    modifier_map Shift   { <RTSH> };
    modifier_map Mod1    { <LALT> };
    modifier_map Lock    { <CAPS> };
    modifier_map Mod2    { <NMLK> };
    modifier_map Mod5    { <SCLK> };
    modifier_map Control { <RCTL> };
    modifier_map Mod3    { <RALT> };
    modifier_map Mod4    { <LWIN> };
};
Aşağıdaki metni bir metin düzenleyici içine kopyaladıktan sonra /etc/X11/xkb/types/ dizinine caps ismiyle kaydedin.
// $XFree86: xc/programs/xkbcomp/types/caps,v 1.1 2001/08/13 19:39:04 dawes Exp

// CapsLock uses internal capitalization rules
// Shift cancels CapsLock
partial xkb_types "internal" {
    type "ALPHABETIC" {
        modifiers = Shift+Lock;
        map[Shift] = Level2;
        preserve[Lock]= Lock;
        level_name[Level1] = "Base";
        level_name[Level2] = "Caps";
    };
};
// CapsLock uses internal capitalization rules
// Shift doesn't cancel CapsLock
partial xkb_types "internal_nocancel" {
    type "ALPHABETIC" {
        modifiers = Shift;
        map[Shift] = Level2;
        level_name[Level1] = "Base";
        level_name[Level2] = "Caps";
    };
};
// CapsLock acts as Shift with locking
// Shift cancels CapsLock
partial xkb_types "shift" {
    type "ALPHABETIC" {
        modifiers = Shift+Lock;
        map[Shift] = Level2;
        map[Lock]= Level2;
        level_name[Level1] = "Base";
        level_name[Level2] = "Caps";
    };
};
// CapsLock acts as Shift with locking
// Shift doesn't cancel CapsLock
partial xkb_types "shift_nocancel" {
    type "ALPHABETIC" {
        modifiers = Shift+Lock;
        map[Shift] = Level2;
        map[Lock]= Level2;
        map[Shift+Lock]= Level2;
        level_name[Level1] = "Base";
        level_name[Level2] = "Caps";
    };
};
Önceki Üst Ana Başlık Sonraki
XFree86 4.1 sürümünün klavye dosyası Başlangıç XFree86 4.3.0 sürümünün klavye dosyası
Bir Linux Kitaplığı Sayfası