[Nix-dev] synaptics touchpad configuration question

Kirill Elagin kirelagin at gmail.com
Mon Mar 16 08:05:47 CET 2015


Well, the next thing to check is the X log. When X detects an input device,
it lists all the options it is going to apply, so check that RBCornerButton
is actually applied.
Also, does the option work if you set it manually (I mean, not in X config,
but by actually calling `synclient` from the terminal)?

P.S. As a side note I’d like to mention that `synclient` is an old tool (it
basically just emulates the old interface on top of the new one for
compatibility). XInput2 is the new interface and the command is `xinput`
(check `man synaptics` for the mapping between xinput properties and X
server config options). Not that it is important in this particular case,
but it is just good to know that there are some things you can’t do in
synclient.

On Mon, Mar 16, 2015 at 3:35 AM Brandon Barker <brandon.barker at cornell.edu>
wrote:

> Thanks for the tip; interestingly (and possibly unfortunately) the Xorg
> config matches configuration.nix:
>
> cat /nix/store/i1r98qyqppn3yzs1k927hp6z3351rc6n-xserver.conf | grep RB
>   Option "RBCornerButton" "3"
>
>
> # Automatically enable the synaptics driver for all touchpads.
> Section "InputClass"
>   Identifier "synaptics touchpad catchall"
>   MatchIsTouchpad "on"
>
>   Driver "synaptics"
>   Option "MinSpeed" "0.6"
>   Option "MaxSpeed" "1.0"
>   Option "AccelFactor" "0.001"
>   Option "MaxTapTime" "180"
> Option "MaxTapMove" "220"
> Option "TapButton1" "1"
> Option "TapButton2" "2"
> Option "TapButton3" "3"
>
>   Option "ClickFinger1" "1"
>   Option "ClickFinger2" "2"
>   Option "ClickFinger3" "3"
>   Option "VertTwoFingerScroll" "0"
>   Option "HorizTwoFingerScroll" "0"
>   Option "VertEdgeScroll" "1"
>
>
>   Option "RBCornerButton" "3"
>
> EndSection
>
>
>
> On Sun, Mar 15, 2015 at 9:36 PM, Luca Bruno <lethalman88 at gmail.com> wrote:
>
>> You can check the contents of xorg.conf, look at ps ax there should be
>> the X process running with a particular configuration. Look there if
>> there's any culprit with the config first.
>>
>> On Sat, Mar 14, 2015 at 5:11 PM, Brandon Barker <
>> brandon.barker at cornell.edu> wrote:
>>
>>> I have the following in my configuration.nix:
>>>
>>>   # Enable the X11 windowing system.
>>>   services.xserver = {
>>>     enable = true;
>>>     layout = "us";
>>>     videoDrivers = [ "nvidia" ];
>>>     synaptics = {
>>>       enable = true;
>>>       additionalOptions =
>>>       ''
>>>         *Option "RBCornerButton" "3"*
>>>       '';
>>>     };
>>>     desktopManager.xfce.enable = true;
>>>   };
>>>
>>>
>>> But when I `nixos-rebuild switch` and `reboot`, then check my current
>>> configuration with `synclient -l` I see the following:
>>>
>>>     RBCornerButton          = 0
>>>
>>> And indeed I still can't right-click.
>>>
>>> Any tips would be greatly appreciated; this is really the last hurdle
>>> (not that there were any others really) in getting nixos working on my
>>> ideapad, which up until now has been very resistant to any linux installers
>>> over the last few years, partly because nouveau is often the default
>>> driver, which doesn't work at all for me. Luckily it is very easy to
>>> install nixos from the command line with the help of a few docs. I think
>>> this is the first time I've had a ZFS root drive in Linux, maybe in any OS
>>> (still not an option in the Ubuntu installer btw).
>>>
>>> --
>>> Brandon E. Barker
>>> http://www.cac.cornell.edu/barker/
>>>
>>> _______________________________________________
>>> nix-dev mailing list
>>> nix-dev at lists.science.uu.nl
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>>
>>>
>>
>>
>> --
>> NixOS Linux <http://nixos.org>
>>
>
>
>
> --
> Brandon E. Barker
> http://www.cac.cornell.edu/barker/
>  _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150316/6d6fc623/attachment.html 


More information about the nix-dev mailing list