Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 3127  / 1 Year ago, sun, april 23, 2023, 7:18:07

A while back I got some help in taking control of the clickable area of my laptop's touchpad.



To make the solution permanent, the answer suggests I add a one line entry to my computer's xorg.conf file. My computer does not seem to have one, though.



Can I just make one? Can I just add in the one suggested line, or do I need anything else to make the file valid? Where do I put it?


More From » xorg

 Answers
5

The standard way would be to copy the /usr/share/X11/xorg.conf.d/50-synaptics.conf into /etc/X11/xorg.conf.d and calling it for example 51-mysinaptics.conf (so that it will be read after the standard one) --- then read it and edit accordingly.



In my version, around the start, there is:



Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
MatchDevicePath "/dev/input/event*"
EndSection


(Notice that someone changed it without changing the comment --- that's the danger of the comments). I would try to add it here and restart X.



The details about startup configuration can be found with man xorg.conf.d; the interesting part here is:




Additional configuration files are searched for in the following
direc‐
tories when the server is started as a normal user:



       /etc/X11/<cmdline>
/etc/X11/<cmdline>
/etc/X11/xorg.conf.d
/etc/X11/xorg.conf.d



and




Finally, configuration files will also be searched for  in  directories
reserved for system use. These are to separate configuration files from
the vendor or 3rd party packages from those of local administration.
These files are found in the following directories:

/usr/share/X11/xorg.conf.d
/usr/share/X11/xorg.conf.d



Order: It is not really clear the order of reading/apply configuration; I suppose that higher numbered "scripts" (like /usr/share/X11/xorg.conf.d/51-synaptics-quirks.conf) supersedes lower ones (like /usr/share/X11/xorg.conf.d/10-evdev.conf), but I am not sure which one will be the selected one between




  1. /usr/share/X11/xorg.conf.d/50-wacom.conf and

  2. /etc/X11/xorg.conf/50-wacom.conf



or if all the /etc/X11/xorg.conf/ will supersede all the /usr/share/X11/xorg.conf.d/
configurations --- the manual is not clear for me. You are very welcome to edit this part if you have an authoritative answer!


[#21535] Monday, April 24, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eving

Total Points: 162
Total Questions: 102
Total Answers: 112

Location: Trinidad and Tobago
Member since Thu, Dec 1, 2022
1 Year ago
;