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 ~]$
--
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk