Debian – KDE How to switch between 4 keyboard layouts

debiankde4keyboard-layout

I have KDE 4.14.2 on Debian 8.1 installed. When I have 3 layouts, switching META+Spacebar works perfectly. The problem begins when I am adding 4th layout, switching works incorrectly: I'm only able to switch from 1st->2nd layout, when I click switch layout shortcut in other cases (2,3,4) it does not work at all, so that 2->3, 3->4, 4->1 do not work at all.

I found some workaround to this: I have checked spare layouts option, so now I am able to switch between the most usable 3 layouts. But anyways I use 4. I couldn't find any solution of this on the internet. How to fix this?

Best Answer

Solution : untick the spare layout option for your layouts.

You should not use the spare layout option. This behaviour is perfectly sensible given that option (it is exactly what it is meant to do):

According to some KDE doc (pdf, html):

Spare layouts

This option can be enabled only if you have more than two layouts.

Spare layouts allow to toggle between small number of layouts easily while keeping more layouts handy close by. For example you might use 3 languages: English, Ukrainian and German but first two are used often and third one just occasionally. In this case you can configure first two as main layouts (setting Main layout count : 2) and German one as spare one - when you toggle with keyboard and left mouse button the switch will happen between main layouts only but you can always choose 3rd layout with context menu.

(…)

You should probably have a look as well at this question at superuser.sx

Related Question