Jump to content

Talk:Logitech Marble Mouse

From ArchWiki
Latest comment: 19 May by Dsboger in topic General overhaul

This page helped me configure my marble mouse on X on linux. However I think there are some errors.

Here is the original text,

Right-hand Usage Setup

If you are right-handed you may prefer these assignments:

  • left click: right big button
  • middle click: right little button
  • right click: left big button
  • scrolling: left little button + ball movement



I am a right handed person and this is not correct buttons for a right handed person.

For a right handed person, I think, following is the correct usage

  • left click: left big button
  • middle click: left+right big buttons
  • right click: right big button
  • scrolling: left little button + ball movement


Here is what I put in my xorg.conf

Section "InputDevice"
   Identifier "Mouse0"
   Driver     "mouse"
   Option     "CorePointer"
   Option     "Device"             "/dev/input/mice"
   Option     "Protocol"           "ExplorerPS/2"
   Option     "Buttons"            "9"
   Option     "ZAxisMapping"       "4 5"
   Option     "XAxisMapping"       "6 7"
   Option     "EmulateWheel"       "true"
   Option     "EmulateWheelButton" "8"
EndSection

The mouse works perfectly without the mod maps.

Following also works without tweaking firefox The left little button one click browser back The right little button one click browser forward.

Thanks for the info. I hope my comments help someone who is puzzled as me

Cont'd

I also didn't like the changes, but my alterations were very minor, and I was able to achieve the same effect:

   Section "InputClass"
       Identifier   "Logitech Trackball"
       MatchProduct "Trackball"
       Option       "EmulateWheel"       "True"
       Option       "EmulateWheelButton" "8"
       Option       "XAxisMapping"       "6 7"
       Option       "Emulate3Buttons"    "True"
   EndSection

Cont'd 2023

To achieve the same effect with libinput, you can use

   Section "InputClass"
       Identifier "Trackball scroll"
       MatchIsPointer "on"
       Driver "libinput"
       Option "ScrollMethod" "button"
       Option "ScrollButton" "2" # or whatever button you want - 8 still works
       Option "MiddleEmulation" "on"
   EndSection

General overhaul

I've added a couple of sections to the top of the article that should work for enabling a proper middle click/scroll emulation behavior for most modern systems, but I feel like a proper rewrite/cleanup of the old sections should also be done. Maybe someone using an xorg based system could test and see what still works and what doesn't. Dsboger (talk) 19:02, 18 May 2025 (UTC)Reply

So it seems that "evdev" based X11 configurations no longer work (or at least not as expected) and the "modern way" is to use libinput everywhere. Dsboger (talk) 19:09, 19 May 2025 (UTC)Reply