1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-01 14:37:46 +02:00

xorg: moved touchpad config to x entry

This commit is contained in:
tiyn 2025-03-03 04:38:53 +01:00
parent 033ad68dfb
commit 2e8301c9aa
2 changed files with 25 additions and 8 deletions

View File

@ -74,11 +74,3 @@ If the fn keys are not working properly run
[a script](https://github.com/tiyn/dotfiles/blob/master/.local/bin/etc/fchange)
that changes the `sys/module/hid_apple/parameters/fnmode` file.
This toggles between the two different fn key functions.
## Toggle the touchpad
To toggle the touchpad on or off
[a simple script](https://github.com/tiyn/dotfiles/blob/master/.local/bin/tools/dwm/toggletouchpad)
can be used that uses `synclient TouchpadOff=1` or `synclient TouchpadOff=0`.
This requires `xf86-input-synaptics` which is a synaptics driver for
notebook touchpads.

View File

@ -56,6 +56,31 @@ Properties and options of a peripheral device can then be shown by running
`xinput list-props <id>` where `<id>` is the identifier of the
device.
#### Touchpad
This section describes the handling of touchpads by X.
##### Toggle the touchpad
To toggle the touchpad on or off
[a simple script](https://github.com/tiyn/dotfiles/blob/master/.local/bin/tools/dwm/toggletouchpad)
can be used that uses `synclient TouchpadOff=1` or `synclient TouchpadOff=0`.
This requires `xf86-input-synaptics` which is a synaptics driver for
notebook touchpads.
##### Enable Tap to Click
On Touchpads the tap to click option can be enabled by adding the following lines to the config
file `/etc/X11/xorg.conf.d/99-synaptics-overrides.conf`.
```txt
Section "InputClass"
Identifier "touchpad overrides"
MatchDriver "synaptics"
Option "TapButton1" "1"
EndSection
```
#### Keyboard
This section describes the handling of keyboards by X.