You are not logged in.

#1 2009-04-10 23:05:13

kandrews
Member
Registered: 2007-04-21
Posts: 119

Xorg XKB options not loading

I've got 

Option         "XkbOptions" "ctrl:nocaps"

in my xorg.conf and I have also

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

Yet, the caps key still behaves like caps lock.

Here is my xorg.conf: http://pastebin.com/f651729db

Xorg.0.log has only these two lines about it:

476 (**) Option "XkbOptions" "ctrl:nocaps"
477 (**) Generic Keyboard: XkbOptions: "ctrl:nocaps"

Any idea what is going on?

Thanks.

Offline

#2 2009-04-10 23:24:27

thunderogg
Member
From: Rio de Janeiro
Registered: 2008-07-13
Posts: 172

Re: Xorg XKB options not loading

I'm not sure but your ServerLayout section looks strange.

Mine looks like this:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

and then these names defined under ServerLayout are used below.

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbRules"    "xorg"
    Option         "XkbModel"    "pc105"
    Option         "XkbLayout"   "us,us"
    Option         "XkbVariant"  ",intl"
    Option         "XkbOptions"  "grp:rctrl_toggle,grp_led:num"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
    Option         "DPMS" "True"
EndSection

Offline

#3 2009-04-10 23:48:36

kandrews
Member
Registered: 2007-04-21
Posts: 119

Re: Xorg XKB options not loading

Thanks for the reply, thunderogg. I changed the order of my stuff in xorg.conf and put a keyboard section into ServerLayout. Unfortunately, my capsLOCK key still doesn't behave like I told it to. Here is my updated config:
http://pastebin.com/f5220f732

Offline

#4 2009-04-10 23:56:41

thunderogg
Member
From: Rio de Janeiro
Registered: 2008-07-13
Posts: 172

Re: Xorg XKB options not loading

That looks better. I had some problems with some of the options. For ex, I can't switch using the one option I want to. I had to settle for the one I am using now. So I wonder, are you sure the "XkbOptions" "ctrl:nocaps" works on your machine?

Offline

#5 2009-04-30 04:55:06

kandrews
Member
Registered: 2007-04-21
Posts: 119

Re: Xorg XKB options not loading

Thanks for your time thunderdogg.

I eventually gave up and edited my .Xmodmap with:

! Kill the Caps Lock
remove lock = Caps_Lock
keysym Caps_Lock = Control_L
add Control = Control_L

Last edited by kandrews (2009-04-30 04:55:34)

Offline

Board footer

Powered by FluxBB