GNU bug report logs - #33189
Touchpad tap

Previous Next

Package: guix;

Reported by: <znavko <at> tutanota.com>

Date: Sun, 28 Oct 2018 18:41:02 UTC

Severity: normal

Merged with 35450

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 33189 in the body.
You can then email your comments to 33189 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#33189; Package guix. (Sun, 28 Oct 2018 18:41:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to <znavko <at> tutanota.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 28 Oct 2018 18:41:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: <znavko <at> tutanota.com>
To: Help Guix <help-guix <at> gnu.org>, Bug Guix <bug-guix <at> gnu.org>
Subject: Touchpad tap
Date: Sun, 28 Oct 2018 19:40:40 +0100 (CET)
[Message part 1 (text/plain, inline)]
Hello, Guix Help! I am not able to use tap on my touchpad. Scroll is working, mouse motion is working, left and right buttons are working, but tap and double click are not working on my touchpad.

As described in the Internet need to use /etc/X11/xorg.conf.d/90-synaptics.conf. 
But GuixSD has own filesystem structure, so there is no /etc/X11.

Here it is configuration file xorg.scm: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/xorg.scm?id=v0.15.0-2564-g38a2f5eaf#n2564 <https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/xorg.scm?id=v0.15.0-2564-g38a2f5eaf#n2564>

I assume xorg configurations ought to be done. Please, how to write my config.scm?
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#33189; Package guix. (Sun, 28 Oct 2018 20:03:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: znavko <at> tutanota.com
Cc: Bug Guix <bug-guix <at> gnu.org>, Help Guix <help-guix <at> gnu.org>
Subject: Re: Touchpad tap
Date: Sun, 28 Oct 2018 21:02:27 +0100
[Message part 1 (text/plain, inline)]
Hi!

Consult the manual, "(guix) X Window".  There is an example near the end:

--8<---------------cut here---------------start------------->8---
          (define bepo-evdev
            "Section \"InputClass\"
                  Identifier \"evdev keyboard catchall\"
                  Driver \"evdev\"
                  MatchIsKeyboard \"on\"
                  Option \"xkb_layout\" \"fr\"
                  Option \"xkb_variant\" \"bepo\"
          EndSection")

          (operating-system
            ...
            (services
              (modify-services %desktop-services
                (slim-service-type config =>
                  (slim-configuration
                    (inherit config)
                    (startx (xorg-start-command
                             #:configuration-file
                             (xorg-configuration-file
                               #:extra-config
                               (list bepo-evdev)))))))))
--8<---------------cut here---------------end--------------->8---

The above example only details keyboard configuration.  For your trackpad, have
a look at libinput's manpage.
Also https://wiki.archlinux.org/index.php/Libinput may give you a good coverage
of the topic.

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#33189; Package guix. (Sun, 28 Oct 2018 23:50:02 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Luther Thompson <lutheroto <at> gmail.com>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: Help Guix <help-guix <at> gnu.org>, Bug Guix <bug-guix <at> gnu.org>,
 znavko <at> tutanota.com
Subject: Re: Touchpad tap
Date: Sun, 28 Oct 2018 19:49:18 -0400
On Sun, 28 Oct 2018 21:02:27 +0100
Pierre Neidhardt <mail <at> ambrevar.xyz> wrote:

> Hi!
> 
> Consult the manual, "(guix) X Window".  There is an example near the
> end:
> 
> --8<---------------cut here---------------start------------->8---
>           (define bepo-evdev
>             "Section \"InputClass\"
>                   Identifier \"evdev keyboard catchall\"
>                   Driver \"evdev\"
>                   MatchIsKeyboard \"on\"
>                   Option \"xkb_layout\" \"fr\"
>                   Option \"xkb_variant\" \"bepo\"
>           EndSection")
> 
>           (operating-system
>             ...
>             (services
>               (modify-services %desktop-services
>                 (slim-service-type config =>
>                   (slim-configuration
>                     (inherit config)
>                     (startx (xorg-start-command
>                              #:configuration-file
>                              (xorg-configuration-file
>                                #:extra-config
>                                (list bepo-evdev)))))))))
> --8<---------------cut here---------------end--------------->8---
> 
> The above example only details keyboard configuration.  For your
> trackpad, have a look at libinput's manpage.
> Also https://wiki.archlinux.org/index.php/Libinput may give you a
> good coverage of the topic.

I've been having the same problem on my Think Penguin laptop, and since
seeing this email, I've tried modifying my config.scm unsuccessfully.
I've run the reconfigure command and rebooted. Here is my services
field:

---BEGIN---
  (services
   (cons* (gnome-desktop-service) (console-keymap-service "dvorak")
	  (extra-special-file "/usr/bin/env" (file-append coreutils
"/bin/env")) (modify-services %desktop-services
			   (slim-service-type config =>
					      (slim-configuration
					       (inherit config)
					       (startx
						(xorg-start-command
						 #:configuration-file
						 (xorg-configuration-file
						  #:extra-config
						  '(
"Section \"InputClass\"
        Identifier \"keyboard-all\"
        Option \"XkbLayout\" \"dvorak\"
        MatchIsKeyboard \"on\"
EndSection
Section \"InputClass\"
	Identifier \"touchpad-all\"
	MatchIsTouchpad \"on\"
	Option \"DisableWhileTyping\" \"on\"
	Option \"Tapping\" \"on\"
EndSection"
))))))
			   (guix-service-type config =>
					      (guix-configuration
					       (inherit config)
					       (substitute-urls
						(list
						 "https://berlin.guixsd.org"
						 "https://mirror.hydra.gnu.org"
						 "https://hydra.gnu.org")))))))
---END---

Neither DisableWhileTyping nor Tapping has any effect. I also set the
corresponding settings in Gnome Tweaks > Keyboard & Mouse > Touchpad.
If I need a Driver field or some specific Identifier, I haven't been
able to find a way to determine the correct info for those fields.

Luther




Information forwarded to bug-guix <at> gnu.org:
bug#33189; Package guix. (Mon, 29 Oct 2018 00:45:02 GMT) Full text and rfc822 format available.

Message #14 received at 33189 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Luther Thompson <lutheroto <at> gmail.com>, znavko <at> tutanota.com
Cc: 33189 <at> debbugs.gnu.org, Pierre Neidhardt <mail <at> ambrevar.xyz>,
 help-guix <at> gnu.org
Subject: Re: bug#33189: Touchpad tap
Date: Mon, 29 Oct 2018 01:44:45 +0100
Luther,

Luther Thompson wrote:
> Section \"InputClass\"
> 	Identifier \"touchpad-all\"
> 	MatchIsTouchpad \"on\"
> 	Option \"DisableWhileTyping\" \"on\"
> 	Option \"Tapping\" \"on\"
> EndSection"

[...]

> Neither DisableWhileTyping nor Tapping has any effect. I also 
> set the
> corresponding settings in Gnome Tweaks > Keyboard & Mouse > 
> Touchpad.
> If I need a Driver field or some specific Identifier, I haven't 
> been
> able to find a way to determine the correct info for those 
> fields.

Here's what I use:

 Section \"InputClass\"
  Identifier \"Touchpads\"
  Driver \"libinput\"
  MatchDevicePath \"/dev/input/event*\"
  MatchIsTouchpad \"on\"

  Option \"DisableWhileTyping\" \"on\"
  Option \"MiddleEmulation\" \"on\"
  Option \"ClickMethod\" \"clickfinger\"
  Option \"Tapping\" \"on\"
  Option \"TappingButtonMap\" \"lrm\"
  Option \"TappingDrag\" \"on\"
  Option \"ScrollMethod\" \"twofinger\"
  Option \"NaturalScrolling\" \"true\"
 EndSection

xinput(1) calls it an 'ETPS/2 Elantech Touchpad'.

Kind regards,

T G-R




Information forwarded to bug-guix <at> gnu.org:
bug#33189; Package guix. (Mon, 29 Oct 2018 04:02:01 GMT) Full text and rfc822 format available.

Message #17 received at 33189 <at> debbugs.gnu.org (full text, mbox):

From: Luther Thompson <lutheroto <at> gmail.com>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 33189 <at> debbugs.gnu.org, Pierre Neidhardt <mail <at> ambrevar.xyz>,
 help-guix <at> gnu.org, znavko <at> tutanota.com
Subject: Re: bug#33189: Touchpad tap
Date: Mon, 29 Oct 2018 00:01:44 -0400
On Mon, 29 Oct 2018 01:44:45 +0100
Tobias Geerinckx-Rice <me <at> tobias.gr> wrote:

> Here's what I use:
> 
>   Section \"InputClass\"
>    Identifier \"Touchpads\"
>    Driver \"libinput\"
>    MatchDevicePath \"/dev/input/event*\"
>    MatchIsTouchpad \"on\"
> 
>    Option \"DisableWhileTyping\" \"on\"
>    Option \"MiddleEmulation\" \"on\"
>    Option \"ClickMethod\" \"clickfinger\"
>    Option \"Tapping\" \"on\"
>    Option \"TappingButtonMap\" \"lrm\"
>    Option \"TappingDrag\" \"on\"
>    Option \"ScrollMethod\" \"twofinger\"
>    Option \"NaturalScrolling\" \"true\"
>   EndSection
> 
> xinput(1) calls it an 'ETPS/2 Elantech Touchpad'.

Thanks, but I still can't get it to work. This is my current config:

Section \"InputClass\"
	Identifier \"Touchpads\"
	Driver \"libinput\"
	MatchDevicePath \"/dev/input/event*\"
	MatchIsTouchpad \"on\"
	Option \"DisableWhileTyping\" \"on\"
	Option \"Tapping\" \"on\"
EndSection

I've found from xinput that it's a 'SynPS/2 Synaptics TouchPad' at
device node /dev/input/event6. I can't find a way to confirm the driver
name.

Luther




Information forwarded to bug-guix <at> gnu.org:
bug#33189; Package guix. (Mon, 13 May 2019 17:28:01 GMT) Full text and rfc822 format available.

Message #20 received at 33189 <at> debbugs.gnu.org (full text, mbox):

From: "Alex Griffin" <a <at> ajgrf.com>
To: 33189 <at> debbugs.gnu.org
Subject: Touchpad tap
Date: Mon, 13 May 2019 13:27:00 -0400
If you want to force the libinput driver, it's way easier to just remove synaptics from the list of Xorg modules.

    (set-xorg-configuration
     (xorg-configuration
      (keyboard-layout keyboard-layout)
      (modules (filter (lambda (mod)
                         (not (eq? mod xf86-input-synaptics)))
                       %default-xorg-modules))))

Or if you don't want to do that, you can use synclient to configure the synaptics driver after it has already loaded. No need to fiddle with X11 config files.

It looks like this issue is probably the same as #35450, where Florian has identified the cause.

-- 
Alex Griffin




Merged 33189 35450. Request was from Tobias Geerinckx-Rice <me <at> tobias.gr> to control <at> debbugs.gnu.org. (Mon, 30 Nov 2020 21:40:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#33189; Package guix. (Mon, 23 Aug 2021 10:47:02 GMT) Full text and rfc822 format available.

Message #25 received at 33189 <at> debbugs.gnu.org (full text, mbox):

From: Attila Lendvai <attila <at> lendvai.name>
To: "33189 <at> debbugs.gnu.org" <33189 <at> debbugs.gnu.org>
Subject: (No Subject)
Date: Mon, 23 Aug 2021 10:45:57 +0000
[Message part 1 (text/plain, inline)]
feedback from a newcomer to Guix:

i suggest a higher priority for this bug, because it affects just about anyone who installs Guix on a laptop, and whose neurons are used to natural scrolling, and/or tap to click.

i have spent a couple of days annoyed until i got to resolve this issue finally (thank you Alex Griffin!).

- attila
PGP: 5D5F 45C7 DFCD 0A39
[Message part 2 (text/html, inline)]

Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Fri, 25 Mar 2022 17:46:01 GMT) Full text and rfc822 format available.

Notification sent to <znavko <at> tutanota.com>:
bug acknowledged by developer. (Fri, 25 Mar 2022 17:46:01 GMT) Full text and rfc822 format available.

Message #30 received at 33189-done <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Attila Lendvai <attila <at> lendvai.name>
Cc: 33189-done <at> debbugs.gnu.org
Subject: Re: bug#33189: Touchpad tap
Date: Fri, 25 Mar 2022 18:44:58 +0100
This one should now be fixed with:
2e55a4c6b9153fd1db60122cb29cee466693a753.

Thanks,

Mathieu




Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Fri, 25 Mar 2022 17:46:01 GMT) Full text and rfc822 format available.

Notification sent to "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>:
bug acknowledged by developer. (Fri, 25 Mar 2022 17:46:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 23 Apr 2022 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 74 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.