PDA

View Full Version : [ubuntu] How to make synclient options permanent?



Mohammad_Khalid_Hussain
October 5th, 2012, 10:17 PM
Assalamu'alaikum,
and Hi! to everyone else.

I like to have 2 finger tap on my laptop perform middle-click and 3 finger tap perform right-click. The command I have found for this is:

synclient TapButton3=3 TapButton2=2
The only problem is that this dissapears after a reboot. Is there a way I can make this permanent?

Thanks for the all the help.

mikewhatever
October 5th, 2012, 10:19 PM
Add the command to startup programs.

Mohammad_Khalid_Hussain
October 7th, 2012, 08:32 AM
Didn't think I could do that, thanks a lot for this.

Mohammad_Khalid_Hussain
October 8th, 2012, 04:00 AM
Apparently I found out that it doesn't stay after a Suspend. Any idea how to resolve this?

Thanks.

szosa
October 9th, 2012, 12:01 PM
Apparently I found out that it doesn't stay after a Suspend. Any idea how to resolve this?

Thanks.

Szia!
etc/X11/xorg.conf



Section "InputDevice"
..........
Option "TapButton3" "3"
Option "TapButton2" "2"
.........
EndSection

if not exist xorg.conf,
CTRL+Alt+F1 or F2. ...
sudo /etc/init.d/gdm stop
sudo Xorg configure
sudo cp /root/xorg.conf.new /etc/X11/
cd /etc/X11
sudo nano -w xorg.conf

sudo /etc/init.d/gdm start

Üdv