Joined: 03 Apr 2003
|Posted: Thu Jun 24, 2004 9:41 am Post subject:
|You should edit /etc/xorg.conf or Xfree86.conf. In section InputDevice - Keyboard, you should finetune your keyboard layouts.
Option "XkbRules" "xfree" or "xorg"
Option "XkbModel" "pc104" (maybe you should try pc105, but I had problems with it - put your keyboard model here, you can see what models X knows if you see /usr/X11R6/lib/X11/xkb/geometry dir, there are files like HP or Microsoft, you should find model names in them).
Option "XkbLayout" "hu,ru,fi" (here you can select main layouts. You should find the names in /usr/X11R6/lib/X11/xkb/symbols directory. You shpuld see here a "fi" name, and can look into pc subdir, too, because sometimes X looks here.)
Option "XkbVariant" "" (the main thing, here you can define that main layout was fi, but you need an alternative fi layout - the names are in above dir. You have to define ariants for all layouts, if you want the default, just leave it, for example:
if XkbModel is "us,hu", you have to give the variant for us and hu, too, but I don't want define it for us, so I put an empty string:
Variants are in fi file, for example, basic, Sundeadkeys, nodeadkeys, and pc/fi has fi, nodeadkeys.
Option "XkbOptions" "" - here you define modify keys, group switching.
I have this:
It tells that I use switching the layouts, with left ALT+Shift, and secondary layouts are indicated by lighting the scroll led.
Alternativelly, the easiest way is to start KDE. Its Control Center shows all available layouts and the variants, which you can test if you like it, and write into the config file.