From: Togan Muftuoglu (toganm@turk.net)
Date: Thu 23 Nov 2000 - 19:32:01 EET
Rica etsem su asagidaki islemleri yaparak X11 'e Turkce klavyeyi default
olarak tanitmayi denermisiniz. Su anda benim sistemimde KDE2 altinda bu
sekilde calisiyor ustelik de Keyboard layoutda Turkish olarak cikiyor
1) Ekteki trq dosyasini
/usr/X11R6/lib/X11/xkb/symbols dizinine koyun
2) /usr/X11R6/lib/X11/xkb/keymap.dir dosyasina alttaki satiri oldugu
gibi yaz tercihan xfree(th)nin altina
-------- -------- xfree86(trq)
3) /usr/X11R6/lib/X11/xkb/symbols.dir dosyasina alttaki satirlari
oldugu gibi yazin tercihan th(basic) altina
-dp----- a------- trq(basic)
--p----- a------- trq(Sundeadkeys)
--p----- a------- trq(sundeadkeys)
--p----- a------- trq(nodeadkeys)
4) /usr/X11R6/lib/X11/xkb/rules dizininde xfree.lst, sun.lst ve sgi.lst
dosyalarinin layout kismina asagidaki satiri ekleyin
trq Turkish
5) /usr/X11R6/lib/X11/xkb/keymap dizininde xfree86 dosyasinin sonuna
asagidakini ekleyin
xkb_keymap "trq" {
xkb_keycodes { include "xfree86" };
xkb_types { include "default" };
xkb_compatibility { include "default" };
xkb_symbols { include "en_US(pc105)+trq" };
xkb_geometry { include "pc(pc102)" };
};
6)XF86Config dosyasinda asagidaki degisikleri yapin (XFree86 4.01 icin)
Win keyboardlar icin
Section "InputDevice"
Driver "keyboard"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbKeyCodes" "xfree86"
Option "XkbLayout" "trq"
Option "XkbModel" "pc105"
Option "XkbRules" "xfree86"
EndSection
XFree86 3.x icin XF86Config dosyasinda keyboardi asagidaki gibi
tanimlayin
winkeyboardlar icin
Section "Keyboard"
Protocol "Standard"
XkbRules "xfree86"
XkbKeycodes "xfree86"
XkbModel "pc105"
XkbLayout "trq"
XkbVariant "nodeadkeys"
EndSection
7)export LANG=tr_TR
8) Xserveri yeniden baslatin consoldan giriyorsaniz startx
Simdi KDE2 de Keyboard layout icin turkceyi secenekler arasinda gormeniz
lazim ve sectiginiz zamanda turkce klayvye calisir (insallah)
-- Togan Muftuoglu toganm@turk.net100% MS FREE Absolutely no component of Microsoft was used in the generation or posting of this e-mail. So it is virus free
// $XConsortium: de /main/4 1996/08/31 12:19:20 kaleb $ // $XFree86: xc/programs/xkbcomp/symbols/de,v 3.8 1999/07/12 05:10:47 dawes Exp $ default partial alphanumeric_keys xkb_symbols "basic" {
// Describes the differences between a very simple US/ASCII // keyboard and a very simple Turkish Q keyboard Togan Muftuoglu // toganm@yahoo.com 23 November 2000
// Alphanumeric section name[Group1]= "Turkish"; key <TLDE> { [ quotedbl, eacute ], [ notsign ] }; key <AE02> { [ 2, apostrophe ], [ twosuperior ] }; key <AE03> { [ 3, asciicircum ], [ numbersign ] }; key <AE04> { [ 4, plus ], [ dollar ] }; key <AE05> { [ 5, percent ], [ onehalf ] }; key <AE06> { [ 6, ampersand ], [ threequarters ] }; key <AE07> { [ 7, slash ], [ braceleft ] }; key <AE08> { [ 8, parenleft ], [ bracketleft ] }; key <AE09> { [ 9, parenright ], [ bracketright, plusminus ] }; key <AE10> { [ 0, equal ], [ braceright, degree ] }; key <AE11> { [ asterisk, question ], [ backslash, questiondown ] }; key <AE12> { [ minus, underscore ] };
key <AD01> { [ q, Q ], [ at ] }; key <AD03> { [ e, E ], [ EuroSign ] }; key <AD05> { [ t, T ] }; key <AD07> { [ u, U ] }; key <AD08> { [ yacute, I ] }; key <AD11> { [ eth, Eth ], [ dead_diaeresis ] }; key <AD12> { [ udiaeresis, Udiaeresis ], [ asciitilde, dead_macron ] }; key <AC10> { [ thorn, Thorn ], [ acute ] }; key <AC11> { [ i, Yacute ], [ dead_circumflex ] }; key <BKSL> { [ comma, semicolon ], [ grave ] };
key <LSGT> { [ less, greater ], [ bar ] }; key <AB07> { [ m, M ], [ mu ] }; key <AB08> { [ odiaeresis, Odiaeresis ] }; key <AB09> { [ ccedilla, Ccedilla ], [ periodcentered, division ] }; key <AB10> { [ period, colon ], [slash ] }; key <RALT> { [ Mode_switch, Multi_key ] };
// End alphanumeric section, begin "Keypad" key <KPDL> { [ KP_Delete, KP_Separator ] }; // End "Keypad" section
// begin modifier mappings modifier_map Shift { Shift_L }; modifier_map Lock { Caps_Lock }; modifier_map Control{ Control_L }; modifier_map Mod3 { Mode_switch }; };
partial alphanumeric_keys xkb_symbols "Sundeadkeys" { // modify the default Turkish Q layout to use Sun dead keys include "trq(basic)" key <TLDE> { [ quotedbl, eacute ], [ notsign ] }; key <AE12> { [ minus, underscore ] }; key <AD11> { [ eth, Eth ], [ SunFA_Diaeresis ] }; key <AD12> { [ udiaeresis, Udiaeresis ], [ SunFA_Tilde, dead_macron ] }; key <AC10> { [ thorn, Thorn ], [ SunFA_Acute ] }; key <AC11> { [ i, Yacute ], [ SunFA_Circum ] };
key <BKSL> { [ comma, semicolon ], [ SunFA_Grave ] }; };
partial alphanumeric_keys xkb_symbols "sundeadkeys" { include "trq(Sundeadkeys)" };
partial alphanumeric_keys xkb_symbols "nodeadkeys" { // modify the default Turkish Q layout to not have any dead keys include "trq(basic)" key <TLDE> { [ quotedbl, eacute ], [ notsign ] }; key <AE12> { [ minus, underscore ] }; key <AD11> { [ eth, Eth ], [ diaeresis ] }; key <AD12> { [ udiaeresis, Udiaeresis ], [ asciitilde, macron ] }; key <AC10> { [ thorn, Thorn ], [ acute ] }; key <AC11> { [ i, Yacute ], [ asciicircum ] };
key <BKSL> { [ comma, semicolon ], [ grave ] }; };
Listeden cikmak icin: unsub linux mesajini listeci@bilkent.edu.tr adresine gonderiniz. Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin. Listeci arayuzu: http://listweb.bilkent.edu.tr/yardim/bilkent/linux.html Liste arsivinin adresi: http://listweb.bilkent.edu.tr/