Upgrade from F9 -> F10 xorg.conf problem

Todd Zullinger tmz at pobox.com
Mon Dec 8 05:52:11 UTC 2008


Steven W. Orr wrote:
> I upgraded from F9 to F10. In my xorg.conf I had this set:
>
> Section "InputDevice"
>        Identifier "Keyboard0"
>        Driver      "kbd"
>        Option      "XkbModel" "pc105"
>        Option      "XkbLayout" "us"
>        Option      "XkbOptions" "ctrl:swapcaps"
> EndSection
>
> The ctrl:swapcaps no longer seems to take. i.e., I want my ctrl and  
> capslock to be switched.
>
> Any ideas?

This is probably caused by the switch to evdev for input.  You might
have better luck setting the options via hal, with something like this
in /etc/hal/fdi/policy/11-keymap.fdi:

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
    <device>
        <match key="info.capabilities" contains="input.keys">
            <merge key="input.xkb.options" type="string">ctrl:swapcaps</merge>
        </match>
    </device>
</deviceinfo>

And then you should be able to remove the InputDevice section in
xorg.conf (or remove xorg.conf entirely).

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A good programmer is one who looks both ways before crossing a one-way
street.
    -- Doug Linder

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081208/9a9de75b/attachment-0001.sig>


More information about the fedora-list mailing list