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

Re: Where is the Xorg.conf - to setup XKB layouts on Squeeze?



On 6/5/10, Kelly Clowers <kelly.clowers@gmail.com> wrote:
> On Sat, Jun 5, 2010 at 03:47, Camaleón <noelamac@gmail.com> wrote:
>> On Fri, 04 Jun 2010 23:32:17 +0200, Paul Chany wrote:
>>
>>> Phil Requirements writes:
>>
>>>> Yes, you need to create a simple xorg.conf, because they aren't used by
>>>> default. I had to create xorg.conf on my system to specify some
>>>> keyboard options. It works nicely.
>>>
>>> For me the command X -configure doesn't works, because the system hangs
>>> forever.
>>>
>>> What do you command use for xorg.conf to get it? Or, maybe it is there
>>> another way (udev rules maybe) to setup xkeyboard layouts?
>>
>> This is what I am using in Lenny in my "/etc/X11/xorg.conf" file (the
>> file is bigger, this is just the section for setting the keyboard). It
>> should be still valid:
>>
>> ***
>> Section "InputDevice"
>>        Identifier      "Generic Keyboard"
>>        Driver          "kbd"
>>        Option          "XkbRules"      "xorg"
>>        Option          "XkbModel"      "pc105"
>>        Option          "XkbLayout"     "es"
>> EndSection
>> ***
>
> That doesn't even work anymore, does it? At least for a while when the
> changeover first happened, I had that stuff in xorg.conf, but it had no
> effect
> until I put it in /etc/default/console-setup (later /etc/default/keyboard)
>
>
> Cheers,
> Kelly Clowers

xorg.conf accepts the following server flags:

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

If you have them, then you must specify the keyboard and mouse
configurations on xorg.conf, and xorg won't autodetect them through
whether hal or udev, but only will use what is specified under
xorg.conf.

I've been using this to keep inmune to all the changes happening
around xorg and autodetection (and to prevent using hal)...

So I haven't had the need to go configure anything else than
xorg.conf...  Perhaps it's time to take a look at
/etc/defaults/keyboard (I never had), :-)

-- 
Javier.


Reply to: