Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I use 3 different languages (English, Czech and Russian) every day. I'd prefer to switch (preferably globally, I don't like per-window) between them with Left+Alt+Shift.

I'd also like to see the active language indication.

Unfortunately I couldn't find any obvious way to set this up in XUbuntu 11.10 - there is even no keyboard indicator applet available in the panel configuration. Any recommendations?

share|improve this question
    
10X man - you are godlike! This is it the easiest and the most efective way! Gave meaning to all the hours I've lost in searching for solution setxkbmap -option grp:switch,grp:caps_toggle us,bg –  user143032 Mar 24 '13 at 15:28

2 Answers 2

up vote 17 down vote accepted

There is a keyboard layout plugin for xfce - xfce4-xkb-plugin. Install it, if it's not installed, then add it to the panel. Right click its icon and add the layouts you want.

To configure only keyboard shortcut use:

setxkbmap -option grp:switch,grp:alt_shift_toggle us,ru
share|improve this answer
    
Thanks, but it can't remember my preferences! askubuntu.com/questions/66096/… –  Ivan Oct 14 '11 at 10:17
    
What does "Add it to the panel" mean? How do you do that? –  Ari Brodsky Jun 23 at 7:52
    
Well, I figured it out using the other answer, but for reference "the panel" means the horizontal panel at the top of the screen. Maybe it's obvious to most people, but I'm a newbie to Xubuntu. –  Ari Brodsky Jun 23 at 7:56

Ran into the same issue with xubuntu 13.04. The old way many online docos referred to (via Settings > Keyboard > Layout Options) no longer worked because there was no such button any more. Here is the new conventional (as in, no shell commands or X11 conf editing required) method that worked for me, in detail:

  • Make sure the xfce4-xkb-plugin package has been installed (normally it should).
  • Right-click on the top panel and select Panel > Add New Items...
  • Select the Keyboard Layouts item from the list. A flag icon will appear in the panel.
  • Now right-click on the flag icon in the top panel and select Properties.
  • Now you will get the actual layout switch setup menu where you can choose your layout change key combo as well as customize other useful stuff including the list of layouts.

P.S. I don't mind using the shell or editing the X11 configuration. For that matter, I love using the shell. However, I hate it when the shell needs to be used to set up a GUI. :)

share|improve this answer
    
This solution also works on Xubuntu 12.04. –  Luís de Sousa Mar 5 at 17:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.