keyman, in Mint Linux Cinnamon Desktop, keyboard shortcut

Here you can discuss all things Ancient Greek. Use this board to ask questions about grammar, discuss learning strategies, get help with a difficult passage of Greek, and more.
Post Reply
hlawson38
Textkit Zealot
Posts: 1076
Joined: Tue Mar 02, 2010 12:38 am
Location: Tampa, Florida, USA

keyman, in Mint Linux Cinnamon Desktop, keyboard shortcut

Post by hlawson38 »

Because I had some difficulty learning the keyboard shortcut to toggle English/Greek, I want to report my experience.

The default shortcut, as I learned is Winkey-Space, but at first it didn't work as I expected. After experimentation, I found that the shortcut functions only when a window is ready to receive keyboard input.

The other peculiarity is that I have to strike Win-Space twice, to cause a change in the input method.
Hugh Lawson

will.dawe
Textkit Fan
Posts: 202
Joined: Tue Apr 09, 2019 4:23 am

Re: keyman, in Mint Linux Cinnamon Desktop, keyboard shortcut

Post by will.dawe »

The shortcut can be configured in Preferences (or run ibus-setup).

Image

One can write a simple script and assign it to a preferred shortcut. For example, in case of Galaxie Greek (Phonetic):
------------------------------------------------ #!/bin/sh ibus engine grc-Grek:/home/user/.local/share/keyman/galaxie_greek_positional/galaxie_greek_positional.kmx ------------------------------------------------
I'm not familiar with Cinnamon, but somewhere in the global settings should be a section for custom shortcuts.
the shortcut functions only when a window is ready to receive keyboard input
Yes, it's annoying. But using the custom script, you can switch even if the cursor is not in the input field.

P.S. Use this command to find your keyboard: ibus list-engine | grep grc
P.S.S. Custom shortcuts for Cinnamon: guide.
Two verses he could recollect // Of the Æneid, but incorrect.

hlawson38
Textkit Zealot
Posts: 1076
Joined: Tue Mar 02, 2010 12:38 am
Location: Tampa, Florida, USA

Re: keyman, in Mint Linux Cinnamon Desktop, keyboard shortcut

Post by hlawson38 »

Very helpful will.dawe. I was totally ignorant of ibus. I can see I should learn more about this, and you've given me a good start.

Have you found a way to limit the keyman greek input to a single window?

For example: to type Greek in a text editor, and toggle Greek/English only in the text editor window.
Hugh Lawson

will.dawe
Textkit Fan
Posts: 202
Joined: Tue Apr 09, 2019 4:23 am

Re: keyman, in Mint Linux Cinnamon Desktop, keyboard shortcut

Post by will.dawe »

There are only two options (ibus preferencies | advanced):
  1. ☒ global layout: if you set Greek, then in all other applications you will type Greek; set to English means it will set English layout in all apps;
  2. ☐ independent layout: you can set different layouts in different applications.
But you can't exclude Greek from the list of layouts in some applications. Every app has access to the full list of keyboard layouts.

Image

P.S. Maybe this topic will give you an idea how to realize what you want.
Two verses he could recollect // Of the Æneid, but incorrect.

hlawson38
Textkit Zealot
Posts: 1076
Joined: Tue Mar 02, 2010 12:38 am
Location: Tampa, Florida, USA

Re: keyman, in Mint Linux Cinnamon Desktop, keyboard shortcut

Post by hlawson38 »

Many thanks the hints and suggestions will.dawe.
Hugh Lawson

Post Reply