0

I've got my laptop (Lenovo Y720) today. It got Windows pre-installed, and I installed Ubuntu 18.04 as dual boot.

I try to disable touchpad with fn+f6. I get the touchpad blocked image notification, but I can still move the cursor, click, drag. Just like it's activated.

Also, doesn't matter how many times I do fn+f6, it always shows "touchpad disabled".

How can I solve this issue? Thanks!

Edit: The command below disables the touchpad. How can I bind this to fn+f6 shortcut?

xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 0
cagri
  • 186

1 Answers1

1

There's no key event for Fn+F6 which means that one cannot simply intercept and react to it through normal means.

Such vendor-specific function keys are often exposed through other means. For example, see if there are any kernel modules for you Laptop model, series, or vendor; those typically handle special keys. Unfortunately I know almost nothing about them beyond their existence.

David Foerster
  • 36,264
  • 56
  • 94
  • 147
  • Mehmet: What David is trying to tell you is: You cannot bind that to [Fn]+[F6] until the kernel gets updated and then it'll just start working... Would [Ctrl][Alt][Shift][F6] to turn on and Ctrl][Alt][Shift][F7] to turn off be a possible workaround? – Fabby May 13 '18 at 18:32
  • 1
    @Fabby: Excellent idea! Sorry for being a bit succinct. I was in a hurry to get back to my food when I wrote this… – David Foerster May 13 '18 at 20:00