Comment 56 for bug 196277

Revision history for this message
Oren_B (oren.barnea) wrote : Re: [hardy] keyboard layout switching shortcut doesn't work after reboot

Frantisek Fuka, here is a translation of instructions from an Israeli forum on how to fix this issue. It worked well on my machine, switching between English and Hebrew with Alt-Shift. Auto-login on. I can't be sure it will work with Czech, but I think it's worth trying:
1. Go to System --> Administration --> Language Support and make sure that "support for complex characters" is UNchecked (I also added Hebrew support there, I have no idea why it wasn't there already, I thought I added it after I installed Gutsy. Although the original instructions didn't mention it, I thought it couldn't hurt)
2. Edit your xorg.conf: the keyboard section should look like this:

Section "InputDevice"
   Identifier "Generic Keyboard"
   Driver "kbd"
   Option "CoreKeyboard"
   Option "XkbRules" "xorg"
   Option "XkbModel" "pc105"
   Option "XkbLayout" "us,il"
   Option "XKbOptions" "grp:alt_shift_toggle"
EndSection

The two changes from what I had originally are:
- under "XkbLayout", I replaced "us" with "us,il"
- added the line
Option "XKbOptions" "grp:alt_shift_toggle"

Next time I logged out and in again it worked well. Rebooted to make sure, worked again.
Good luck!