Simplestroke

Jul 20, 2023

Detect mouse gestures

Simplestroke is a simple utility that detects mouse gestures. It currently detects sixteen pre-defined mouse gestures and prints the name of the detected gesture to stdout, if any. The output can then e.g. be used in a simple shell script to execute commands.

Example usages could include closing windows in i3 by drawing a Z over them or other window manipulations, or pausing your music player by drawing a left-to-right line.



Checkout these related ports:
  • Zenity - Display GNOME dialogs from the command line
  • Yelp - Help browser for the GNOME desktop
  • Yeahconsole - Terminal wrapper for creating drop-down consoles
  • Yalias - Enhanced execution box with regex pattern matching
  • Yakuake - Drop-down terminal emulator for KDE
  • Yad - Display GNOME dialogs from the command line
  • Xzoom - Magnify, rotate, mirror the image on the X11 screen
  • Xxkb - XKB keyboard layout indicator and switcher
  • Xwud - Image displayer for X
  • Xwit - X interface tool
  • Xwinwrap - XWinWrap replace a desktop background with a movie or screensaver
  • Xwininfo - Window information utility for X
  • Xwd - Dump an image of an X window
  • Xwatchwin - Watch a window on another X server
  • Xvt - Xterm replacement, supporting color, transparency, and more, with less