Return of the living dead keys (COMPLETE SCENARIO WITH SPOILERS)
Christos Ricudis
ricudis at komodino.itc.auth.gr
Wed Feb 23 13:01:58 EET 2005
Konstantinos Georgokitsos wrote:
>XF86Config:
>[...]
>Section "InputDevice"
> Driver "Keyboard"
> Identifier "Keyboard[0]"
> Option "Protocol" "Standard"
> Option "XkbLayout" "us"
> Option "XkbModel" "pc104"
> Option "XkbRules" "xfree86"
>
>EndSection
>
>
Diabasa diafores odhgies apo dw ki apo kei. Ena disekatommyrio FAQs kai
pentakosia HOWTOs.
Telika ta petaksa ola kai ekana ayto poy 8a prepe na eixa kanei apo thn
arxh, dhladh diabasa to documentation tou kseleyteria [1], kai katelhksa
sto
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "us,el"
Option "XkbOptions"
"grp:alt_shift_toggle,grp_led:caps,ctrl:swapcaps,compose:ralt"
dhladh ena pragmatika antriko layout gia ena pragmatika antriko
plhktrologio. Analytikotera :
pc101 : Ta antrika plhktrologia den exoun gynaikwta menu kai windows keys
"us,el" : Agglika kai ellhnika groups
grp:alt_shift_toggle : Allagh metaksy groups me to alt+shift
ctrl:swapcaps : Bazei to ctrl sth 8esh pou tou proorise o 8eos. Edw
mporei na xrhsimopoih8ei kai to nocaps - mia poy to caps lock einai
axrhsto. Wstoso to swapcaps exei to epipleon pleonekthma oti mperdeyei
anepanor8wta ton kosmo poy nomizei oti mporei na xrhsimopoihsei ton
ypologisth enos pragmatikou antra atimwrhtos - kai eidika se syndiasmo
me to.....
...grp_led:caps : Sas deixnei se entelws psarwtikh 8esh poio einai to
current group
compose:ralt : Sthn praksh to compose shmera einai to amesws pio axrhsto
pragma sto sympan meta tous orxeis tou Papa Iwannh Paylou tou B'. Wstoso
enas pragmatikos antras prepei panta na dinei ston eayto tou th sigouria
oti MPOREI na xrhsimopoihsei to compose, estw ki an den xreiazetai na to
kanei pote.
Ola ta parapanw metafrazontai se :
setxkbmap -rules xfree86 -model pc101 -layout "us,el" -options
"grp:alt_shift_toggle,grp_led:caps,ctrl:swapcaps,compose:ralt"
Gia na doume twra ti kanei to KDE otan paizeis me ta keyboard settings
tou. Energopoioume ola ta antoistixa options sta menus tou. Ws
pragmatikoi antres den ta pame poly kala me ta GUIs, eytuxws to KDE
keyboard layout configuration mas deixnei ta antistoixa setxkbmap
commands poy ektelei otan paizoume me ta marafetia[2] tou.
Anoigoume loipon to "Layout" tab, "enable keyboard layouts", dialegoume
keyboard model, kai kanoume add ta dyo layouts US kai EL. Sto "Switching
Options" tab kanoume enable to "show indicator for single layout", "Show
country flag", "Application switching policy". Sto xkb options "enable
xkb options", "alt-shift changes group", ktl ktl ktl.
Sto telos kanoume check kai to "reset old options". Otan to epileksoume,
blepoume oti sto setxkbmap prosti8etai ena empty -options command, to
opoio sto man page tou setxkbmap diabazoume oti kanei reset ta options.
An den to kanoume, to apotelesma otan 8'arxisoume na paizoume me ta xkb
options apo to menu tou KDE einai pws o,ti options dialegoume
PROSTI8ONTAI sta prohgoumena ka8e fora pou patame to apply. To
apotelesma einai toulaxiston xaotiko.
Epishs blepoyme oti o typos pou eftiakse to sygkekrimeno configuration
panel xrhsimopoihse nested option groups gia na omadopoihsei tis
parametrous tou xkb, enw 8a eprepe na xrhsimopoihsei ta expandable
marafetia[2] me to + kai to - poy ksexnaw pws legontai. To apotelesma
einai oti otan kaneis p.x. click sto "Group Shift/Lock behaviour", enw
perimeneis na energopoihsei ta options poy briskontai parakatw wste na
mporeis na epilekseis poia 8eleis, ayto kanei o,ti htan sxediasmeno na
kanei - dhladh ta energopoiei ola. Mallon brhkame kati pio axrhsto apo
tous orxeis tou Papa, kai arxizoume na anarwtiomaste ti narkwtika
pairnei o Andriy Rysin, poso ta pairnei, kai giati de mas exei dwsei kai
mas akomh.
Telika leme na dokimasoume ti kaname. Patame to "apply" kai pairnoyme ta
ayta tou Papa pou anaferame parapanw. To group switching me to alt-shift
den paizei, an kai ola ta ypoloipa deixnoun na douleyoun kanonika.
Ksanagyrname sto "Layout" tab kai blepoyme oti to ka8e layout
antistoixei se ena set apo xkb options. An epileksoume to "el" layout
mono tou kai epileksoume to "Include latin layout", blepoyme oti to
antistoixo layout sto setxkbmap ginetai "us,el". Mmm, briskomaste se
kalo dromo (kounia pou mas kounage). Kanoyme ksana apply kai blepoyme
oti otan to shmaiaki einai gyrismeno sta ellhnika, to group switching
douleyei, alla to shmaiaki den allazei. Otan einai gyrismeno sto
aggliko, to group switching DEN douleyei. Aaaaaa, malista. Profanws to
KDE kanei switch *entire layouts*, xwris na basizetai sto xkb group
toggle. Poly wraia, alla PWS kaneis toggle?
Gyrname sto KDE control center ki arxizoume to psaksimo. Wpa, edw einai.
Regional and Accessibility, Keyboard Shortcuts, Global Shortcuts, katw
katw. AAAAAAAAAARGH! "Switch to next keyboard layout : Alt+Ctrl+K".
Arxizoume na skeftomaste diafora pragmata poy perilambanoyn ton John
Holmes, ton Aluluh Butuzangu, ton Peter North, ton Ron Jeremy, thn
aderfh tou Daniel Molkentin, thn mana tou Matthias Hoelzer-Kluepfel, thn
ksaderfh tou Mattias Elter, thn gynaika tou Waldo Bastian, kai ton
Matthias Ettrich ton idio. Afou mas perasei, dokimazoume na allaksoume
to "Switch to next keyboard layout" shurtcut se alt-shift gia na doume
ti 8a ginei. Tzifos, den ginetai tipota, opote pros8etoume stis
fantasiwseis mas kai ton Rocco Sifreddi sth skhnh ths toualetas me ton
Mattias Ettrich.
Telika ta gyrname ola sta defaults, apenergopoioyme to KDE keyboard
layout switcher, apoxairetame to shmaiaki, kai kanoyme th douleia mas me
ta xkb groups.
Sto epomeno episodeio ths seiras tromou tou George Ricudis Romero :
"Dawn of the Dead", h alliws "Pws na petaksete eksw ta matakia sas
prospa8wntas na grapsete Ellhnika sto Lyx".
Ola ayta me KDE 3.3.1, Kseleyteria[1] 4.3.0.1 (Debian Sarge).
[1] XFree.
[2] Epishmh metafrash tou orou "widget".
[3] An DEN to epileksoume, o,ti allages kanoume edw 8a *proste8oun* sta
yparxonta xkb options. Otan to
--
Christos Ricudis ricudis at itc.auth.gr
Systems Administrator +30-2310-998656
IT Support Center
Aristotle University of Thessaloniki, GREECE
More information about the Linux-greek-users
mailing list