So I have a Lenovo u310 with Ubuntu 13.10 on it and whenever I try to disable my touchpad with the special button on my F6 key, it does nothing.
All the other special keys work, like plane mode and refresh page but only the touchpad button is not working.
What might be wrong with it?
64 Answers
It does not work for me too(Ubuntu 13.10 Sony Vaio).
But I use following command(with shortcut key)
First determine the device id
xinput listThen disable it, (this command as shortcut key action)
xinput set-prop 15 "Device Enabled" 0Replace 15 with your device id.
SOURCE :
6This does not answer your question about non working key, but it will help in case you want to use another key instead.
Another way using Gnome Settings, Which I think it's better and simple as it will well integrated with desktop (Indicators...), the toggle script:
if [ `gsettings get org.gnome.settings-daemon.peripherals.touchpad touchpad-enabled` == "true" ]; then gsettings set org.gnome.settings-daemon.peripherals.touchpad touchpad-enabled false ; else gsettings set org.gnome.settings-daemon.peripherals.touchpad touchpad-enabled true ; fiQuery status:
gsettings get org.gnome.settings-daemon.peripherals.touchpad touchpad-enabledDisable:
gsettings set org.gnome.settings-daemon.peripherals.touchpad touchpad-enabled falseEnable:
gsettings set org.gnome.settings-daemon.peripherals.touchpad touchpad-enabled trueUsing
xinput:if [ `xinput list-props 12 | awk '/Device Enabled/ { print $4 }'` -eq 1 ]; then xinput set-prop 12 "Device Enabled" 0 ; else xinput set-prop 12 "Device Enabled" 1 ; fi12is theidyou got fromxinput list, but there a drawback here using predefinedid. For example, If a new USB mouse attached/unplugged before boot, touchpad could get deferentid. (It happens to me with USB mouse, my touch pad damaged)Using
xinputand device name instead ofid:export touchpad_id=`xinput list | awk 'gsub(".*AlpsPS/2 ALPS DualPoint TouchPad[ \t]*id=*","") { print $1 }'` ; if [ `xinput list-props $touchpad_id | awk '/Device Enabled/ { print $4 }'` -eq 1 ]; then xinput set-prop $touchpad_id "Device Enabled" 0 ; else xinput set-prop $touchpad_id "Device Enabled" 1 ; fiMy touchpad name is
AlpsPS/2 ALPS DualPoint TouchPadgot it fromxinput list, replace it with your device name.Get device id by name
AlpsPS/2 ALPS DualPoint TouchPadand store it intouchpad_id:export touchpad_id=`xinput list | awk 'gsub(".*AlpsPS/2 ALPS DualPoint TouchPad[ \t]*id=*","") { print $1 }'`Query status:
xinput list-props $touchpad_id | awk '/Device Enabled/ { print $4 }'Disable:
xinput set-prop $touchpad_id "Device Enabled" 0Enable:
xinput set-prop $touchpad_id "Device Enabled" 1
Special touchpad key doesn't work on my Lenovo Ideapad 320 either (Ubuntu 16.04). I installed Touchpad Indicator and configured it to turn off touchpad automatically when mouse is plugged in. The app started doing its job after I changed switch method to Xinput in its settings.
I think this site will answer your question. I do not own any lenovo to answer it SITE
1