unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Touchpad tap
@ 2018-10-28 18:40 znavko
  2018-10-28 20:02 ` Pierre Neidhardt
  0 siblings, 1 reply; 5+ 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] 5+ 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
  0 siblings, 1 reply; 5+ 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] 5+ 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
  0 siblings, 1 reply; 5+ 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] 5+ messages in thread

* Re: bug#33189: Touchpad tap
  2018-10-28 23:49   ` Luther Thompson
@ 2018-10-29  0:44     ` Tobias Geerinckx-Rice
  2018-10-29  4:01       ` Luther Thompson
  0 siblings, 1 reply; 5+ messages in thread
From: Tobias Geerinckx-Rice @ 2018-10-29  0:44 UTC (permalink / raw)
  To: Luther Thompson, znavko; +Cc: 33189, 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] 5+ messages in thread

* Re: bug#33189: Touchpad tap
  2018-10-29  0:44     ` bug#33189: " Tobias Geerinckx-Rice
@ 2018-10-29  4:01       ` Luther Thompson
  0 siblings, 0 replies; 5+ messages in thread
From: Luther Thompson @ 2018-10-29  4:01 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 33189, 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] 5+ messages in thread

end of thread, other threads:[~2018-10-29  4:01 UTC | newest]

Thread overview: 5+ 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
2018-10-29  4:01       ` Luther Thompson

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).