SOLVED: Update to Stretch: Gnome touchpad options vanished

Getting your soundcard to work, using Debian on non-i386 hardware, etc

SOLVED: Update to Stretch: Gnome touchpad options vanished

Postby Onsemeliot » 2017-06-30 06:35

I just upgraded a Lenovo ThinkPad s440 from Jessie to Stretch. The option of setting the left mouse click on a tab of the touchpad has vanished in Stretch. I find the need for the mouse button very annoying. The Synaptics TouchPad driver for X.Org server (version 1.9.0-1+b1 doesn't seem to fully work since according to the Gnome documentation https://help.gnome.org/users/gnome-help/3.22/mouse-touchpad-click.html.en the relevant features do only appear when a touchpad is present.)

Can anyone give me any clues?
Last edited by Onsemeliot on 2017-07-01 17:43, edited 1 time in total.
User avatar
Onsemeliot
 
Posts: 144
Joined: 2010-12-15 14:43

Re: Update to Stretch: Gnome touchpad options vanished

Postby orythem27 » 2017-06-30 06:39

Onsemeliot wrote:An other issue I encountered is the fact that the option of setting the left mouse click on a tab of the touchpad has vanished in Stretch. I find the need for the mouse button very annoying.

You have two options:
(a) Setup the appropriate option for "libinput" in Xorg.conf;
(b) Revert to the old driver "synaptics" or whatever was being used in Jessie.

See: https://askubuntu.com/a/891262
User avatar
orythem27
 
Posts: 252
Joined: 2017-05-11 07:59
Location: P.R. China

Re: Update to Stretch: Gnome touchpad options vanished

Postby Onsemeliot » 2017-07-01 08:31

Unfortunately there was no file called "90-libinput.conf". Therefore I tried my luck with the present "40-libinput.conf" file. Oddly enough afterwards I couldn't login any more because any correct password/name combination was refused. Therefore, I switched to command line and withdrew the change. Now I can login again. But of course still without the tab click option.

After some messing around I found out the word "Option" (without quotes) is essential even if all other attributes didn't have any "Option" in their lines. But after I used exactly Option "Tabbing" "true" it just gets ignored.

The files present in my xorg.conf.d folder are:
10-amdgpu.conf
10-evdev.conf
10-qiurks.conf
40-libinput.conf
70-synaptics.conf
70-wacom.conf
User avatar
Onsemeliot
 
Posts: 144
Joined: 2010-12-15 14:43

Re: Update to Stretch: Gnome touchpad options vanished

Postby orythem27 » 2017-07-01 15:48

Oh, sorry, forgot to mention that you should copy /usr/share/X11/xorg.conf.d/*-libinput.conf to /etc/X11/xorg.conf.d/ and make changes there. Or you can verify if the option works with xinput first.

If for whatever reason you cannot get the libinput option to work, you can always revert to synaptics. Delete /etc/X11/xorg.conf.d/*-libinput.conf, copy /usr/share/X11/xorg.conf.d/*-synaptics.conf to /etc/X11/xorg.conf.d/. Of course, make sure you have xserver-xorg-input-synaptics installed.
User avatar
orythem27
 
Posts: 252
Joined: 2017-05-11 07:59
Location: P.R. China

Re: Update to Stretch: Gnome touchpad options vanished

Postby Onsemeliot » 2017-07-01 17:44

orythem27 wrote:Oh, sorry, forgot to mention that you should copy /usr/share/X11/xorg.conf.d/*-libinput.conf to /etc/X11/xorg.conf.d/ and make changes there.


Thanks. This finally did the trick. :)
User avatar
Onsemeliot
 
Posts: 144
Joined: 2010-12-15 14:43

Re: SOLVED: Update to Stretch: Gnome touchpad options vanish

Postby tedrogers » 2017-09-12 22:00

I didn't need to copy it on stretch.

I just edited:

Code: Select all
/usr/share/X11/xorg.conf.d/40-libinput.conf


...and added the line so it looks like this:

Code: Select all
Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "Tapping" "true"
EndSection


Works a treat!
tedrogers
 
Posts: 27
Joined: 2017-08-23 19:19

Re: SOLVED: Update to Stretch: Gnome touchpad options vanish

Postby Head_on_a_Stick » 2017-09-13 05:27

tedrogers wrote:I didn't need to copy it on stretch.

The files in /etc/X11/xorg.conf.d are given preference over any settings in /usr/share/X11/xorg.conf.d but the latter files are still parsed so a simple addition will work in /usr/share/X11/xorg.conf.d but it will be overwritten at the next update of the xserver-xorg-input-libinput package.

/etc/X11/xorg.conf.d is therefore the correct location for any local modifications, any files there will remain untouched by APT.

OT: hi ted! :)
"Yes Linus [Torvalds], our patches are such garbage the KSPP can't manage to do anything other than copy+paste from them, and you're slowly merging them (along with our registered copyrights). How do our table scraps taste?" — Brad Spengler, grsecurity
User avatar
Head_on_a_Stick
 
Posts: 6540
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: SOLVED: Update to Stretch: Gnome touchpad options vanish

Postby tedrogers » 2017-09-14 07:24

Head_on_a_Stick wrote:OT: hi ted! :)


Thanks fellow Bunsenite! ;)
tedrogers
 
Posts: 27
Joined: 2017-08-23 19:19

Re: SOLVED: Update to Stretch: Gnome touchpad options vanish

Postby tedrogers » 2017-09-15 10:23

Head_on_a_Stick wrote:
tedrogers wrote:I didn't need to copy it on stretch.

The files in /etc/X11/xorg.conf.d are given preference over any settings in /usr/share/X11/xorg.conf.d but the latter files are still parsed so a simple addition will work in /usr/share/X11/xorg.conf.d but it will be overwritten at the next update of the xserver-xorg-input-libinput package.

/etc/X11/xorg.conf.d is therefore the correct location for any local modifications, any files there will remain untouched by APT.

OT: hi ted! :)


I didn't have an xorf.conf.d folder within /etc/X11, so I copied the same name folder and contents from /usr/share/X11, and then deleted everything except 40-libinput.conf (now in /etc/X11/xorg.conf.d)...is this the appropriate thing to do here?

I then added the relevant lines to the 40-libinput.conf file now in /etc/X11/xorg.conf.d, and removed the same lines from /usr/share/X11/xorg.conf.d/40-libinput.conf (so the lines weren't duplicated).

Seems to work!
tedrogers
 
Posts: 27
Joined: 2017-08-23 19:19


Return to Hardware

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable