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 revision | ||
| doc:appunti:linux:sa:touchpad_disable [2021/05/12 17:42] – [Mapping Fn+ESC on the Teclast F6] niccolo | doc:appunti:linux:sa:touchpad_disable [2021/05/13 09:42] (current) – [Mapping Fn+ESC on the Teclast F6] niccolo | ||
|---|---|---|---|
| Line 44: | Line 44: | ||
| ===== 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 the touchpadd | + | The ESC key on the **Teclast F6 notebook** has the blue label indicating |
| 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 60: | 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: | ||
| + | | ||
| + | </ | ||
| + | |||
| + | If you are interested, I have a more complete configuration file which I use also to swap the **Fn key** behaviour on function keys (I want them to work as first option, instead of multimedia buttons). See this page about **[[remap_keyboard_keys# | ||
| + | |||
| + | 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 | ||
| + | </ | ||
| + | |||
| + | **NOTICE**: I usually use the **Left Windows Logo** key as the **compose key**, to type international characters. Unfortunately the compose key cannot be used into an XFCE keyboard shortcut, so I changed my compose key to the **Menu key** (the one at the right of the space). | ||
| ===== Web References ===== | ===== Web References ===== | ||
doc/appunti/linux/sa/touchpad_disable.1620834136.txt.gz · Last modified: by niccolo
