unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* Touchpad tap
@ 2018-10-28 18:40 znavko
  2018-10-28 20:02 ` Pierre Neidhardt
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: znavko @ 2018-10-28 18:40 UTC (permalink / raw)
  To: Help Guix, Bug Guix

[-- Attachment #1: Type: text/plain, Size: 678 bytes --]

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 #2: Type: text/html, Size: 897 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Touchpad tap
  2018-10-28 18:40 Touchpad tap znavko
@ 2018-10-28 20:02 ` Pierre Neidhardt
  2018-10-28 23:49   ` Luther Thompson
  2019-05-13 17:27 ` Alex Griffin
  2021-08-23 10:45 ` bug#33189: (No Subject) Attila Lendvai
  2 siblings, 1 reply; 8+ messages in thread
From: Pierre Neidhardt @ 2018-10-28 20:02 UTC (permalink / raw)
  To: znavko; +Cc: Bug Guix, Help Guix

[-- Attachment #1: Type: text/plain, Size: 1306 bytes --]

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/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Touchpad tap
  2018-10-28 20:02 ` Pierre Neidhardt
@ 2018-10-28 23:49   ` Luther Thompson
  2018-10-29  0:44     ` bug#33189: " Tobias Geerinckx-Rice
       [not found]     ` <87woq1bmyq.fsf@tobias.gr>
  0 siblings, 2 replies; 8+ messages in thread
From: Luther Thompson @ 2018-10-28 23:49 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: Help Guix, Bug Guix

On Sun, 28 Oct 2018 21:02:27 +0100
Pierre Neidhardt <mail@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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#33189: Touchpad tap
  2018-10-28 23:49   ` Luther Thompson
@ 2018-10-29  0:44     ` Tobias Geerinckx-Rice
       [not found]     ` <87woq1bmyq.fsf@tobias.gr>
  1 sibling, 0 replies; 8+ messages in thread
From: Tobias Geerinckx-Rice @ 2018-10-29  0:44 UTC (permalink / raw)
  To: Luther Thompson, znavko; +Cc: 33189, Pierre Neidhardt, help-guix

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#33189: Touchpad tap
       [not found]     ` <87woq1bmyq.fsf@tobias.gr>
@ 2018-10-29  4:01       ` Luther Thompson
  0 siblings, 0 replies; 8+ messages in thread
From: Luther Thompson @ 2018-10-29  4:01 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 33189, Pierre Neidhardt, help-guix

On Mon, 29 Oct 2018 01:44:45 +0100
Tobias Geerinckx-Rice <me@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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#33189: Touchpad tap
  2018-10-28 18:40 Touchpad tap znavko
  2018-10-28 20:02 ` Pierre Neidhardt
@ 2019-05-13 17:27 ` Alex Griffin
  2021-08-23 10:45 ` bug#33189: (No Subject) Attila Lendvai
  2 siblings, 0 replies; 8+ messages in thread
From: Alex Griffin @ 2019-05-13 17:27 UTC (permalink / raw)
  To: 33189

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#33189: (No Subject)
  2018-10-28 18:40 Touchpad tap znavko
  2018-10-28 20:02 ` Pierre Neidhardt
  2019-05-13 17:27 ` Alex Griffin
@ 2021-08-23 10:45 ` Attila Lendvai
  2022-03-25 17:44   ` bug#33189: Touchpad tap Mathieu Othacehe
  2 siblings, 1 reply; 8+ messages in thread
From: Attila Lendvai @ 2021-08-23 10:45 UTC (permalink / raw)
  To: 33189@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

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 #2: Type: text/html, Size: 631 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#33189: Touchpad tap
  2021-08-23 10:45 ` bug#33189: (No Subject) Attila Lendvai
@ 2022-03-25 17:44   ` Mathieu Othacehe
  0 siblings, 0 replies; 8+ messages in thread
From: Mathieu Othacehe @ 2022-03-25 17:44 UTC (permalink / raw)
  To: Attila Lendvai; +Cc: 33189-done


This one should now be fixed with:
2e55a4c6b9153fd1db60122cb29cee466693a753.

Thanks,

Mathieu




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-03-25 17:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-28 18:40 Touchpad tap znavko
2018-10-28 20:02 ` Pierre Neidhardt
2018-10-28 23:49   ` Luther Thompson
2018-10-29  0:44     ` bug#33189: " Tobias Geerinckx-Rice
     [not found]     ` <87woq1bmyq.fsf@tobias.gr>
2018-10-29  4:01       ` Luther Thompson
2019-05-13 17:27 ` Alex Griffin
2021-08-23 10:45 ` bug#33189: (No Subject) Attila Lendvai
2022-03-25 17:44   ` bug#33189: Touchpad tap Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).