UTF-8 a dead keys
Peter Luciak
countx na host.sk
Pátek Červenec 12 10:15:57 CEST 2002
On Thu, Jul 11, 2002 at 03:55:04PM +0200, Radovan Garabik wrote:
> o aky linux ide? (mne uvedeny postup funguje pre cerstvo nainstalovane
> woody)
Ved to. Debian sid, posledne dist-upgradovany asi pred dvomi
tyzdnami...
> je locale spravne vygenerovane?
Hej, cez `dpkg-reconfigure locale'.
> co vypise locale charmap?
avalon:~$ locale charmap
UTF-8
> co tvrdi xev pri stlaceni prislusnej mrtvej klavesy?
Pri `setxkbmap sk':
(...)
KeyPress event, serial 27, synthetic NO, window 0x1a00001,
root 0x60, subw 0x0, time 4259162112, (-450,-239), root:(392,319),
state 0x10, keycode 38 (keysym 0x61, a), same_screen YES,
XLookupString gives 1 characters: "a"
KeyRelease event, serial 27, synthetic NO, window 0x1a00001,
root 0x60, subw 0x0, time 4259162144, (-450,-239), root:(392,319),
state 0x10, keycode 21 (keysym 0xfe51, dead_acute), same_screen YES,
XLookupString gives 2 characters: "´"
KeyRelease event, serial 27, synthetic NO, window 0x1a00001,
root 0x60, subw 0x0, time 4259162215, (-450,-239), root:(392,319),
state 0x10, keycode 38 (keysym 0x61, a), same_screen YES,
XLookupString gives 1 characters: "a"
> co to urobi ked skusis ine UTF-8 locale, nie en_US?
Neviem, mozem vyskusat (mam vygenerovane len en_US.UTF-8)
> setxkbmap us -option pc104compose
> a potom stlacit v tomto poradi: "Compose" "a" "apostrof"
Ee, vypise to stvorcek a vedla neho apostrof.
Ozaj, este XF86Config-4 vyzera takto:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc102"
Option "XkbLayout" "sk"
Option "AutoRepeat" "500 30"
Option "XkbCompat" "group_led"
EndSection
Bye,
Peto.
--
_| Peter Luciak <countx na host.sk>
_| +421 2 6224 6520 || +421 904 590 860
_| GPG KEY: http://countx.host.sk/pubkey
_| You cannot achieve the impossible without attempting the absurd.
Další informace o konferenci Linux