[xubuntu-users] change keyboard layout

Marko Oreskovic markoresko at gmail.com
Thu Nov 13 03:09:11 UTC 2008

Foxy wrote:
> I am struggling to configure a shortcut to switch keyboard layout. I set 
> the layouts I need in Settings Manager/Keyboard/Layouts but cannot find 
> how to configure a keyboard shortcut to switch between these layouts. 
> Any help please?

Newer version of xfce4-xkb-plugin (0.5.1) inside jaunty uses GUI setup
for setting keyboard shortcut for layout switching.

You could post a bug with request of porting 0.5.1 to Hardy-backports or
to Interpid.

In the meantime, use the trick I am using:
Open for editing xorg.conf file:
 gksu mousepad /etc/X11/xorg.conf

Found section:
Section "InputDevice"
Identifier "Generic Keyboard"

and insert:

 Option "XkbOptions" "grp:alt_shift_toggle"

before the end of the section
(e.g. above "EndSection")

Restart X (ctrl+alt+backspace) or just logout and login or restart
and new Alt+Shift shortcut will work now. (You also can set some other
key combination that you prefer)

More information about the xubuntu-users mailing list