xorg, libinput, edev and i3wm

Jacques Foucry jacques+freebsd at foucry.net
Wed Aug 26 06:59:57 UTC 2020

Dear All,

I need your experize.

I run FreeBSD 12.1-RELEASE-p8 GENERIC, on a X280 Lenovo laptop and I can't
make the touchepad work properlly. Some options works, others don't.

Well, I will try to give all the informations:





setxkbmap -query                                                                                                                                                                                                                          ✔ 
rules:      evdev
model:      lenovo
layout:     us
variant:    altgr-intl
options:    terminate:ctrl_alt_bksp,misc:typo,compose:lwin,terminate:ctrl_alt_bksp,misc:typo,compose:lwin

more 90-touchpad.conf                                                                                                                                                                                                        ✔ 
Section "InputClass"
        Identifier "libinput Touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "AccelSpeed" "0.1"
        Option "Taping" "on"
        Option "NaturalScrolling" "off"
        Option "DisableWhileTapping" "on"

Note: 90-touchpad.conf is the only custom X11 file


bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
# Use xbackliht to adjust brightness
bindsym XF86MonBrightnessUp exec xbacklight -inc 5
bindsym $mod+$alt+Next exec xbacklight -inc 5
bindsym XF86MonBrightnessDown exec xbacklight -dec 5
bindsym $mod+$alt+Prev exec xbacklight -dec 5

With this configuration, scroll with 2 fingers works;
If I enable "NaturalScrolling" it works too;
but taping does not work;
the special keyboard keys does not work too (XF86AudioRaiseVolume, XF86AudioLowerVolume, XF86AudioMute, XF86AudioMicMute). 
Same with brightness key. 

To make thoses keys and touchpad works, I need to launch
"mate-keybings-properties" which is not optimal.

I try to remove mate complety, it does not change anything.

I have read on may website that evdev and libinput should be "automagical".
Sems does not work for me :-(

So I need you to find the correct configuration,

Thanks for your time and advices
Jacques Foucry

More information about the freebsd-questions mailing list