arch-wiki-md-repo
Version:
All arch-wiki articles in markdown format, updated every two days.
80 lines (56 loc) • 2.91 kB
Markdown
The **Logitech M570** is a wireless trackball mouse. It is quite similar to the [Logitech Marble Mouse](/index.php/Logitech_Marble_Mouse "Logitech Marble Mouse").
* [1 Installation](
* [2 Configuration](
* [2.1 Temporary](
* [2.2 Permanent](
* [2.2.1 Using libinput](
* [2.2.2 Using evdev](
* [3 See also](
No additional drivers need to be installed.
If the system is not using [libinput](/index.php/Libinput "Libinput"), the mouse can be configured on the fly using a script such as:
```
dev="Logitech M570"
we="Evdev Wheel Emulation"
xinput set-int-prop "$dev" "$we" 8 1
xinput set-int-prop "$dev" "$we Button" 8 3
```
To make the changes permanent, either a script such as the one above has to be run at startup/login or changes can be made to the [Xorg configuration files](/index.php/Xorg
In the two configuration files below, only the essential changes are made to get button scrolling to work. Other worthwhile options are:
* `Option "EmulateWheelInertia" "5"`
* `Option "EmulateWheelTimeout" "100"`
It is important to find out if your system is using **only** evdev or libinput **and** evdev. See [Xorg
Changes made to Xorg configuration files do not take effect until the X session is restarted. To restart the X session, simply log out from your window manager and log back in.
Create a configuration file for libinput to recognise it:
`/etc/X11/xorg.conf.d/41-libinput.conf`
```
Section "InputClass"
Identifier "Logitech M570"
MatchProduct "Logitech M570"
Driver "libinput"
Option "ScrollMethod" "button"
Option "ScrollButton" "3"
Option "MiddleEmulation" "on"
EndSection
```
Create a configuration file for evdev to recognise it:
`/etc/X11/xorg.conf.d/10-evdev.conf`
```
Section "InputClass"
Identifier "Logitech M570"
MatchProduct "Logitech M570"
Driver "evdev"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "3"
EndSection
```
* [Scroll Like A Ninja - Logitech M570 Trackball & Linux Mint](https://web.archive.org/web/20171102201106/http://dailyherold.net/linux/trackball/m570/2014/10/31/ninja-scrolling-linux-m570-trackball/)
* [Ubuntu documentation](https://help.ubuntu.com/community/Logitech_Marblemouse_USB)