XMOUSEPOS(1)

πŸ’– XMOUSEPOS(1) πŸ’–

okay so bestie, this is a page from the General Commands Manual, and the command is literally called xmousepos β€” yes, it's a whole manual page for one tiny icon of a program, and honestly? iconic. she does one thing and she does it flawlessly. periodt. πŸ¦‹


✨ NAME ✨

xmousepos β€” gets and prints the current mouse position πŸ–±οΈπŸ’…


🌸 SYNOPSIS 🌸

xmousepos [windowid]

πŸŽ€ DESCRIPTION πŸŽ€

so like, xmousepos is this little program that gets and prints the current mouse position β€” that's it, that's the whole vibe. πŸ‘‘

she grabs it from the window you specify with windowid, or from the current window by default if you don't pass anything. no notes, she's just helpful like that.

and the output? it comes out in the form X Y U V, which is giving ✨coordinates✨ and breaks down like this:

  • X β€” root x position 🌈
  • Y β€” root y position ⭐
  • U β€” mouse relative x position to the window πŸ’œ
  • V β€” mouse relative y position to the window 🧚

so like the first pair is where the mouse is in the whole root world, and the second pair is where it's at relative to your window. two for the price of one, we love a multitasker. πŸ˜­πŸ’–


πŸ”₯ SEE ALSO πŸ”₯

if you're in your cross-referencing era (iykyk), go check these besties too:


πŸ‘‘ AUTHOR πŸ‘‘

xmousepos was written by Steve Slaven <bpk@hoopajoo.net> β€” ty king 🫢

and this manual page was written by Kapil Hari Paranjape <kapil@debian.org>, for the Debian project (but may be used by others). not her gatekeeping the docs, we appreciate her fr fr 🌸


okay and last thing, the little sign-off at the bottom of the original says 15 December 2007, and this page ships as part of the General Commands Manual β€” so that's the date and the source, bestie. mwah, go point at stuff. πŸ’…βœ¨