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 have a few language keyboard layouts installed in 12.04. I am using Ctrl-Shift keyboard shortcut for switching between language layouts. Such switching method takes a lot of my time.

Is there any possibility to set up a different keyboard shortcut for each language keyboard layout?

For example:

Ctrl-Shift-1 (English layout),

Ctrl-Shift-2 (Polish layout),

Ctrl-Shift-3 (Italian layout), etc.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Simple: go to keyboard settings, click on "Shortcuts", and add "Custom shortcut". For each shortcut, add the respective command that chooses one layout. The commands are

setxkbmap -layout en
setxkbmap -layout pl
setxkbmap -layout it

etc.

share|improve this answer
    
This is magic :-) Thank you !!!!! –  Vitaliy Sep 30 '12 at 15:51

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.