Re: First time with freebsd and weird keyboard issue

From: Lars Engels <lme_at_FreeBSD.org>
Date: Tue, 26 Nov 2024 14:57:32 UTC

Dominique Michel schrieb am Dienstag, 26. November 2024 11:39:12 (+01:00):

> Hi,
> 
> I am the main fvwm-crystal maintainer and I am working on adding
> freebsd support to it. To do that, I installed the last freebsd version
> and I saw a double issue with the keyboard.
> 
> First:
> In /etc/rc.conf
> keymap="ch-fr.acc.kbd"
> 
> In order to understand how to reproduce these issues, I do 2 test user
> accounts with different shells, sh and bash. With both of them, after
> login, the keyboard is working fine with the ttys.
> 
> Then I followed chapter 25 of the handbook and put in ~/.login_conf:
> me:\
> :charset=UTF-8:\
> :lang=fr_ch.UTF-8:
> 
> and ran  cap_mkdb ~/.login_conf

You only need to run cap_mkdb /etc/login.conf. Your ~/.login_conf is read
automatically upon login. By running cap_mkdb with your own login config
you probably messed up your environment.

Another run cap_mkdb /etc/login.conf should fix it.