Touchpad tap

DoneSubmitted by znavko.
Details
7 participants
  • Alex Griffin
  • Attila Lendvai
  • Luther Thompson
  • Pierre Neidhardt
  • Tobias Geerinckx-Rice
  • Mathieu Othacehe
  • znavko
Owner
unassigned
Severity
normal
Merged with
Z
Z
znavko wrote on 28 Oct 2018 19:40
LPvy_pD--3-1@tutanota.com
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?
Attachment: file
P
P
Pierre Neidhardt wrote on 28 Oct 2018 21:02
(address . znavko@tutanota.com)
87a7mxn8ks.fsf@ambrevar.xyz
Hi!

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

Toggle snippet (23 lines)
(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)))))))))

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

--
Pierre Neidhardt
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlvWFdMACgkQm9z0l6S7
zH8cWAf/TVXByJJEPMhRcxWtOJeE2YrpHJSXrXijwuHM6EMlP5rG5tOO/A27LMdq
z1hShZvrAgHQgADP6b7kmFQ+rEhFmY+IOr7OGYAwwKLyvWoy7g4r7Nkg/Ep2Hs0O
h3ozUeiKp/FXN7njjkoJJleD4vRjQXstbyDvbk+0jAK3pv3lXflNjh1CzAmgcGCt
Qle9JouYMHZYoQc2EqSH/YNODc3KYzQhgTgnbSuGWhLUhwioVAQI+uPN1mw6z63E
yHmZT91dcv5upG4qR6eOY0gouw53uTAlNmmvY9mmzP3XDNG4XIUEqYv/ilQfHZgH
J/Z7xx/veWXHQMN2UaJGaduLjKIJug==
=c8oD
-----END PGP SIGNATURE-----

L
L
Luther Thompson wrote on 29 Oct 2018 00:49
(name . Pierre Neidhardt)(address . mail@ambrevar.xyz)
20181028194918.32e4b6cc@gmail.com
On Sun, 28 Oct 2018 21:02:27 +0100
Pierre Neidhardt <mail@ambrevar.xyz> wrote:

Toggle quote (34 lines)
> 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
T
T
Tobias Geerinckx-Rice wrote on 29 Oct 2018 01:44
Re: bug#33189: Touchpad tap
87woq1bmyq.fsf@tobias.gr
Luther,

Luther Thompson wrote:
Toggle quote (7 lines)
> Section \"InputClass\"
> Identifier \"touchpad-all\"
> MatchIsTouchpad \"on\"
> Option \"DisableWhileTyping\" \"on\"
> Option \"Tapping\" \"on\"
> EndSection"

[...]

Toggle quote (9 lines)
> 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
L
L
Luther Thompson wrote on 29 Oct 2018 05:01
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)
20181029000144.0d3df56a@gmail.com
On Mon, 29 Oct 2018 01:44:45 +0100
Tobias Geerinckx-Rice <me@tobias.gr> wrote:

Toggle quote (20 lines)
> 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
A
A
Alex Griffin wrote on 13 May 2019 19:27
Touchpad tap
(address . 33189@debbugs.gnu.org)
5088a01a-97f5-4f48-b7ab-45fcf1750476@www.fastmail.com
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
T
T
Tobias Geerinckx-Rice wrote on 30 Nov 2020 22:39
(no subject)
(address . control@debbugs.gnu.org)
87o8jewml5.fsf@nckx
merge 33189 35450
A
A
Attila Lendvai wrote on 23 Aug 2021 12:45
(No Subject)
(name . 33189@debbugs.gnu.org)(address . 33189@debbugs.gnu.org)
1lQ8vJ7WT2vDHTA9WyvVFKbMtAMzePtjxu6gwolsbJZ8Qpu7O5oRlacRMfCRWaqy1_klrt8CwclaxA4W41e99UeJSMqYBkGo6KKL5o8jicI=@lendvai.name
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
Attachment: file
M
M
Mathieu Othacehe wrote on 25 Mar 18:44 +0100
Re: bug#33189: Touchpad tap
(name . Attila Lendvai)(address . attila@lendvai.name)(address . 33189-done@debbugs.gnu.org)
87v8w2gc4l.fsf_-_@gnu.org
This one should now be fixed with:
2e55a4c6b9153fd1db60122cb29cee466693a753.

Thanks,

Mathieu
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 33189@debbugs.gnu.org