Difference between revisions of "Change keyboard layouts"

From LXDE.org
Jump to: navigation, search
(Tools used to switch keyboard layouts)
Line 12: Line 12:
* xkb
* xkb
* [lxkb-config]
* [lxkb-config]
* setxkbmap
==Input methods==
==Input methods==

Revision as of 17:22, 1 January 2012

X11 Configurations

There is a good document explaining how to setup keyboard layout for your X11 in xorg.conf: http://www.xfree86.org/current/XKB-Config2.html


Layout switching is controlled by X-server . Layouts and switching method are defined either in xorg.conf or in hal configuration files (if X uses hal for input devices). Layout configuration can be changed/added on-fly.

You can add a Layout switch plugin to your lxpanel. It shows the current layout in graphical or text mode and can be configured to remember layouts for each window.

Tools used to switch keyboard layouts

  • fbxkb
  • xkb
  • [lxkb-config]
  • setxkbmap

Input methods

This is another issue and the setup could be distro-specific.

Remote LXDE sessions

LXDE can be launched as remote DE over NX session, so all above information is irrelevant - no X server configuration is allowed as X server is embedded into client.

But keyboard layout has to be recognized somehow on the server and it is through internal server function. Keyboard map is always the same as local.

There is a bug with neatx (Google NX server implementation) which leaves some Linux clients with some unusable keys (at least arrows). The bug is not resolved, but there is workaround discussed here: http://code.google.com/p/neatx/issues/detail?id=7

Confirmed on Gentoo, works, posting here because above information can be misleading.