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
  • 7
  • Possible duplicate of [How do I disable the touchpad in Ubuntu 17.10?](https://askubuntu.com/questions/969851/how-do-i-disable-the-touchpad-in-ubuntu-17-10) – Vishesh Gautam May 11 '18 at 21:25
  • What's the output to 'synclient' – Fabby May 12 '18 at 07:08
  • @Fabby "Couldnt find synaptics properties. No synaptics driver loaded?" sorry I was wrong. it gave the same on ToucpadOff=1 too. – cagri May 12 '18 at 09:12
  • Could you please run `xev -event keyboard`, focus its window, press and release Fn+F6 and [edit] your question to include the output? Thanks. – David Foerster May 12 '18 at 18:41
  • @DavidFoerster Hi, there's the output: https://paste.ubuntu.com/p/56YNPPM8WP/ – cagri May 12 '18 at 20:01

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
  • 35,754
  • 55
  • 92
  • 145
  • 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