You are not logged in.

#1 2009-01-08 18:07:37

lost eden
Member
Registered: 2008-01-01
Posts: 62

XFCE ignoring XkbLayout

I replaced both of my monitors today & hence wrote a new xorg.conf. The monitors work fine, however my British layout keyboard (gb) has now reverted back to the American layout (us). I fixed this last time by adding the XkbModel & XkbLayout lines to my xorg.conf however when I did exactly the same this time XFCE seems to ignore them & defaults to the American layout. My xorg.conf follows & I'm hoping somebody here can spot the obvious msitake I've made because as far as I can see it's exactly the same as it used to be when it worked fine!

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

Section "ServerFlags"
    Option         "AutoAddDevices" "False"
EndSection

Section "Files"
EndSection

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

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

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

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
#    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "gb"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "CRT-1"
    HorizSync       30.0 - 81.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600 GT"
    Option         "TripleBuffer" "true"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "CRT: 1680x1050_60 +0+0, DFP: 1680x1050_60 +1680+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Offline

#2 2009-01-09 03:07:01

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: XFCE ignoring XkbLayout

I think this should lead you in the right direction:
http://wiki.archlinux.org/index.php/Xor … not_use_it

Offline

#3 2009-01-09 10:05:14

lost eden
Member
Registered: 2008-01-01
Posts: 62

Re: XFCE ignoring XkbLayout

Allan wrote:

I think this should lead you in the right direction:
http://wiki.archlinux.org/index.php/Xor … not_use_it

I already have hotplugging disabled, as per that article.

Section "ServerFlags"
    Option         "AutoAddDevices" "False"
EndSection

But 'setkbmap gb' from Terminal does fix the problem, so I guess I can just add that to .xinitrc. It should fix the problem, but doesn't explain why the layout is ignored with my new xorg.conf whilst it was working with the old one.

Last edited by lost eden (2009-01-09 10:08:07)

Offline

Board footer

Powered by FluxBB