You are not logged in.

#1 2022-01-10 11:24:27

Simaryp
Member
Registered: 2018-04-28
Posts: 153

[solved] EurKEY there but not there?

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

#2 2022-01-10 12:06:34

Simaryp
Member
Registered: 2018-04-28
Posts: 153

Re: [solved] EurKEY there but not there?

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

#3 2022-01-10 15:59:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,113

Re: [solved] EurKEY there but not there?

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 tongue ) and that you maybe could use as a base.

Offline

#4 2022-01-10 16:00:44

progandy
Member
Registered: 2012-05-17
Posts: 5,320

Re: [solved] EurKEY there but not there?

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

#5 2022-01-10 16:04:41

Simaryp
Member
Registered: 2018-04-28
Posts: 153

Re: [solved] EurKEY there but not there?

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

#6 2022-01-10 16:07:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,113

Re: [solved] EurKEY there but not there?

Simaryp wrote:

…, right?

Right

Simaryp wrote:

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

#7 2022-01-10 18:02:21

Simaryp
Member
Registered: 2018-04-28
Posts: 153

Re: [solved] EurKEY there but not there?

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

#8 2022-01-10 18:05:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,113

Re: [solved] EurKEY there but not there?

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

Board footer

Powered by FluxBB