doc:appunti:linux:sa:touchpad_disable
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:linux:sa:touchpad_disable [2021/05/12 15:40] – [Using Fn+ESC on the Teclast F6] niccolo | doc:appunti:linux:sa:touchpad_disable [2021/05/12 17:08] – [Mapping Fn+ESC on the Teclast F6] niccolo | ||
---|---|---|---|
Line 43: | Line 43: | ||
===== Mapping Fn+ESC on the Teclast F6 ===== | ===== Mapping Fn+ESC on the Teclast F6 ===== | ||
+ | |||
+ | The ESC key on the **Teclast F6 notebook** has the blue label indicating that the shortcut **Fn+ESC** should trigger the **touchpad toggle** function, but it does not work in GNU/Linux. | ||
Using the **evtest** tool we can see that the Fn+ESC keys produces three events, i.e. it is the same as pressing three keys together: | Using the **evtest** tool we can see that the Fn+ESC keys produces three events, i.e. it is the same as pressing three keys together: | ||
Line 58: | Line 60: | ||
</ | </ | ||
- | The keys are **Left Control**, **Left Meta** and the key used to toggle from Hankaku | + | The keys are **Left Control**, **Left Meta** |
+ | |||
+ | Using **udev** I remapped the '' | ||
+ | |||
+ | < | ||
+ | evdev: | ||
+ | | ||
+ | </ | ||
+ | |||
+ | Finally, using the XFCE **Settings** => **Keyboard**, | ||
+ | |||
+ | <code bash> | ||
+ | #!/bin/sh | ||
+ | STATE=" | ||
+ | set_on() { | ||
+ | xinput set-prop 11 154 1 | ||
+ | echo " | ||
+ | } | ||
+ | set_off() { | ||
+ | xinput set-prop 11 154 0 | ||
+ | echo " | ||
+ | } | ||
+ | case " | ||
+ | on|yes|1) | ||
+ | set_on | ||
+ | ;; | ||
+ | off|no|0) | ||
+ | set_off | ||
+ | ;; | ||
+ | *) | ||
+ | if [ " | ||
+ | set_off | ||
+ | else | ||
+ | set_on | ||
+ | fi | ||
+ | ;; | ||
+ | esac | ||
+ | </ | ||
===== Web References ===== | ===== Web References ===== |
doc/appunti/linux/sa/touchpad_disable.txt · Last modified: 2021/05/13 07:42 by niccolo