You are not logged in.

#1 2009-07-23 01:16:33

Stagnation
Member
From: Sardinia, OH
Registered: 2009-03-09
Posts: 16

[Solved] USB Keyboard layout issue - @ and " switched

This happened a while ago but it's not been easy to find anything on it with a search and I've been to lazy to ask for help. It only occurs in X, not the console.

Basically the " and @ are switched. The tilda key gives ¬ and the "number sign" gives a £.

Reconnecting the keyboard resolves the issue for a little while but it eventually comes back.

rc.conf

LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="US/Eastern"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

Xorg.conf

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option        "CoreKeyboard"
EndSection

Any ideas?

Last edited by Stagnation (2009-07-24 12:47:29)


I have a giant brain that can reduce any complex machine into a simple yes or no answer

Offline

#2 2009-07-23 03:38:10

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [Solved] USB Keyboard layout issue - @ and " switched

Hello Stagnation!

It seems okay.

Does the problem occurs with another keyboard, or with a livecd e.g. ?

Offline

#3 2009-07-23 21:44:46

Stagnation
Member
From: Sardinia, OH
Registered: 2009-03-09
Posts: 16

Re: [Solved] USB Keyboard layout issue - @ and " switched

Hello good sir,

I haven't tried a new keyboard yet. I've not tried a livecd either but the keyboard works fine in a VC. It's just in X that it occurs.


I have a giant brain that can reduce any complex machine into a simple yes or no answer

Offline

#4 2009-07-23 21:50:40

Teoulas
Member
From: Athens, Greece
Registered: 2009-03-21
Posts: 70

Re: [Solved] USB Keyboard layout issue - @ and " switched

That's the UK layout. What DE/WM do you use? It seems like you have set the UK layout as default.

Offline

#5 2009-07-23 21:52:02

rusty99
Member
Registered: 2009-03-18
Posts: 253

Re: [Solved] USB Keyboard layout issue - @ and " switched

Have you tried copying /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to /etc/hal/fdi/policy/
and setting it to us (might be that as default) or adding setxkbmap us to .xinitrc ?

Offline

#6 2009-07-24 12:47:13

Stagnation
Member
From: Sardinia, OH
Registered: 2009-03-09
Posts: 16

Re: [Solved] USB Keyboard layout issue - @ and " switched

Thanks guys. I forgot all about .xinitrc and found that 'setxkbmap gb' was being set there. I changed it to us and everything is working as it should.

I salute you all.


I have a giant brain that can reduce any complex machine into a simple yes or no answer

Offline

Board footer

Powered by FluxBB