Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2020 10:05:05 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Vladimir Kondratyev <vladimir@kondratyev.su>
Cc:        freebsd-x11@freebsd.org, Michael Gmelin <freebsd@grem.de>
Subject:   Re: Xorg (latest from ports) and no mouse movement
Message-ID:  <X9sfQQBvmiyv9NEv@c720-r368166.fritz.box>
In-Reply-To: <a7ec0a1b-9638-82a9-cd89-c8f8357029f3@kondratyev.su>
References:  <20201205144428.GA7042@c720-r342378> <d01e5270-77b0-5bf1-6af4-7cd75d5029ca@kondratyev.su> <u4tmdt.qkvl4m.2wallm-qmf@ms-10.1blu.de> <5cad48e4-2414-1581-f79d-5b2d4d0b6619@kondratyev.su> <X9IWYJvIfAjdU348@c720-r368166.fritz.box> <1f745bc6-8315-3825-d3c4-8b04cd63a88c@kondratyev.su> <X9nva3MXXq4Crg7g@c720-r368166.fritz.box> <4dafd8bb-14fa-dee9-353f-625f8479af95@kondratyev.su> <X9oR4L636FPw9gva@c720-r368166.fritz.box> <a7ec0a1b-9638-82a9-cd89-c8f8357029f3@kondratyev.su>

next in thread | previous in thread | raw e-mail | index | archive | help
El día miércoles, diciembre 16, 2020 a las 07:09:20p. m. +0300, Vladimir Kondratyev escribió:

> ... 
> 3-finger tap is typical gesture for emulating a middle button click.
> 
> > 
> > - I can click in the title bar of a window, the mouse pointer gets shown
> >   as a cross, but I can't move the window around;
> 
> Use tap-and-drag
> https://wayland.freedesktop.org/libinput/doc/latest/tapping.html or
> click-and-drag gestures.
> 
> > I haven't yet applied your additional patch.
> 
> If you would apply the patch add it would work correctly, you would get
> another one option to do a middle button click called "softbuttons":
> https://wayland.freedesktop.org/libinput/doc/latest/clickpad-softbuttons.html
> 
> > Should this applied on top
> > of the already applied patch?
> 
> No it should be applied on top of the vanilla cyapa.c
> ...

I applied the last patch (thanks) and revoked the changes I did in
/usr/local/share/X11/xorg.conf.d/40-libinput.conf

Following the hints of Michael (thanks) I have now in my ~/.xinitrc file
this section:

# TouchPad / ClickPad section
#
device="Cypress APA I2C Trackpad"
xinput set-prop "$device" "libinput Tapping Enabled" 1
#
# for those who like "natural" scrolling:
#
xinput set-prop "$device" "libinput Natural Scrolling Enabled" 1
#
# this gives three buttons in the lower part of the TP:
#
xinput set-prop "$device" "libinput Middle Emulation Enabled"  0
#
# +------------------------------------+
# |                                    |
# |             main area              |
# |                                    |
# |                                    |
# +------------------------------------+
# |  button1   |  button2  |  button3  | ~10mm in high
# +------------------------------------+
#
# see also:
# https://wayland.freedesktop.org/libinput/doc/latest/clickpad-softbuttons.html
#
# end of TouchPad / ClickPad section

With this I can

- use button1 click in the window title, hold it down and move it around
  with the finger in the main area;
- tap on any desktop or window decoration icon  
- select a word with double tapping or a full line with tripple tapping
  and paste is with a click on button2
- click and hold down button1, select any length of string moving
  another finger in the main area, release button1 and paste the
  selected chars with a click on button2;

Pasting with three finger tapping I get seldom to work. But, I was never
used to this.

Thanks

	matthias
-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?X9sfQQBvmiyv9NEv>