3 ms·
> 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
by cunidev 8y ago
> 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 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 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 some very basic examples: https://www.youtube.com/watch?v=SfJ59kTcJjM 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
- goerz 8y agoDo most laptops that people currently get to run Linux, like the Dell XPS or the Thinkpad X1 have a touchpad that support multi-finger-gestures that could be configured with this? If I ever were to switch from a MacBook to a Linux machine, I’d definitely be very interested in having the equivalent of BetterTouchTool for custom gestures in applications (assuming the hardware supports it)
- cunidev 8y agoEvery modern touchpad supports it AFAIK, not sure about the cheap Chinese ones but I got it working on 6/6 of my tested hardware (a Macbook Pro 2013 (?), an old Macbook 2009 white, my XPS 13 2018, an ASUS with a somewhat bad supported "ELAN" touchpad, a Dell XPS 15 2017 and a Lenovo Thinkpad)
- goerz 8y agoThanks! That’s good to know!
- michaelmrose 8y agoWayland isn't even a product it's a protocol. You will have to ask each individual project for every feature that is presently missing and will probably end with only a subset of the presently missing features 5 years from now. You will pick from 4-8 environments instead of 40. It will be impossible to mix and match any component that transgresses boundaries like workspace bars or gesture apps, screenshot apps, screencast apps, keybinding apps. You will have the same zero malware incidents you had this year but with less useful features. It will be handy that you can mix and match different dpi display for a few years until all your stuff is 4K anyway.