next up previous
Next: Configuring Sound Up: External Mice Previous: Necessary kernel modules

Configuring X

Dman, of debian-user, made a nice little summary3 that I'm going to copy wholesale:

If you want mouse in console and X:

If you want mouse in X only:

Thanks, Dman!

I also needed to edit my /etc/X11/XF86-Config-4 manually to include the other mouse, as per a suggestion on debian-laptop4.

I added:

Section "InputDevice"
        Identifier      "Logitech Mouse"
        Driver          "mouse"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection

and the ``Logitech'' line in the following section:

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Logitech Mouse"
EndSection

For reference, my /etc/gpm.conf looks like this:

device=/dev/input/mice
responsiveness=30
repeat_type=raw
type=imps2
append=""
sample_rate=

The important clauses there are the device, the repeat type, and the type. Mine is ImPS/2 (imps2, because it has a scrolly wheel; yours might just be plain old PS/2 ps2).


next up previous
Next: Configuring Sound Up: External Mice Previous: Necessary kernel modules
Nori Heikkinen 2003-07-08