1

There is a host of regressions related to switching keyboard layouts in 13.10. One of them is that the dialogue lets one choose accelerators for selecting previous/next keyboard layout:

screenshot

Previously, I was able to have accelerator for the first layout (which was Caps Lock) and for the second layout (Shift+Caps Lock) rather than changing the layout with either of those combinations.

Someone knows a workaround for this?

PS: A workaround for the Caps LED indicating the layout is likewise appreciated.

2

This command will set layout to the first one:

gsettings set org.gnome.desktop.input-sources current 0

You can use tweak tools, gnome action, compiz action plugin..etc to create a keyboard shortcut for it.

Layouts are indexed starting from 0. So you can make shortcut for any layout in the list.

You can use this to create complex script for last layout without giving an index:

 gsettings get org.gnome.desktop.input-sources sources

Like:

 gsettings set org.gnome.desktop.input-sources current $(($(gsettings get org.gnome.desktop.input-sources sources | grep -Po "'[[:alpha:]]+'\)" | wc -l)-1))
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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