HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
bulletmark
libinput-gestures
Python2016–2023
bulletmark / libinput-gestures

libinput-gestures

Actions gestures on your touchpad using libinput

13Distinct people
15Mentions
0Explicit recommenders
4.1KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Actions gestures on your touchpad using libinput

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 2:04:58 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year15 dated mentions

Observed mentions: 2016-10-30 21:24:16 UTC to 2023-01-14 12:30:27 UTC.

012342016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20162017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2023

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC202
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC101
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC202
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC404
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC404
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC110

What Hacker News says

15 sources
Well, I'm a few days late but I'm going to leave this here if it can help someone else. If Ubuntu works like Fedora in this regard, it probably switched from Wayland to Xorg when you installed the proprietary Nvidia driver. The Wayland session supports touchpad gestures natively, but the Xorg one doesn't. You can install something like libinput-gestures[1] to replicate the functionality, with the caveat that the gestures won't be triggered until you lift your fingers off the touchpad. (On Wayland the interface reacts to the gestures as you swipe.) Ubuntu switching 'silently' to Xorg is actually working as intended because Nvidia's support for Wayland was somewhat experimental until very recently. It's getting better though, and it's now officially supported on Fedora 35. [1] https://github.com/bulletmark/libinput-gestures
In Ask HN: Linux Nvidia driver broke my touchpad. WTF?
Yes I agree about the smoothness issues, however you can really improve things by adding the line `timeout 0` to your ~/.config/libinput-gestures.conf to set the threshold to the lowest setting. The comments here are from the end of their example config https://github.com/bulletmark/libinput-gestures/blob/master/...: ############################################################################### # You can set a timeout on gestures from start to end. The default is # the value commented below. It can be any value in float secs >= 0. # 0 = no timeout. E.g. set it to 2 secs with "timeout 2". timeout 0
In Q3 Linux touchpad update: Multitouch gesture test packages now ready
Number 1 seems wildly subjective based on the person's level of dexterity and the hardware used. The only way I could see that being meaningful if you did it on the exact same laptop side by side with Mac and Linux and tweaked the acceleration profile, but it doesn't actually sound like the author is talking about installing Linux on a macbook. Numbers 2 and 3 are already in libinput. I am still struggling to understand what it is the author feels they need to fork the project for; there is some additional software that needs to be provided to really get the mac-like desktop experience with gestures, but that is covered by the libinput-gestures project. https://github.com/bulletmark/libinput-gestures
In Linux touchpad like a MacBook Pro, May 2020 update
There may be more avenues left to try with your current hardware, before you make a choice: Check to makes sure you're running a distro with recent enough Xorg/linux kernel (but not so bleeding edge stuff like libinput-gestures isn't supported). Also if you use integrated graphics, life may be easier since you can pick between Wayland and Xorg to find which DM supports inputs best in your case. Xorg drivers: https://github.com/p2rkw/xf86-input-mtrack libinput: https://wayland.freedesktop.org/libinput/doc/latest/index.ht... libinput-gestures: https://github.com/bulletmark/libinput-gestures (example: https://gist.github.com/SkyBehind/d664448838d065428eded7eb6d...) Gnome extension with some gesture edgecases: 3-finger swiping to different windows like macOS: https://extensions.gnome.org/extension/1253/extended-gesture... Also if you really l
Read the rest
ike trackpads and want a consistent experience, you can get a logitech t650 / apple magic trackpad and share your configuration for libinput/etc. across machines. Edit: I reread and noticed you're trying to stay away from apple hardware. You could try logitech's trackpad, but apple magic trackpad may be better a la carte. If you did I'd recommend using via USB w/ bluetooth off to avert pairing headaches
In Ask HN: Linux laptop with good multi-touch trackpad
> Visual or terminal-based means to configure rudimentary touchpad settings. The fewest options I could imagine supporting for v1 would be: scroll speed/acceleration, scroll speed, natural scrolling toggle, hopefully support for gestures. You gave up on libinput after an inability to configure scroll speed, but the rest of those are all configurable with libinput and libinput-gestures[1]. I don't use gestures yet and default scroll speed has always been fine, and the following tiny libinput configuration hits the rest of your points. $ cat /etc/X11/xorg.conf.d/30-touchpad.conf Section "InputClass" Identifier "touchpad" Driver "libinput" MatchIsTouchpad "on" Option "Tapping" "on" Option "TappingButtonMap" "lrm" Option "NaturalScrolling" "true" EndSection Is there a reason you haven't asked the li
Read the rest
binput maintainer about whether configurable scroll speed would be welcome upstream (in the prior post, it comes across like your question was far more open ended)? Forking it just to add scroll speed configuration and replicate work that's already been done elsewhere seems a little excessive. [1] https://github.com/bulletmark/libinput-gestures
In Linux touchpad like a Macbook: progress and a call for help
> This allows me to add arbitrary gestures (within the confines of swipe/pinch, 2/3/4 fingers etc) that trigger command line commands? Exactly. > Does it work with all touchpads? All libinput-supported touchpads (see: https://wiki.archlinux.org/index.php/Libinput). There's more on this on the GitHub page for libinput-gestures, the CLI tool Gestures is based on: https://github.com/bulletmark/libinput-gestures > What are some commands I might be interested in configuring? I'm personally using it to replicate (more or less successfully) the macOS gestures I missed when switching to Linux. For example: - swipe left/right to switch workspace - swipe down to trigger the Budgie Desktop run dialog - swipe left/right to open and close notifications - pinch in/out to zoom in or out (mapping it to the Ctrl/ +- shortcuts) This (5-second) video gives
Read the rest
some very basic examples: https://www.youtube.com/watch?v=SfJ59kTcJjM Direct keyboard shortcuts aren't unfortunately available in Wayland ATM, given its design limitations for security reasons. Workarounds will come (virtual keyboard drivers perhaps?), but there's nothing like that AFAIK. Luckily, apart from zoom, I was able to do basically anything in Wayland too playing with wmctrl and dbus-send Edit: formatting
In Show HN: A simple GUI app to make Linux touchpad gestures easier

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.