Hi all,
I have an issue to set my keyboard layout in French with X (out of X everything is fine sinceiI've chosen my layout during installation).
iI have configured .xinitrc, xorg.conf, .login.conf and x11-input.fdi - as described in the handbook - without success :
xorg.conf (relevant section):
In Xorg logs,iI see Xorg enabling my keyboard, but a few lines later :
OK, since I'm using the kbd driver, HAL is disabling keyboard0, but my layout is not configured as described in my x11-input.fdi (I don't want to disable hotplug, if possible).
By the way, it is *probably* the same issue described in this thread (marked as solved):
https://forums.freebsd.org/threads/hal-swiss-french-keyboard.50041/
P.S :iI hope that is the good section to post this.
Thanks for answering ! =)
I have an issue to set my keyboard layout in French with X (out of X everything is fine since
Code:
# cat /usr/local/etc/hal/fdi/policy/x11-input.fdi
<?xml version="1.0" encoding="iso-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keyboard">
<merge key="input.x11_options.XkbModel" type="string">pc105</merge>
<merge key="input.x11_options.XkbLayout" type="string">fr</merge>
</match>
</device>
</deviceinfo>
Code:
# cat .xinitrc
export LANG="fr_FR.ISO8859-1"
export LC_ALL="fr_FR.ISO8859-1"
export LC_MESSAGES="fr_FR.ISO8859-1"
exec mate-session
Code:
# cat .login_conf
me:\
:charset=ISO-8859-1:\
:lang=fr_FR.ISO8859-1:
xorg.conf (relevant section):
Code:
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "fr"
Option "XkbModel" "pc105"
Option "XkbVariant" "pc105"
Option "XkbOptions" "grp:rctrl_toggle,grp_led:scroll"
EndSection
In Xorg logs,
Code:
[ 14.873] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 14.873] (WW) Disabling Mouse0
[ 14.873] (WW) Disabling Keyboard0
OK, since I'm using the kbd driver, HAL is disabling keyboard0, but my layout is not configured as described in my x11-input.fdi (I don't want to disable hotplug, if possible).
By the way, it is *probably* the same issue described in this thread (marked as solved):
https://forums.freebsd.org/threads/hal-swiss-french-keyboard.50041/
P.S :
Thanks for answering ! =)