change keyboard layouts through command line

Tom Marshall tommy at home.tig-grr.com
Sat Dec 24 07:56:04 UTC 2005


On Mon, Dec 19, 2005 at 11:06:23PM +0330, Mehdi Hassanpour wrote:
>    Hi Friends,
>    I'm looking  for a way to add a new layout (language) and then change
>    layout options through command line, can any one please help ?

Check out setxkbmap.  Examples:

  setxkbmap -layout dvorak

  setxkbmap -rules xfree86 -model pc101 -layout dvorak,us,el -option grp:alt_shift_toggle

See "man setxkbmap" for more info.

HTH




More information about the ubuntu-users mailing list