I just wondering if someone in the linux specifically ubuntu community accomplish on locking the mouse pad built in in the laptop just like in the windows where you can Fn+lock if im not using it and using a usb mouse instead. mine is an asus laptop.
corona688: Thanks for the responce. I never said its a windows function the (fn+#). I mean its works in windows the fn+#. i think your right also its on a specific kernel fixes to function my objective. but i dont have time to or maybe lazy to compile fixes new kernel. Below are my procedure to achieve my objective:
issue command #xinput list
output:
Virtual core pointer id=2 [master pointer (3)]
Virtual core XTEST pointer id=4 [slave pointer (2)]
USB Optical Mouse id=11 [slave pointer (2)]
Macintosh mouse button emulation id=14 [slave pointer (2)]
ImPS/2 Logitech Wheel Mouse id=13 [slave pointer (2)]
Virtual core keyboard id=3 [master keyboard (2)]
Virtual core XTEST keyboard id=5 [slave keyboard (3)]
Power Button id=6 [slave keyboard (3)]
Video Bus id=7 [slave keyboard (3)]
Video Bus id=8 [slave keyboard (3)]
Sleep Button id=9 [slave keyboard (3)]
USB 2.0 Camera id=10 [slave keyboard (3)]
AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
Asus Laptop extra buttons id=15 [slave keyboa
Determine touchpad mouse ID in my case i had two mouse the USB mouse and the touchpad. the touchpad is
Disable the touchpad using id 13 in the above result. Issue this command to disable
xinput set-int-prop 13 "Device Enabled" 8 0
To enable back again the touchpad change the value of 0 to 1 in the above command like this one.
xinput set-int-prop 13 "Device Enabled" 8 1
The disable command well be reset upon reboot. to make it easy to me i used alias like
alias moff='xinput set-int-prop 13 "Device Enabled" 8 0' ---> disable
alias mon='xinput set-int-prop 13 "Device Enabled" 8 1' ---> enable
or create keyboar shortcut its up to you..
By the way Corona688: my laptop is Asus u30jc. In addition if you know some link on how to use the nvidia cuda optimus video card well be highly appreciated.