Page 1 sur 1

[slim] clavier en anglais (résolu)

Publié : ven. 21 janv. 2011, 14:46
par chipster
Salut !
J'utilise slim depuis un petit moment et là, au travail, je me tape un joli slim avec un clavier anglais au démarrage alors que je pense avoir fait les modifications nécessaires.

Le fichier /etc/X11/xorg.conf.d/10-evdev.conf

Code : Tout sélectionner

#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
	Option "XkbRules" "xorg"
	Option "XkbModel" "pc105"
	Option "XkbLayout" "fr"
	Option "XkbVariant" "latin9"
	#Option "XkbOptions" "compose:menu,terminate:ctrl_alt_bksp"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection
La commande locale :

Code : Tout sélectionner

LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=fr_FR.UTF-8

Re: [slim] clavier en anglais

Publié : ven. 21 janv. 2011, 14:49
par Abazigal
Pourquoi le bloc d'options est dans

Code : Tout sélectionner

Section "InputClass"
        Identifier "evdev tablet catchall"
et pas dans

Code : Tout sélectionner

Section "InputClass"
        Identifier "evdev keyboard catchall"
??

Re: [slim] clavier en anglais

Publié : ven. 21 janv. 2011, 14:54
par chipster
oui, j'avais déja vu la boulette :p
Je pensais pouvoir supprimer le post sans que personne ne le voit mais je me suis fait grilller ^^

Re: [slim] clavier en anglais

Publié : ven. 21 janv. 2011, 15:00
par cedric-archlinux
As tu essayé de modifier ton /etc/X11/xorg.conf.d/10-evdev.conf de la façon ci-dessous ?

Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "xkb_layout" "fr"
EndSection

Re: [slim] clavier en anglais (résolu)

Publié : ven. 21 janv. 2011, 15:02
par chipster
@cedric-archlinux : c'es bon, le souci est résolu. En fait quand j'ai posté la réponse, j'ai vu la boulette, essayé mais le temps de relancer X, il y avait déjà un post donc pas eu le temps de tout enlever :p

Re: [slim] clavier en anglais (résolu)

Publié : ven. 21 janv. 2011, 15:56
par Rolinh
C'est marrant, je ne procède pas de la même manière.

Code : Tout sélectionner

setxkbmap ch fr
dans mon ~/.xinitrc

ça fait une quelconque différence?

Re: [slim] clavier en anglais (résolu)

Publié : ven. 21 janv. 2011, 16:42
par FoolEcho
Le evdev.conf permet la gestion pour l'ensemble des utilisateurs.
Par son .xinitrc, l'utilisateur ajuste ses propres options.

Re: [slim] clavier en anglais (résolu)

Publié : ven. 21 janv. 2011, 16:45
par Rolinh
Je pensais bien à quelque chose dans le genre. Bon, chez moi ça ne fait aucune différence puisque je suis seul utilisateur de ma machine. Merci pour l'info ;)

Re: [slim] clavier en anglais (résolu)

Publié : sam. 22 janv. 2011, 02:02
par reflets de vert
J'ai le même problème sur une machine.

Je vais tester!