Emulate three button mouse

Jose Luis jlpavon at me.com
Tue Mar 17 17:35:08 CET 2020


I have this on my autostart for my trackball and is working perfect.

#!/bin/sh

xinput set-prop "Full-Speed Mouse Full-Speed Mouse" "Evdev Wheel 
Emulation" 1
xinput set-prop "Full-Speed Mouse Full-Speed Mouse" "Evdev Wheel 
Emulation Button" 8

#EndofFile

Hope it helps!

On 17/3/20 15:41, Joe Riel wrote:
> On Tue, 17 Mar 2020 07:57:23 -0300
> "Renaud (Ron) OLGIATI" <renaud at olgiati-in-paraguay.org> wrote:
>
>> On Mon, 16 Mar 2020 14:52:17 -0700
>> Joe Riel <joer at san.rr.com> wrote:
>>
>>> How do I configure xfce4 to emulate a three button mouse?
>>>
>>> Once I'm in X, I can manually use xinput to configure it, but
>>> would prefer that it was automatic.  I tried adding a file
>>> to /usr/share/X11/xorg.xconf.d:
>>>
>>> $ cat /usr/share/X11/xorg.conf.d/80-middle-mouse-button.conf
>>> Section "InputClass"
>>>       Identifier "middle button emulation class"
>>>       MatchIsPointer "on"
>>>       Option "Emulate3Buttons" "on"
>>>
>>> however that does nothing.
>> Try to add that section to /etc/X11/xorg.conf instead
>>   
>> Cheers,
>>   
>> Ron.
> While that makes sense, moving the file and rebooting didn't fix it:
>
> $ cat /etc/X11/xorg.conf.d/80-middle-mouse-button.conf
> Section "InputClass"
>       Identifier "middle button emulation class"
>       MatchIsPointer "on"
>       Option "Emulate3Buttons" "on"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.xfce.org/pipermail/xfce/attachments/20200317/afbf93e2/attachment.html>


More information about the Xfce mailing list