Mnemonic keyboard for Russian on KDE

Hello everyone,
before switching to Manjaro I used Zorin OS where I used keyman to use the basic_kdrum keyboard from keyman. (I can’t link it, when trying to link it I get an error from the forum, that I am not allowed to include links!)
I’ve found Keyboard for Russian on Manjaro Gnome that looks at the same issue, but the keyboard layouts in the settings are not the same.

Russian (phonetic, Windows)

This keyboard does not have the functionality, when pressing ‘s’ then ‘c’ to type the ‘щ’ key. It also doesn’t have other similar functionalities (like ‘j’ + ‘a’ = ‘я’).
I’ve tried every russian layout that is included in the settings, they are all not it.

I’ve also tried installing keyman, which was pain in itself, but it didn’t replace the existing “keyboard manager” (I suppose that is what that is called), but instead just place itself above it. Installing the keyboard worked, but using it was janky and I would like to be able to use the settings app to make changes to the keyboard layout.

I’d love a tutorial on how to either:
Install keyman to use it as a main keyboard manager (and if possible, to make changes to the layout for it in the settings app)
or, preferably, on how to install this keyboard layout with deadkeys for a german layout.
I’d love any help for this to be honest - new to Manjaro.

Thanks a lot!
Nuki

Hello Nuki, just a slightly different suggestion - to get used with a different keyboard layout and behaviour; since you found a keyboard layout setting option: (As I’m on XFCE, I cannot really guide on Gnome settings) I suppose you can assign multiple layouts and a key combination (“Hotkey”) for switching between them, plus a layout indicator on the desktop. If you desire to alter or create custom keyboard layouts, I can’t help, sorry. A layout with the correct keys acting as dead keys (for german input) should be available from the list.

As long as you have a 102/105-key-PC-keyboard, from my unterstanding there should be no need to compose cyrillic characters by using sequences of several keys. My suggestion is to use a full cyrillic layout that already exists.

Years ago I saw (german) keyboards with printed in red russian keyboard layout on sale - very similiar to the image on wikipedia:
https://ru.wikipedia.org/wiki/Раскладка_клавиатуры#Компьютерная_раскладка


On an old laptop keyboard - long ago - I glued the cyrillic letters on paper to the front of the keys - for these labels not to wear out too quickly. Today a good label printer covering the tape with film might give more durable results - if it prints cyrillic characters.

My other suggestion would be to print the layout on a credit card size paper or cardboard and place it next to your monitor. If you type with your ten fingers like me, the key labels are mostly hidden under your fingers, and you can look up the finger and position on the printout. You may test through the different layouts offered which you prefer.
(In “Russian (phonetic)” or “Russian (phonetic, Windows)” layouts I just didn’t find “ё” and “ъ” - the first not mandatory, the latter quite rare nowadays.)

As I’m too lazy to always seek certain special characters on the cyrillic layout, I often switch back to my german layout for some symbols.

Was it https://keyman.com/keyboards/basic_kbdrum that you referred to? - I don’t really see the point to use multiple key presses for single characters beyond that you probably went used to it. The “Keyboard Help” didn’t bring it nearer to me.
It’s a different thing with certain languages like korean where symbols are composed to syllable symbols or chinese where several keypresses are needed to select the correct symbols. You may try to search for documentation about tools used for these languages like IBus (ibus-hangul) or fcitx5-im (fcitx5-hangul, fcitx5-chinese-addons); the reading may lead you to hints how to replace the keyboard input manager.

Should I mention that the keyboard does not send the character/symbol code but a ‘scan code’ of the pressed key, from which the keyboard driver in the operating system translates to the symbols or other input according the selected layout - maybe, you were not aware of that? Btw. if you really want key sequences, you may press Ctrl+Shift+U then 0 4 4 A Space for the letter “ъ” e.g. - and use https://en.wikipedia.org/wiki/Cyrillic_(Unicode_block) as a reference… :wink:

This may help you further:

(The explanations are written for Ubuntu, for Manjaro you probably need to do additional searches or a little trial-and-error…)

1 Like

Hey there, thanks for the extremely insightful comment!
The issue with other keyboard layouts is that they are absolutely not intuitive, where as the aforementioned is (the link that you have for basic_kbdrum is correct).

Let me give you a few examples that are just so intuitive, I don’t want to have to miss that intuitivity:
ю - “yu” could’ve been written with “y” then “u” or (way better:) the german “ü”. It is 95% similar in the pronounciation and is just so similar, it makes no sense to put it on the “^” key!
Other examples: ш - “sh” sound. Could be written with “s” then “h” which just makes so much more sense! Instead it is on the aforementioned “ü” :^)…
щ - <<sh’>> sound. It’s a soft ш. It is right now directly next to the “ü” on the “+” key. On the kbdrum keyboard it’s on “s” then “c” which is just so damn good, or on the “w” key, which is even better, since they look alike!

I could go on and on with the really intuitive things.
Now that I really don’t want to be sitting here and working on a custom keyboard for a week (I got uni to do)
How could I maybe edit the existing keyboards? There are some pretty similar ones, and adding dead_keys is not too hard, as far as I found online.

Thanks again @ddeberhar

The keymaps are stored in /usr/share/kbd/keymaps.

As such you should be able to create a custom layout - possibly storing it in a ~/.local/share/kbd/keymaps.

Simply copy one of the existing keymaps and edit the map locally.

https://wiki.archlinux.org/title/Linux_console/Keyboard_configuration#Creating_a_custom_keymap

4 Likes

Thanks a lot. I also found this handy guide https://github.com/xkbcommon/libxkbcommon/blob/master/doc/user-configuration.md
which I will be using to create the layout and add it. I’m also thinking about adding this to my github / this post. If I get it done quickly enough, I’m going to add it here. Thanks everyone.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.