You are not logged in.

#1 2006-10-30 18:34:32

n00b.tux
Member
Registered: 2006-10-27
Posts: 10

Keyboard problem in Xorg [solved]

I have a swiss german keyboard which works perfectly (umlauts, Alt, AltGr, ...) in the console, but under Xorg umlauts and AltGr dont work anymore. Even CTRL-ALT-Fx dont work to switch ttys. I googled alot but couldnt find any hint.

Here my rc.conf:

KEYMAP="de_CH-latin1.map.gz"
LOCALE="de_CH.utf8"

And here my xorg.conf:

Section "InputDevice"
        Identifier  "Keyboard0"
        #Driver      "keyboard"
        Driver      "kbd"
        #Option     "CoreKeyboard"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "de_CH"
        Option      "XkbVariant" "nodeadkeys"
EndSection

Offline

#2 2006-10-30 19:48:40

dojo
Member
Registered: 2005-11-02
Posts: 97

Re: Keyboard problem in Xorg [solved]

Hi,

welcome to archlinux and this forum. Try

Option "XkbLayout" "de" 

or

Option "XkbLayout" "ch" 

Greets

dojo

Offline

#3 2006-10-30 20:35:47

n00b.tux
Member
Registered: 2006-10-27
Posts: 10

Re: Keyboard problem in Xorg [solved]

thx for the quick reply and for welcoming me!

ch has the same effect as de_CH. With de umlauts and AltGr do work, but of course the keys are mapped slightly different than a swiss german keyboard. 

I was playing with xorgcfg and I realized I couldnt switch the keyboard layout to "Switzerland": Couldnt get keyboard. Is the current xorg package missing the swiss key mapping? How can I test this?

Offline

#4 2006-10-30 20:55:41

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Keyboard problem in Xorg [solved]

Try with:

Option "XkbLayout" "ch(de_nodeadkeys)"

and commment out the

 Option "XkbVariant" "nodeadkeys" 

Or you can try:

Option "XkbLayout" "ch(de)"

with the

Option "XkbVariant" "nodeadkeys"

Offline

#5 2006-10-30 20:56:15

n00b.tux
Member
Registered: 2006-10-27
Posts: 10

Re: Keyboard problem in Xorg [solved]

sorry, now I found the missing piece:

Option  "XkbLayout"     "ch"
Option  "XkbVariant"     "de"

and you can change those settings without restarting Xorg:

setxkbmap -rules xorg -model pc104 -layout ch -variant de

thx for  your help dojo!

UPDATE:
Snowman you were faster :-) Thx for your help too!

Offline

#6 2006-10-30 20:57:10

dojo
Member
Registered: 2005-11-02
Posts: 97

Re: Keyboard problem in Xorg [solved]

Maybe this is helpfull http://gentoo-wiki.com/TIP_Speak_Your_Language . Especially xkbVariant. I have no other idea.

Greets

dojo

Offline

Board footer

Powered by FluxBB