this post was submitted on 19 Jul 2023
6 points (100.0% liked)

OpenBSD

539 readers
1 users here now

General OpenBSD community!

founded 1 year ago
MODERATORS
 

I would like to add a new keyboard layout (FR - AZERTY AFNOR). What is the correct way to do it ?

Ideally I would like to use it for everything:

  • full disk encryption
  • TTY
  • xenodm
  • xenocara session

For now, I updated /usr/X11R6/share/X11/xkb/symbols/fr to add the variant, which I load in xenodm and my xsession using setxkbmap.

However I feel like it's not "clean" as it should be done with wsconsctl .

So what is the correct way to do it ?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

depending on what sort of keyboard you have, you could do it in the keyboard's firmware:

https://github.com/qmk/qmk_firmware

https://github.com/kmonad/kmonad

[โ€“] [email protected] 1 points 1 year ago

I already use QMK and even have a base layer to emulate this keymap indeed :) But I feel like I should be able to do it "correctly" on openbsd.

The machine in question is a notebook so I'd like to be able to use this layout on the integrated keyboard.