Page 1 sur 1

[Slim]Clavier en qwerty au boot(résolu)

Publié : mar. 29 juin 2010, 22:20
par Ricard
Suite à une mise à jour (de X.org 1.8 apparemment) Arch est passée en querty.
J'utilise Slim (via inittab) pour me logguer. Le problème a déjà été évoqué ici il y a peu.
J'utilise Hal, donc je ne comprends pas pourquoi xorg serait impliqué. Mais dans le doute, j'ai quand même renseigné mon xorg.conf:

Code : Tout sélectionner

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    option "XkbLayout" "fr"
    Driver         "kbd"
EndSection
Mon 10-keymap.fdi:

Code : Tout sélectionner

<merge key="input.xkb.layout" type="string">fr</merge>
<merge key="input.xkb.variant" type="string">oss</merge>
Mon rc.conf:

Code : Tout sélectionner

LOCALE="fr_FR.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Europe/Paris"
KEYMAP="fr-pc"
CONSOLEFONT="lat9w-16"
CONSOLEMAP=
USECOLOR="yes"
....
....
DAEMONS=(syslog-ng hal @network pdnsd nvidia alsa xinetd ntpd crond)
J'ai même modifié mon rc.sysinit (ligne 365 chez moi environ):

Code : Tout sélectionner

# Flush old locale settings
: >| /etc/profile.d/locale.sh
/bin/chmod 755 /etc/profile.d/locale.sh
# Set user defined locale
[ -z "$LOCALE" ] && LOCALE="fr_FR"
stat_busy "Setting Locale: $LOCALE"
echo "export LANG=$LOCALE" >>/etc/profile.d/locale.sh
stat_done
et le script idoine (locale.sh):

Code : Tout sélectionner

export LANG=fr_FR.utf8
if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then printf "\033%%G"; fi
Pour le moment, je m'arrange avec un alias fr='setxkbmap fr' dans mon .zshrc pour franciser une fois le système lancé.
Mais ça ne règle pas le problème pour se logguer. J'avoue que je ne comprend pas trop.
J'ai aussi régénéré mes locales en root après vérification de mes fichiers.
Mes logs de xorg me disent:

Code : Tout sélectionner

[    14.332] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[    14.332] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    14.332] (**) AT Translated Set 2 keyboard: always reports core events
[    14.332] (**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[    14.340] (II) AT Translated Set 2 keyboard: Found keys
[    14.340] (II) AT Translated Set 2 keyboard: Configuring as keyboard
[    14.340] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
[    14.340] (**) Option "xkb_rules" "evdev"
[    14.340] (**) Option "xkb_model" "evdev"
[    14.340] (**) Option "xkb_layout" "us" <--c'est lui le coupable
[    14.340] (II) config/udev: Adding input device PC Speaker (/dev/input/event1)
[    14.340] (II) No input driver/identifier specified (ignoring)
Mais je vois pas comment c'est possible. Htop me dit que hal est bien lancé....
J'ai évidement parcouru le wiki et le forum :wink:
Merci par avance.

Re: [Slim]Clavier en qwerty au boot

Publié : mar. 29 juin 2010, 22:50
par Nydol

Re: [Slim]Clavier en qwerty au boot

Publié : mar. 29 juin 2010, 22:58
par Ricard
Ha oui. C'est ça de pas lire les niouzes. :roll:
Merci. :chinois:

Re: [Slim]Clavier en qwerty au boot(résolu)

Publié : jeu. 11 nov. 2010, 08:16
par Tetsumaki
Merci beaucoup ça marche au poil avec slim en gestionnaire de démarrage pour lxde.

/etc/X11/xorg.conf.d/10-evdev.conf avant :

Code : Tout sélectionner

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection
/etc/X11/xorg.conf.d/10-evdev.conf après :

Code : Tout sélectionner

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "fr"
        Option "XkbVariant" "latin9"
EndSection