How to enable touchpad click

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(KDE: Add instructions for KDE Plasma Workspaces.)
(Update XFCE to use XFCE Settings, clean up/combine others into a single section)
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
  
 
== Desktop configurations ==
 
== Desktop configurations ==
 +
 +
This wiki page has more information about [[Input_device_configuration|Input Device configuration]]. An example xorg.conf.d snippet to enable tapping is given [[Input_device_configuration#Example:_Tap-to-click|here]].
  
 
=== GNOME ===
 
=== GNOME ===
Line 21: Line 23:
  
 
Alternatively, the systemwide method described under [[#Other_window_managers|Other window managers]] can also be used.
 
Alternatively, the systemwide method described under [[#Other_window_managers|Other window managers]] can also be used.
 
=== LXDE ===
 
Copy the /usr/share/X11/xorg.conf.d/50-synaptics.conf file to /etc/X11/xorg.conf.d/
 
 
<pre>cp /usr/share/X11/xorg.conf.d/50-synaptics.conf /etc/X11/xorg.conf.d/50-synaptics.conf</pre>
 
 
Then, in your favourite text editor, modify this file as such:
 
 
<pre>
 
Section  "InputClass"
 
Identifier  "touchpad catchall"
 
Driver  "synaptics"
 
MatchIsTouchpad  "on"
 
 
####################################
 
## 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"
 
####################################
 
 
MatchDevicePath  "/dev/input/event*"
 
EndSection
 
</pre>
 
 
For more information on tweaking xorg.conf.d files, please read the man page:
 
<pre>man xorg.conf</pre>
 
  
 
=== XFCE ===
 
=== XFCE ===
  
{{admon/note|XFCE 4.10 in Fedora 18|XFCE in Fedora 18 will be version 4.10 which will have a utility similar to GNOME}}
+
# Enter XFCE Settings
 
+
# Select the Mouse and Touchpad settings
'''For Fedora <= 17, and therefore XFCE <= 4.8:'''
+
# If necessary, select your Touchpad device
 
+
# In the General section, enable "Tap touchpad to click"
Copy the /usr/share/X11/xorg.conf.d/50-synaptics.conf file to /etc/X11/xorg.conf.d/
+
<pre>cp /usr/share/X11/xorg.conf.d/50-synaptics.conf /etc/X11/xorg.conf.d/50-synaptics.conf</pre>
+
 
+
Then, in your favourite text editor, modify this file as such:
+
 
+
<pre>
+
Section  "InputClass"
+
Identifier  "touchpad catchall"
+
Driver  "synaptics"
+
MatchIsTouchpad  "on"
+
 
+
####################################
+
## 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"
+
####################################
+
 
+
MatchDevicePath  "/dev/input/event*"
+
EndSection
+
</pre>
+
 
+
For more information on tweaking xorg.conf.d files, please read the man page:
+
<pre>man xorg.conf</pre>
+
 
+
=== MATE ===
+
  
 
=== Other window managers ===
 
=== Other window managers ===
Copy the /usr/share/X11/xorg.conf.d/50-synaptics.conf file to /etc/X11/xorg.conf.d/
+
Create a new file named /etc/X11/xorg.conf.d/99-synaptics-overrides.conf.
<pre>cp /usr/share/X11/xorg.conf.d/50-synaptics.conf /etc/X11/xorg.conf.d/50-synaptics.conf</pre>
+
  
 
Then, in your favourite text editor, modify this file as such:
 
Then, in your favourite text editor, modify this file as such:
Line 96: Line 38:
 
<pre>
 
<pre>
 
Section  "InputClass"
 
Section  "InputClass"
Identifier  "touchpad catchall"
+
    Identifier  "touchpad overrides"
Driver  "synaptics"
+
    # This makes this snippet apply to any device with the "synaptics" driver
MatchIsTouchpad "on"
+
    # assigned
 +
    MatchDriver "synaptics"
  
####################################
+
    ####################################
## The lines that you need to add ##
+
    ## The lines that you need to add ##
# Enable left mouse button by tapping
+
    # Enable left mouse button by tapping
Option  "TapButton1"  "1"
+
    Option  "TapButton1"  "1"
# Enable vertical scrolling
+
    # Enable vertical scrolling
Option  "VertEdgeScroll"  "1"
+
    Option  "VertEdgeScroll"  "1"
# Enable right mouse button by tapping lower right corner
+
    # Enable right mouse button by tapping lower right corner
Option "RBCornerButton" "3"
+
    Option "RBCornerButton" "3"
####################################
+
    ####################################
  
MatchDevicePath  "/dev/input/event*"
 
 
EndSection
 
EndSection
 
</pre>
 
</pre>

Latest revision as of 03:58, 15 January 2017

Note.png
Page maintainer
This page is maintained by Ankur Sinha "FranciscoD". Please update relevant sections if you can, or contact the maintainer with up to date information. For troubleshooting, please read this page

Contents

[edit] Scope

Fedora tries to make various desktop environments available to its users. Since Fedora tries to 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.

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.

[edit] Desktop configurations

This wiki page has more information about Input Device configuration. An example xorg.conf.d snippet to enable tapping is given here.

[edit] GNOME

The "mouse and touchpad" utility can be used to enable tapping and set scrolling options in GNOME.

Official GNOME documentation

[edit] KDE Plasma Workspaces

  1. enter KDE System Settings
  2. choose Hardware / Input Devices / Touchpad (If it's not there, install kcm_touchpad first, then restart System Settings. It's 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 Other window managers can also be used.

[edit] 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"

[edit] 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:

man xorg.conf