20
submitted 11 months ago by [email protected] to c/[email protected]

I use my own custom keyboard layout based on the US International layout that adds in all the symbols needed to write in all Latin script European languages, such as č, ħ, ð, ş, ł, l·l, ő, ů... Most are created via dead keys, others such as ø, æ, ə are added into the third and fourth levels (AltGr and Shift). I find it very useful as I write in different language and have to input a lot of names from all over the world for work. It's not optimized for any language, but is reasonably easy to use for all of them.

Originally I had used a keyboard layout creator on Windows, but when it came to recreate it on Linux I had to resort to editing system files: I mapped every key by duplicating and editing one of the layouts found in the /usr/share/X11/xkb/symbols/us file, gave it a new name and then edited /usr/share/X11/xkb/rules/base to add the name of the new layout. Logout, login again and there the new layout was, perfectly functional.

This system is not practical at all though, especially because some updates (not all) rewrite the files and revert my keyboard to normal US international, so I have to copy-paste the layout again. Plus, I don't know if xkb is one day going to be deprecated, as it is part of X11, leaving me without my layout.

Is there any "proper" way to create a layout and have it recognized by Plasma possibily without editing system files?

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 2 points 11 months ago

I know this doesn't answer your question but have you tried the EurKey layout?

[-] [email protected] 3 points 11 months ago* (last edited 11 months ago)

I did look it up, it's great and faster than my layout for the big languages – German, French, Spanish and Italian – because the accented letters are on the third and fourth levels directly and not written via dead keys, but it's harder to write most of the others like the Slavic languages (š, ů, ď, ł, ć, ̦ż, ą), Romanian (ș, ṭ, ă), Hungarian (ő, ű), Catalan ( · ), Azeri (Ə), Portuguese (ã), Turkish (ş, ţ, ğ, ı. İ) and Maltese (Ħ, Ġ). In EurKey each one requires Shift+AltGr+DeadKey+letter and a few are missing, while in my layout most of these require one less key. Of course this is not useful to most people, but I'm happy with it.

this post was submitted on 12 Oct 2023
20 points (95.5% liked)

KDE

5053 readers
53 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 1 year ago
MODERATORS