On Tuesday 18 June 2013 16:18:14 Alan Gagne wrote:
/ Try to use xinput for both mouse and touchpad.
/>/ />/ xinput list />/ # xinput list_props "$device_name_or_number" />/ xinput list-props 10 />/ Turn on three button emulation. />/ xinput set-prop 10 "Evdev Middle Button Emulation" 1 />/ />/ />/ Alan / The problem with the touchpad is that it's seen as a PS/2 device which from Google is an old problem that seems to have re-appeared.
I've run
"xinput set-prop 14 "Evdev Middle Button Emulation" 1
and it's got the Left+Right mouse button click to work on my USB mouse.
How do I go about making this permenant?
I haven't used KDE for quite a long time so YMMV.
Create a script with the xinput set command and make it executable. Test to make sure it works. Then Goto System Settings > Startup and Shutdown > Autostart, then click Add Program, enter: your script.
Alan
On Tuesday 18 June 2013 18:25:12 Alan Gagne wrote:
Create a script with the xinput set command and make it executable. Test to make sure it works. Then Goto System Settings > Startup and Shutdown > Autostart, then click Add Program, enter: your script.
Alan
Alan,
I did as you suggested but unfortunately it didn't help. I then found that doing it manually also stopped working. The problem turned out to be that every time I boot up the ID changed.
I changed my script to the following and it works every time now. Thanks for your help.
Gary
[gary@gary ~]$ more /etc/X11/3button #!/bin/bash
X='/usr/bin/xinput'
for F in `$X list|grep Logitech|cut -d = -f 2|cut -c1-3` ; do $X set-prop $F "Evdev Middle Button Emulation" 1 done
[gary@gary ~]$