PDA

View Full Version : [SOLVED] can't get gb layout back...


shearn89
November 11th, 2008, 09:50 AM
hey all - been aaaages since i posted on here. Ah well.

Annoying problem came up a couple of days ago, and i'm stumped. I disabled the testing repo from my pacman.conf, as the latest xorg borked my system. Then i did a pacman -Syu.

Now, whenever i start x, my keyboard goes back to the US layout, which i find very very annoying. I'm running awesomeWM, so not sure how i can change it (no control panel as such). Here's my xorg (in entirety), in case anyone can spot the problem...

Any ideas?


# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder63) Mon May 19 00:34:28 PDT 2008

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
# RgbPath "/usr/lib/X11/rgb"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/home/shearn89/.fonts"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

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

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL E176FP"
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7000M / nForce 610M"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
# Option "TwinView" "1"
# Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "metamodes" "CRT: nvidia-auto-select +1280+0, DFP: 1280x800_60 +0+0"
SubSection "Display"
Depth 24
EndSubSection
Option "nologo" "true"
EndSection

shearn89
November 11th, 2008, 09:52 AM
dammit. Of course, as soon as i post, i realise what's wrong. I installed the evdev module (xf86-input-evdev). removing it sorts everything (although i get errors in the log)...

i'll post with any updates on how to get a happy error-free world.

shearn89
November 11th, 2008, 10:00 AM
Last post, really!

Long post on the arch forums about this: apparently newer versions of xorg-server use hal for input etc. Evdev has different settings than xorg.conf, so it resets the kb layout.

http://bbs.archlinux.org/viewtopic.php?id=44311&p=1