fbxkb

About
FAQ
Download
 
Development
 
SourceForge.net Logo
 
Support This Project
space

Frequently Asked Questions about fbxkb

  1. How it knows what is current keyboard
  2. How it knows what are alternative keyboards
  3. Why I have no alternative keyboards
  4. How can I add more keyboards


Q1. How it knows what is current keyboard

It asks X server

Q2. How it knows what are alternative keyboards

It asks X server

Q3. Why I have no alternative keyboards

Couse your X server does not have them. Add them to it and fbxkb will update its view automatically.

Q4. How can I add more keyboards to X server

You can use setxkbmap to do it. For example, to load 3 keyboards - english, german and italian (us, de, it) and to switch betwean them using both shifts, run this:

setxkbmap -option grp:switch,grp:shifts_toggle,grp_led:scroll us,de,it

Alternatively, you can edit /etc/X11/XF86Config and restart X server, but any subsequent setxkbmap will overwrite those settings. Here is quote from my XF86Config

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "kbd"
        Option          "XkbLayout"     "us,ru(phonetic)"
        Option          "XkbOptions"    "grp:shifts_toggle,grp_led:scroll"
EndSection

And same thing with setxkbmap

setxkbmap -option grp:switch,grp:shifts_toggle,grp_led:scroll 'us,ru(phonetic)'
Updated on 18-02-2009