In my day-by-day work, I type texts in various languages. My usual behavior is that at each given moment I toggle between only two, e.g.:
- English and Ukrainian
- English and Thai
- English and German
…but never e.g. Thai and German.
It is fairly easy to setup everything except the cyclic change the second input (Ukrainian, Thai, German). Currently, I simply assign them with individual shortcuts, e.g.:
- Ukrainian Alt+2;
- Thai Alt+3;
- German Alt+4.
So, if I'm, for example, in English+Ukrainian pair, I press Alt+4, and further pressing the layout switch (I'm using RCtrl) switches between English+German only.
This is a (poorly drawn) diagram of what I need:
Question: is possible to replace the whole bunch of Alt+Digits with a single cycling key?
In terms of the diagram above, I want to replace many different Key2's with a single one.
I'm on Ubuntu 16.04.1 LTS with KDE desktop.
My ~/.config/kxkbrc
contains the following (split the line to fit):
LayoutList=us,ua,th,de
LayoutLoopCount=2
Options=grp_led:scroll,grp:rwin_switch,compose:menu,lv3:ralt_switch,
nbsp:level2,grp:rctrl_toggle,misc:typo
(1,2), (1,3), (1,4)
and find some another tool instead ofgsettings
to work with KDE. Let me give it a try. – Be Brave Be Like Ukraine Jul 29 '17 at 22:29