Re: Cannot enable Emulate3Buttons in stretch

2017-04-13 Thread Christian Seiler
On 04/13/2017 06:36 PM, Christian Seiler wrote:
> Debian Stretch uses libinput for handling input by default, even
> on Xorg, instead of the default evdev driver that was used
> previously. The option for the middle mouse button emulation
> is disabled.

Err, I meant "renamed", not "disabled", sorry. The advice for
fixing it still stands though. :)

Since this change in the default driver selection for Xorg is
something that many people might not expect, I've also reported
a bug against Debian's release notes so that when Stretch is
released people don't face the same surprise you did:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860259

Regards,
Christian



Re: Cannot enable Emulate3Buttons in stretch

2017-04-13 Thread Christian Seiler
On 04/13/2017 05:56 PM, Neoklis Kyriazis wrote:
> I have installed (for the first time) Debian Testing (stretch) on my
> laptop and tried to enable Emulate3Buttons for my 2-button Kensington
> trackball. I tried a lot of solutions I found by searching but none
> seems to work. I have the same problem on my desktop computer, after
> upgrading my existing installation of Void Linux. The emulation used
> to work before the upgrade, which I beleive installed the latest
> version of X.org server. 
> 
> 
> I could not get any help on the Void Linux forums and this is why I 
> 
> installed Debian on the laptop - but no luck. Its obvious that the new
> version of Xorg either does not recognize the relevant options for
> setting up Emulate3Buttons or perhaps support for this is disabled by
> default.

Debian Stretch uses libinput for handling input by default, even
on Xorg, instead of the default evdev driver that was used
previously. The option for the middle mouse button emulation
is disabled.

Create a file /etc/X11/xorg.conf.d/41-middle-emulation.conf with
the following contents:

Section "InputClass"
Identifier "mouse"
MatchIsPointer "on"
Driver "libinput"
Option "MiddleEmulation" "on"
EndSection

Restart your X server (i.e. logout and login again) and it
should work.

Regards,
Christian