From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Synaptics & libinput driver Date: Thu, 21 May 2015 22:40:52 +0200 Message-ID: <87h9r5zmsr.fsf_-_@gnu.org> References: <14d70199695.1243810498111.5252599218489536710@elephly.net> <3f67e7b73e8054a756edf7cdc68cd036@openmailbox.org> <87h9r7bfo7.fsf@gnu.org> <87siarf9gv.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvXH4-0001lh-BD for guix-devel@gnu.org; Thu, 21 May 2015 16:41:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvXH0-0005SB-3C for guix-devel@gnu.org; Thu, 21 May 2015 16:41:02 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvXGz-0005S6-W5 for guix-devel@gnu.org; Thu, 21 May 2015 16:40:58 -0400 In-Reply-To: <87siarf9gv.fsf@gmail.com> (Alex Kost's message of "Wed, 20 May 2015 20:24:32 +0300") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Kost Cc: guix-devel@gnu.org Alex Kost skribis: > Daniel Pimentel (2015-05-20 16:12 +0300) wrote: > >> On 2015-05-20 09:24, ludo@gnu.org wrote: >>> Daniel Pimentel skribis: [...] >> Allright, so I needed to add this code to my touchpad work well: >> >> Section "InputClass" >> Identifier "touchpad catchall" >> Driver "synaptics" >> MatchIsTouchpad "on" >> Option "TapButton1" "1" >> Option "TapButton2" "-1" >> Option "TapButton3" "3" >> Option "VertEdgeScroll" "on" >> Option "HorizTwoFingerScroll" "on" >> EndSection >> >> What's solution? Add it to config.scm (is very long code to it?)? > > It's probably not a solution for you, but what I do is: I have Xorg > server and required modules (xf86-input-evdev, =E2=80=A6) installed in my > user profile; and I start it with "-configdir /path/to/my/xorg.conf.d" > option. Commit d1cdd7b adds a more pleasant solution whereby one can specify text to be added verbatim to the Xorg config file, like: (define input-class "Section \"InputClass" ...") (define (my-slim-service) (mlet %store-monad ((config (xorg-configuration-file #:extra-config (list input-class))) (startx (xorg-start-command #:configuration-file config))) (slim-service #:startx startx))) (operating-system ;; ... (services (cons (my-slim-service) ...))) But more importantly, it seems to be that these things are supposed to work out-of-the-box nowadays. Commit c2ee19e adds the libinput Xorg driver in the server configuration file, which might help. It is described as the =E2=80=9Cfuture=E2=80=9D of= input drivers: http://who-t.blogspot.fr/2015/01/xf86-input-libinput-compatibility-with.h= tml Ludo=E2=80=99.