Re: unicode input in X apps: how to?
On Thu, 30 Sep 2004, Tony Harlequin wrote:
> As for X the keyboards, they are all in /etc/X11/xkbd
> The ones I have listed are ru, ge_ru and ru_yawerty.
> You might find more if you do apt-cache search.
I think I might have found why I get an error trying to enter ru_yawerty
into setxkbmap. The directory you mention actually doesn't have any
keyboard map listings in it: it has subdirectories and some README type
files, but no keyboard map listings. At least not on my Debian unstable
system. The contents of the directory are: /compat, geometry.dir,
keymap.dir, /rules, /types, compat.dir, /keycodes, README, /semantics,
types.dir, /compiled, keycodes.dir, README.config, /symbols, xkbcomp,
/geometry, /keymap, README.enhancing, symbols.dir. Under the symbols
subdirectory I find a pretty long list of what appear to be keyboard maps
though, along with another set of subdirectories. The subdirectories
appear to be for varying types of keyboards (manufacturers): /digitial,
/fujitsu, /hp, /macintosh, /nec, /pc, /sgi, /sony - and so forth. Among
the apparent keyboard map entries listed in this symbols subdirectory
there are, indeed, the ru, ge_ru and ru_yawerty you mention (along with
alot of others). Guessing from my last post where an error message
mentioned something like pc/ru_yawerty not found, I've decided that maybe,
since my XF86Config-4 file has my keyboard listed as "pc104," the keyboard
map entries need to be under the subdirectory /pc within the symbols
subdirectory. Does that sound right? There's definitely no ge_ru or
ru_yawerty entry in there now (though ru is there). Maybe I just need to
copy it over from /etc/X11/xkb/symbols to /etc/X11/xkb/symbols/pc? Why
it's not already there is unclear to me. But logic tells me this may be
the way to get the phonetic ru_yawerty keyboard map loading instead of the
ru one. If it's true, I'm a little surprised it's taken so much effort
and digging to find such a simple process. Anyway, if I meet with success
with this I'll only need to puzzle out how/where to get a Greek keyboard
map that allows entry of diacriticals: I'll need some sort of "dead keys"
for this, it seems - i.e., keys that insert a symbol without advancing.
That may be a tougher problem.