You are not logged in.
Something wrong somewhere. I configured the Swiss keyboard of my new laptop as usual. I get the special characters in the console but the xterm still has US keyboard.
/etc/locale.gen
de_CH.UTF-8 UTF-8
de_CH ISO-8859-1
en_US.UTF-8 UTF-8
en_US ISO-8859-1
# locale-gen
/etc/rc.conf
LOCALE="de_CH"
gives me the console characters. But
/etc/X11/xorg.conf
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102"
Option "XkbVariant" "de"
Option "XkbLayout" "ch"
EndSection
still gives me the US charcter set in xterm.
What else should I check?
Offline
Do you use xorg 1.8? The setup has changed there. You'll need something along these lines in your xorg.conf:
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
EndSection
To know or not to know ...
... the questions remain forever.
Offline
Yes, it is X Server 1.8.1.902 (1.8.2. RC 2), from 2010-06-21.
Could you pl. post the whole xorg.conf file?
Offline
I think bernarcher posted his /etc/X11/xorg.conf.d/keyboard.conf. file. You need one too, simply create a new file and copy the above text.
Offline
OIC. I was battling with /etc/X11/xorg.conf, but these parameters must go to a /etc/X11/xorg.conf.d/keyboard.conf! Thanks, the matter solved.
Offline
OIC. I was battling with /etc/X11/xorg.conf, but these parameters must go to a /etc/X11/xorg.conf.d/keyboard.conf! Thanks, the matter solved.
It's because instead of xorg.conf we now (as of xorg-server 1.8) use /etc/X11/xorg.conf.d/ directory.
http://www.archlinux.org/news/502/
Last edited by karol (2010-07-31 16:29:57)
Offline