HNHacker News
TopNewBestAskShowJobs

cunidev

2,982 karma · joined August 22, 2018

MSc CS student, Linux enthusiast. Mostly lurk, sometimes write (tuxphones.com / whatever has "cunidev" in it), sometimes post others' thoughts
submissionscomments
cunidev··on Show HN: A simple GUI app to make Linux touchpad gestures easier
It'd be awesome!
cunidev··on Show HN: A simple GUI app to make Linux touchpad gestures easier
Good to hear, thanks!
cunidev··on Show HN: A simple GUI app to make Linux touchpad gestures easier
Thanks! I'm also on an XPS 13, and also an ex-Mac user who misses the trackpad stuff, so I know how you feel. Not only knowing commands but especially playing with dbus is unfortunately something for very advanced users only, so my idea was to build some sort of "DB" for common dbus commands that act on DEs, say, to open Budgie Desktop's notifications menu, plus an assisted GUI configuration that generates commands for keyboard shortcuts (xdotool or something), workspace actions (move, add...) and an "Open app" selection dialog. That's gonna take a long while though :(
cunidev··on Show HN: A simple GUI app to make Linux touchpad gestures easier
Heh, a way larger work that any tool of this kind currently on Linux, implemented directly from the Linux desktop developers. I can see the problem though, would love to see better upstream support for touchpad gestures myself.
cunidev··on Show HN: A simple GUI app to make Linux touchpad gestures easier
> 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 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

cunidev··on Show HN: A simple GUI app to make Linux touchpad gestures easier
You're welcome! As it's still quite new, you'll need to install it manually in most distros given that it's only present in Solus official repos ATM, and Flatpak/Snap sandboxing would probably not allow even its most basic usage. If some Arch user managed to add it to the AUR that'd likely help, now the install process has to be done from terminal which, though common with Linux software and just a copy-paste from the Gitlab page, isn't exactly what a "newbie" would love.
cunidev··on Ask HN: Clean Android development in 2018?
Flutter looks great to me, has it improved in the last 3 months or so? I remember downloading its first public release, and as expected it was lacking some things
cunidev··on Ask HN: Clean Android development in 2018?
Thanks for the suggestion! Kotlin looks great under many perspectives, way better than Java probably for my needs
cunidev··on Ask HN: How do you choose your next book to read?
Usually simply Goodreads from the books mentioned in comments, or minor works from the author I just read
← PreviousPage 5 of 5