User Tools

Site Tools


doc:appunti:linux:sa:touchpad_disable

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
doc:appunti:linux:sa:touchpad_disable [2021/05/12 18:08] – [Mapping Fn+ESC on the Teclast F6] niccolodoc:appunti:linux:sa:touchpad_disable [2021/05/12 19:13] – [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 toggle function, but it does not work in GNU/Linux.+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 60: Line 60:
 </code> </code>
  
-The keys are **Left Control**, **Left Meta** and the key used to toggle from Zenkaku (full-width) to Hankaku (half-width) Japanese character spacing :-O+The keys are **Left Control**, **Left Meta** (also known as //Left Windows Logo// key) and the key used to toggle from Zenkaku (full-width) to Hankaku (half-width) Japanese character spacing :-O
  
-Using **udev** I remapped the ''Left Meta'' and ''ZENKAKUHANKAKU'' keys to the more useable **Left Alt** and **ESC** (see this page about **[[remap_keyboard_keys#customize_events_using_udev|customize udev events]]**):+Using **udev** I remapped the ''ZENKAKUHANKAKU'' key to the more useable **ESC** (see this page about **[[remap_keyboard_keys#customize_events_using_udev|customize udev events]]**):
  
 <file> <file>
 evdev:atkbd:dmi:* evdev:atkbd:dmi:*
- KEYBOARD_KEY_db=leftalt 
  KEYBOARD_KEY_76=esc  KEYBOARD_KEY_76=esc
 </file> </file>
  
-Finally, using the XFCE **Settings** => **Keyboard**, I associated the Ctrl+Alt+Escape keyboard shortcut to the following shell script **/usr/local/bin/touchpad-toggle**:+Finally, using the XFCE **Settings** => **Keyboard**, I associated the **Ctrl+Super+Escape** keyboard shortcut (where //Super// means //Left Windows Logo//to the following shell script **/usr/local/bin/touchpad-toggle**:
  
 <code bash> <code bash>
Line 100: Line 99:
 </code> </code>
  
 +**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.txt · Last modified: 2021/05/13 09:42 by niccolo