You are not logged in.
Pages: 1
Hello,
I want to switch to ANSI Keyboard and use EurKEY as keyboard layout. For the rest of locale I want to stay with german.
I learned that with gsettings set org.gnome.desktop.input-sources show-all-sources true I can enable it in gnome settings. This worked and I can select it, but it has no effect. If I delete german leaving only EurKEY it appear more to be like standard US keyboard.
Also if I run loadkeys eu it states there is no eu. Only visible Options are euro, euro1, and euro2.
Now I am a bit confused.
A bit more strangely. If I use setxkbmap eu then in eg. firefox I have eurkey, but in gedit it's still de.
Last edited by Simaryp (2022-01-10 20:00:03)
Offline
Ok, apparently a reboot fixed this. Now it's working in Gnome.
However it appears to work only on gnome. Systemwide the configuration is still set to de. That is logical since all config files are set to de.
$ localectl status
System Locale: LANG=de_DE.UTF-8
VC Keymap: de
X11 Layout: de
But I can not set eg vconsole.conf to eu, since this is not present. This is a bit annoying since I want to load keymap already during boot up via systemd in order to have keymap loaded for decryption.
Is there any way to make this keymap available beside gnome_
Last edited by Simaryp (2022-01-10 13:59:27)
Offline
You'd have to derive one from eg. /usr/share/kbd/keymaps/i386/qwerty/us.map.gz
https://bbs.archlinux.org/viewtopic.php … 5#p2007695 has an us-altgr-intl.map that looks superficially similar-ish to the EurKey layout (though I spent a whole 20 seconds looking at it
) and that you maybe could use as a base.
Offline
You can set the X11 layout globally.
For the console keymap, maybe try to convert it with ckbcomp:
https://aur.archlinux.org/packages/ckbcomp/
https://wiki.archlinux.org/title/Linux_ … tom_keymap
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Hmm, just for my understanding. So there is like two different kind of keysets? One for TTY and one for DE and to be particular although gnome uses wayland the keyboard is defined by a xorg keymap, right?
And the EurKEY is only available as xorg map, so I would need to adapt a map like the one you linked in order to modify it and have similar keyset in tty_
If all of thats true then I might just stick with simple us for tty.
Offline
…, right?
Right
And the EurKEY is only available as xorg map, so I would need to adapt a map like the one you linked in order to modify it and have similar keyset in tty
Yes, but if ckbcomp works, you can directly translate the xkb symbols (/usr/share/X11/xkb/symbols/eu) into a console keymap and use that for free.
Offline
I tried out ckbcomp with a quick attempt:
$ ckbcompt eu
But the console output is huge and full of warnings or problems. Actually I didn't get what should happen if successful.
Since I really seldomly need directly tty and then most likelyI don't need any of the special characters maybe it's best and convenient to just use us. I just had the idea I could easily set it with one command globaly.
Thx people!
Offline
You can still try the map I linked before.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Pages: 1