For Linux

From MozillaWiki
Jump to: navigation, search
  • 1. Attach the second usb mouse to the machine.
  • 2. Backup the original file /etc/X11/XF86Config .
  • 3. Edit the file /etc/X11/XF86Config according to following comments.
   Section "InputDevice"
       Driver       "mouse"
       Identifier   "Mouse[1]"
   #   Option        "Device" "/dev/psaux"
       Option       "Device" "/dev/input/mouse1"
   #   Option       "Name" "Autodetection"
       Option       "Emulate3Buttons" "on"
       Option       "Name" "Autodetection"
   #   Option       "Protocol" "explorerps/2"
       Option       "Vendor" "Sysp"
       Option        "ZAxisMapping" "4 5"
   EndSection
   Section "InputDevice"
       Driver       "mouse"
       Identifier   "Mouse[3]"
       Option       "Device" "/dev/input/mouse0"
       Option       "Emulate3Buttons" "on"
       Option       "Name" "Autodetection"
   #   Option       "Protocol" "explorerps/2"
       Option       "Vendor" "Sysp"
       Option        "ZAxisMapping" "4 5"
   EndSection

............................................................................................................

   Section "ServerLayout"
        Identifier   "Layout[all]"
        InputDevice   "Keyboard[0]" "CoreKeyboard"
        InputDevice   "Mouse[1]"   "CorePointer"
        InputDevice   "Mouse[3]"
        Option            "Clone" "off"
        Option            "Xinerama" "off"
        Screen            "Screen[0]"
   EndSection
  • 4. Save changes and restart Xsession.