From: ludo@gnu.org (Ludovic Courtès)
To: Alex Kost <alezost@gmail.com>
Cc: guix-devel@gnu.org
Subject: Synaptics & libinput driver
Date: Thu, 21 May 2015 22:40:52 +0200 [thread overview]
Message-ID: <87h9r5zmsr.fsf_-_@gnu.org> (raw)
In-Reply-To: <87siarf9gv.fsf@gmail.com> (Alex Kost's message of "Wed, 20 May 2015 20:24:32 +0300")
Alex Kost <alezost@gmail.com> skribis:
> Daniel Pimentel (2015-05-20 16:12 +0300) wrote:
>
>> On 2015-05-20 09:24, ludo@gnu.org wrote:
>>> Daniel Pimentel <d4n1@openmailbox.org> 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, …) 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 “future” of input
drivers:
http://who-t.blogspot.fr/2015/01/xf86-input-libinput-compatibility-with.html
Ludo’.
next prev parent reply other threads:[~2015-05-21 20:41 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-20 7:06 permission denied: /gnu/store/...guile rekado
2015-05-20 8:17 ` Andreas Enge
2015-05-20 11:24 ` Daniel Pimentel
2015-05-20 12:24 ` Ludovic Courtès
2015-05-20 13:12 ` Daniel Pimentel
2015-05-20 17:24 ` Alex Kost
2015-05-21 20:40 ` Ludovic Courtès [this message]
2015-05-20 12:18 ` Ludovic Courtès
2015-05-20 20:56 ` rekado
2015-05-21 8:03 ` Ludovic Courtès
2015-05-22 20:15 ` Mark H Weaver
2015-05-22 20:21 ` Mark H Weaver
2015-05-23 9:41 ` rekado
2015-05-23 14:22 ` Ludovic Courtès
2015-05-23 16:26 ` Mark H Weaver
2015-05-23 22:28 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h9r5zmsr.fsf_-_@gnu.org \
--to=ludo@gnu.org \
--cc=alezost@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.