From 2e8301c9aa5cd32da1733e37f06733bc490a3361 Mon Sep 17 00:00:00 2001 From: tiyn Date: Mon, 3 Mar 2025 04:38:53 +0100 Subject: [PATCH] xorg: moved touchpad config to x entry --- wiki/linux/arch-linux/thinkpad_x220.md | 8 -------- wiki/linux/x_window_system.md | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/wiki/linux/arch-linux/thinkpad_x220.md b/wiki/linux/arch-linux/thinkpad_x220.md index 1c16b8e..e17c80e 100644 --- a/wiki/linux/arch-linux/thinkpad_x220.md +++ b/wiki/linux/arch-linux/thinkpad_x220.md @@ -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. diff --git a/wiki/linux/x_window_system.md b/wiki/linux/x_window_system.md index 75ba49d..61308ea 100644 --- a/wiki/linux/x_window_system.md +++ b/wiki/linux/x_window_system.md @@ -56,6 +56,31 @@ Properties and options of a peripheral device can then be shown by running `xinput list-props ` where `` 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.