[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot enable Emulate3Buttons in stretch



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


Reply to: