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

Re: setting up mouse and keyboard for X11



On Mon, Oct 11, 2010 at 01:56, lee <lee@yun.yagibdah.de> wrote:
> On Sun, Oct 10, 2010 at 03:37:13PM -0700, briand@aracnet.com wrote:
>> On Sun, 10 Oct 2010 20:31:34 +0200
>> lee <lee@yun.yagibdah.de> wrote:
>>
>> >
>> >   xinput -set-prop "PS2++ Logitech TrackMan" "Evdev Wheel Emulation
>> > Button" 8
>> >
>> >
>> > How do I make it so that it's set up automatically?

Mouse stuff still goes in xorg.conf AFAIK
You probably want:
driver     "evdev"
and delete the "protocol" line altogether.

You might try:
device    "mouse0"
as well.

>> > The problem with the keyboard remains ...

try setting it in /etc/default/keyboard

Here's mine:
XKBMODEL="pc105"
XKBLAYOUT="jp,us"
XKBVARIANT="OADG109A,intl"
XKBOPTIONS="grp:shift_toggle,ctrl:nocaps"


>> that's strange - your xconfig file looks like it's set-up correctly and
>> that you wouldn't need the xinput.
>
> It is set up correctly, but the settings are ignored, see man
> xorg.conf: "If AllowEmptyInput is on, devices using the kbd, mouse or
> vmmouse driver are ignored."
>
> When I turn AllowEmptyInput off, all input devices are ignored :((((
>
>> It really should be part of the xconfig file...
>
> Indeed, it should, but they changed it.

for good reason: now keyboard config is universal between the console
and X

> Perhaps it works when I disable hald? What愀 hald good for, anyway? It
> only makes things unconfigurable, but does it have any advantages? Is
> it some sort of virus that has been ported from windoze?

Hal was fundamentally a good idea, but had some implementation
problems that cause them to eventually replace it with direct libudev
access and upower and udisks (formerly devicekit-*). Squeeze's X
uses udev instead of HAL


Reply to: