2

Due to foreign languase lessons in my ubuntu 16.04LTS with unity installed, I have 3 keyboard language layouts, English, Greek and Japanese (anthy). I most often use Greek and English.

My problem is that I find having 3 languages makes me less productive, so I thought if I could via a terminal alias to set "modes" for example by typing an alias like

japanese_on

I would have all three languages available, but when I type the command (alias):

japanese_off

I will no longer be able to switch to the Japanese layout with a shortcut - instead I can switch only between Greek and English (and default to English).

As far as I know both Greek and Japanese use an IBus input method instead of Xorg option.

The main difference between this question is that I want to select the list of available languages that I will be able to change via pressing Ctrl+Alt or similar key combination.

In other words i want to do as the following image shows:

result on "japanese_on" command

result on "japanese_off" command

  • 3
    I assume you use Unity's graphical applet for configuring and switching between layouts. Most likely this applet stores its settings in dconf, and most likely picks up changes to dconf made by others. Do a dump of the dconf database with and without the Japanese setting, catch the difference between the two dumps and come up with dconf commands that modify the settings to get from one state to the other or vice versa. – egmont Oct 25 '18 at 11:57
  • Possible duplicate of Keyboard shortcuts for each input language – Gunnar Hjalmarsson Oct 26 '18 at 13:41
  • Not it is not because I want to modify the list of available languages as a whole and not set specific keyboard shortcuts for specific language. – Dimitrios Desyllas Oct 26 '18 at 14:01

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.