[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Upgrade from F9 -> F10 xorg.conf problem



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

Attachment: pgpS1jtItCmYG.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]