quick-docs/modules/ROOT/pages/enable-touchpad-click.adoc
2023-01-13 09:13:27 +01:00

84 lines
3.1 KiB
Text

= How to enable touchpad click
Ankur Sinha; Caleb McKee; Petr Bokoc
:revnumber: F32
:revdate: 2020-04-10
:category: Administration
:tags: Touchpad
[[scope]]
== Scope
Fedora tries to make various desktop environments available to its users. Since Fedora tries to link:https://docs.fedoraproject.org/en-US/package-maintainers/Staying_Close_to_Upstream_Projects/[stay as close to upstream as possible], we follow the various defaults selected by the desktop environment upstreams. Generally, this entails a disabled touchpad click by default. This wiki page tries to compile the different methods that can be used to enable "tapping" on various desktop environments.
[NOTE]
====
Please note that this is only a resource to aid our users. For discussions on this setting, please talk to the relevant DE upstream. Fedora does not intend to make any changes to upstream defaults.
====
[[desktop-configurations]]
== Desktop configurations
This wiki page has more information about link:https://fedoraproject.org/wiki/Input_device_configuration[Input Device configuration]. An example `xorg.conf.d` snippet to enable tapping is given link:https://fedoraproject.org/wiki/Input_device_configuration#Example:_Tap-to-click[here].
[[gnome]]
=== GNOME
The "_mouse and touchpad_" utility can be used to enable tapping and set scrolling options in GNOME. See the link:http://library.gnome.org/users/gnome-help/stable/mouse-touchpad-click.html.en[Official GNOME documentation]
[[kde-plasma-workspaces]]
=== KDE Plasma Workspaces
1. Enter KDE System Settings
2. Choose Hardware > Input Devices > Touchpad (If the "Touchpad" setting is not there, install kcm_touchpad first, then restart System Settings. It is installed by default.)
3. Select the Tapping tab
4. Check the "Enable tapping" checkbox
5. Set some tapping actions under "Buttons" below, the default is to do
nothing
Alternatively, the systemwide method described under link:https://fedoraproject.org/wiki/How_to_enable_touchpad_click#Other_window_managers[Other window managers] can also be used.
// link:#Other_window_managers[Other window managers] can also be used.
[[xfce]]
=== XFCE
1. Enter XFCE Settings
2. Select the Mouse and Touchpad settings
3. If necessary, select your Touchpad device
4. In the General section, enable "Tap touchpad to click"
[[other-window-managers]]
=== Other window managers
Create a new file named `/etc/X11/xorg.conf.d/99-synaptics-overrides.conf`.
Then, in your favourite text editor, modify this file as such:
....
Section "InputClass"
Identifier "touchpad overrides"
# This makes this snippet apply to any device with the "synaptics" driver
# assigned
MatchDriver "synaptics"
####################################
## The lines that you need to add ##
# Enable left mouse button by tapping
Option "TapButton1" "1"
# Enable vertical scrolling
Option "VertEdgeScroll" "1"
# Enable right mouse button by tapping lower right corner
Option "RBCornerButton" "3"
####################################
EndSection
....
For more information on tweaking `xorg.conf.d` files, please read the man page:
[source,bash]
[…]$ man xorg.conf