From owner-freebsd-x11@freebsd.org Thu Dec 17 09:05:10 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 88F294B0FF9 for ; Thu, 17 Dec 2020 09:05:10 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CxR0P4Xhhz56xv for ; Thu, 17 Dec 2020 09:05:09 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [188.174.61.217] (helo=c720-r368166.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kppDf-0005Hi-7u; Thu, 17 Dec 2020 10:05:07 +0100 Received: from c720-r368166.fritz.box (localhost [127.0.0.1]) by c720-r368166.unixarea.de (8.16.1/8.14.9) with ESMTPS id 0BH9564L003429 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 17 Dec 2020 10:05:06 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by c720-r368166.fritz.box (8.16.1/8.14.9/Submit) id 0BH955FI003428; Thu, 17 Dec 2020 10:05:05 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: c720-r368166.fritz.box: guru set sender to guru@unixarea.de using -f Date: Thu, 17 Dec 2020 10:05:05 +0100 From: Matthias Apitz To: Vladimir Kondratyev Cc: freebsd-x11@freebsd.org, Michael Gmelin Subject: Re: Xorg (latest from ports) and no mouse movement Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: Vladimir Kondratyev , freebsd-x11@freebsd.org, Michael Gmelin References: <20201205144428.GA7042@c720-r342378> <5cad48e4-2414-1581-f79d-5b2d4d0b6619@kondratyev.su> <1f745bc6-8315-3825-d3c4-8b04cd63a88c@kondratyev.su> <4dafd8bb-14fa-dee9-353f-625f8479af95@kondratyev.su> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 13.0-CURRENT r368166 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.61.217 X-Rspamd-Queue-Id: 4CxR0P4Xhhz56xv X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of guru@unixarea.de has no SPF policy when checking 178.254.4.101) smtp.mailfrom=guru@unixarea.de X-Spamd-Result: default: False [-2.19 / 15.00]; HAS_REPLYTO(0.00)[guru@unixarea.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[178.254.4.101:from]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.99)[-0.989]; RECEIVED_SPAMHAUS_PBL(0.00)[188.174.61.217:received]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[178.254.4.101:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[178.254.4.101:from:127.0.2.255]; RCVD_IN_DNSWL_LOW(-0.10)[178.254.4.101:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-x11] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2020 09:05:10 -0000 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