Stewart Taylor schreef:
> Hi all
> 
> Just about got Gentoo up and running as I want it. Taken a while with
>  all the tweaking and re-tweaking but I've not had as much fun with a
>  computer for years. I've got a couple of problems which, so far,
> have got me pulling my hair out as nothing I try fixes them. I've got
> a Microsoft Intellimouse (ps2) which seems to be detected correctly
> but the wheel will not work under KDE. Under KDE Control center > 
> peripherals >mouse I get the option to adjust the scroll rate, but
> this has no effect. The wheel seems to be working as a left button,
> if I click the wheel over an icon or file that item is selected. I've
> tried all the fixes I've found on the web (not many, most seem to
> relate to cordless mice) without success. I'll post the other problem
> as a separate posting.

I suspect your problem is twofold:

1) you may or may not have your mouse set up properly for multiple buttons;

2) you may have the wrong buttons defined as the scroll wheel.

Let me explain: I have a Typhoon Optical Wireless mouse which has 7
buttons (left, right, wheel up, wheel down, wheel press-as-a-button, and
two thumb-operated buttons on the left side). When I got it, I just used
the 'traditonal' wheelmouse settings in /etc/X11/xorg.conf:

    Identifier  "Mouse1"
    Driver "mouse"
    Option "Protocol"   "Auto"
    Option "Buttons"    "7"
    Option "ZAxisMapping"   "4 5"
    Option "Device"     "/dev/input/mice"

But this did not work properly-- what happened was that the wheel didn't
work, and the side buttons were being used as the wheel (which also
didn't work, because they aren't a wheel).

This was because the mouse itself lists the side buttons as 4 and 5, and
the wheel as buttons 6 and 7.

So I had to tell X this:

    Identifier  "Mouse1"
    Driver "mouse"
    Option "Protocol"   "Auto"
    Option "Buttons"    "7"
    Option "ZAxisMapping"   "6 7"
    Option "Device"     "/dev/input/mice"

And it works fine (previously used imwheel, but that's no longer
necessary, at least in my case).

You can run xev in a term and activate your various buttons to see which
one is which. That should help you set up the Mouse section of your X
config file correctly.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list

Reply via email to