Ben Kal wrote:
On 13 Jun 2003 LeVA <[EMAIL PROTECTED]> wrote:
Yes, you now have to take the next two hurdles (the final ones, luckily): - installation of fonts that support the Hungarian character set and configuration of applications to use them; - configuration of the keyboard for generating all the Hungarian special characters.
The following are just hints to what to do; I advise you to read the HOWTO's about installing support for the Euro sign. Although that is a slightly different subject I expect you to find it very instructive because it points to all the places in the system that one has to fiddle with to get full support for one's funny national characters.
Fonts ~~~~~ The Hungarian character set is ISO-8859-2, isn't it? So you need fonts with support that character encoding.
For X11, such fonts are in the packages: xfonts-base-transcoded xfonts-75dpi-transcoded xfonts-100dpi-transcoded Just install the packages, and the fonts should be available to X11 programs, although some may need to be told to use them in a configuration file or configuration utility of their own, for instance for xterm, edit /etc/X11/app-defaults/XTerm (the *VT100*font lines)
For virtual consoles, the right fonts and character sets are in the package console-data Chances are you already have that installed. You will then find the fonts in /usr/share/consolefonts/, the character sets in /usr/share/consoletrans/. The fonts you will want are those with names starting with lat2, and the character sets the ones with names starting with iso2.
The way to make the right combination of font and character set active on virtual consoles is editing the file /etc/console-tools/config The comments in the file itself more or less tell you what to do; if still unsure, do: man consolechars; man charset.
No doubt there are more sources of fonts than the Debian packages mentioned, but I myself do not yet really know my way in the world of fonts.
Keyboard configuration ~~~~~~~~~~~~~~~~~~~~~~ Finally, the keyboard layout (what characters are generated by what keys and combinations of keys) must be such that there is a key or combination of keys to generate every special character that some national character set might have.
For X11, I *expect* that, in /etc/X11/XF86Config-4 under Section "Keyboard" you must enter Option "XkbLayout" "hu" but it could be that you will not like the effect at all. I myself do not use "XkbLayout" "nl", because on an official true Dutch keyboard many characters are under other keys than on an English keyboard; but once I learned to touch type on an English keyboard, so on a Dutch keyboard I constantly mistype!
Keyboard configuration in X11 is highly involved. The files that determine it are in a directory tree under /etc/X11/xkb/. The "Keyboard" Section of /etc/X11/XF86Config in effect tells the X server which of the files in /etc/X11/xkb/ it must read on startup to set up the keyboard.
I believe that the options available for "XkbLayout" in the "Keyboard" Section of /etc/X11/XF86Config correspond to the files in /etc/X11/xkb/symbols/. If none of those makes you really happy, you could make your own, by editing a copy of one of the existing ones ....
For virtual consoles, in /usr/share/keymaps/ find a Hungarian keymap file; the prime candidate I see on my system is hu101.kmap.gz Install a copy of the preferred keymap file as /etc/console/boottime.kmap.gz and from then on /etc/init.d/keymap.sh will make your console keyboard Hungarian on startup.
Again, as in X11, if none of the prefabricated official console keymaps is really convenient, edit one to your liking ....
Good luck with your 'localisation project' Ben
Thanks for answering. This is all ok, and I know how to make hungarian letters work "normally". The above set up is already done. My problem is when I start kde from kdm, those (the above) options do not take effect, the letters are not working. But when I start kde with startx, everything is fine.
-- LeVA
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]