GROMIT-MPX(1)

πŸ’– GROMIT-MPX(1) πŸ’–

okay bestie, welcome to the Gromit-MPX page from the General Commands Manual β€” yes it's a section 1 manpage, and yes it's about to be your new obsession. sit down, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

Gromit-MPX β€” presentation helper to make annotations on screen πŸ’…


🌸 SYNOPSIS 🌸

gromit-mpx [options]

that's it. that's the whole vibe. lowercase, simple, iconic. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

Gromit-MPX literally lets you make multi-pointer annotations right on top of your screen. no cap. πŸ–οΈ

it can chill in the background and then be activated on demand so you can draw over all your currently running applications. and the drawing stays on screen for as long as you want β€” you can keep using your apps while the drawing is just... sitting there. visible. being art. ✨

Gromit-MPX is XInput-Aware, so if you've got a graphic tablet you can draw lines with different strength, colour, erase things, etc. it's giving artiste. 🎨

and like, since the whole point is that you're demonstrating something and highlighting stuff is only a short interruption of your workflow, Gromit-MPX gets activated by either a hotkey or a repeated invocation of Gromit-MPX. that second one can e.g. be used by other applications or your windowmanager. iykyk. 🫢


⌨️ KEYBOARD CONTROL ⌨️

by default, Gromit-MPX grabs the "F9" key (this can be changed using the --key option), which means F9 becomes unavailable to other applications. rude? maybe. necessary? absolutely. πŸ’€

the available shortcuts are:

  • F9 β€” toggle painting πŸ–ŒοΈ
  • SHIFT-F9 β€” clear screen 🧼
  • CTRL-F9 β€” toggle visibility πŸ‘€
  • ALT-F9 β€” quit Gromit-MPX ✌️

πŸ’… OPTIONS (STARTUP) πŸ’…

a short summary of the available commandline arguments for invoking Gromit-MPX. see below for the options to control an already running Gromit-MPX process. πŸ‘‡

  • -a, --active β€” start Gromit-MPX and immediately activate it. no waiting, main character energy from second zero. ⚑
  • -d, --debug β€” gives some debug output. for when you need the tea. 🍡
  • -k <keysym>, --key <keysym> β€” will change the key used to grab the mouse. <keysym> can e.g. be "F9", "F12", "Control_R" or "Print". to determine the keysym for different keys you can use the xev(1) command. you can specify "none" to prevent Gromit-MPX from grabbing a key. πŸ”‘
  • -K <keycode>, --keycode <keycode> β€” will change the key used to grab the mouse. under rare circumstances identifying the key with the keysym can fail. you can then use the keycode to specify the key uniquely. to determine the keycode for different keys you can use the xev(1) command. πŸ—οΈ
  • -o, --opacity <value> β€” will set the initial opacity of the window using a floating point value between 0 and 1. sheer, see-through, ethereal. 🌫️
  • -u <keysym>, --undo-key <keysym> β€” will change the key used to undo/redo strokes. <keysym> can e.g. be "F9", "F12", "Control_R" or "Print". to determine the keysym for different keys you can use the xev(1) command. you can specify "none" to prevent Gromit-MPX from grabbing a key. ↩️
  • -U <keycode>, --undo-keycode <keycode> β€” will change the key used to undo/redo strokes. under rare circumstances identifying the key with the keysym can fail. you can then use the keycode to specify the key uniquely. to determine the keycode for different keys you can use the xev(1) command. πŸ”„
  • -V, --version β€” will show the Gromit-MPX version. drop the number, slay. 🏷️

πŸŽ€ OPTIONS (CONTROL) πŸŽ€

a sort summary of the available commandline arguments to control an already running Gromit-MPX process. see above for the options available to start Gromit-MPX. πŸ‘†

  • -c, --clear β€” will clear the screen. 🧽
  • -q, --quit β€” will cause the main Gromit-MPX process to quit. bye bestie 😭
  • -t, --toggle β€” will toggle the grabbing of the cursor. πŸ–±οΈ
  • -v, --visibility β€” will toggle the visibility of the window. πŸ«₯
  • -y, --redo β€” will redo the last undone drawing stroke. ⏩
  • -z, --undo β€” will undo the last drawing stroke. βͺ

🌈 ENVIRONMENT 🌈

  • XDG_CURRENT_DESKTOP β€” Gromit-MPX uses this to determine which desktop environment it is running on. πŸ–₯️
  • XDG_CURRENT_SESSION β€” Gromit-MPX uses this to determine whether is is running under X11 or Wayland. 🌐
  • XDG_CONFIG_HOME β€” directory to search for user's custom configuration file, defaults to ~/.config/. 🏠
  • GDK_CORE_DEVICE_EVENTS β€” if set, GDK does not use the XInput extension and only reacts to core X input events. This renders Gromit-MPX unusable, it will detect this and bail out with an error message.
⚠️ okay so that last one? do not do that. it literally makes Gromit-MPX unusable and it will catch you and bail out with an error. not the vibe. πŸ’€

πŸ“ FILES πŸ“

  • gromit-mpx.cfg β€” configuration file which defines pens and maps mouse buttons and modifiers to them. searched for in user's custom configuration file directory and, if not found there, in /etc/gromit-mpx/. πŸ—‚οΈ

πŸ’€ BUGS πŸ’€

when there is no compositing manager such as Compiz, xcompmgr or Mutter running, Gromit-MPX falls back to a legacy drawing mode. this may drastically slow down your X-Server, especially when you draw very thin lines. 😭 it makes heavy use of the shape extension, which is quite expensive if you paint a complex pattern on screen. especially terminal-programs tend to scroll incredibly slow if something is painted over their window. so like... be aware. 🐌

XFCE per default grabs Ctrl-F1 to Ctrl-F12 (switch to workspace 1-12) and Alt-F9 (minimize window) which renders Gromit-MPX's default hotkey mapping unusable. Gromit-MPX detects XFCE and changes the default hotkeys to Home and End. those can can still be overridden by the user. πŸ™ˆ


πŸ‘‘ AUTHORS πŸ‘‘

Simon Budig <simon@gimp.org> Christian Beier <info@christianbeier.net>

this manual page was written by Pierre Chifflier <chifflier@cpe.fr> and Simon Budig for the original Gromit and extended for Gromit-MPX by Christian Beier. πŸ’œ


okay that's the whole page bestie, you're officially certified πŸ“œ. this beauty is dated November 3, 2018 β€” vintage but still eating. πŸ’…βœ¨ go annotate something. πŸŽ€πŸ¦‹