/usr/share/X11/xorg.conf.d/10-evdev.conf Section "InputClass" Identifier "middle button emulation class" MatchIsPointer "on" Option "Emulate3Buttons" "on" EndSection