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. π β¨
π¦ where this page comes from
- arch rolling: xautomation 1.09-6 Β· GPL
- debian bookworm: xautomation 1.09-4 Β· GPL-2.0-or-later
- debian trixie: xautomation 1.09-4+b1 Β· GPL-2.0-or-later
- fedora 43: xautomation 1.09-14.fc43 Β· GPL-2.0-or-later
- fedora 44: xautomation 1.09-15.fc44 Β· GPL-2.0-or-later
- nixos 26.05: xautomation 1.09
- nixpkgs unstable: xautomation 1.09
- ubuntu jammy: xautomation 1.09-4 Β· GPL-2.0-or-later
- ubuntu noble: xautomation 1.09-4build2 Β· GPL-2.0-or-later
- ubuntu questing: xautomation 1.09-4build2
- ubuntu resolute: xautomation 1.09-4build3 Β· GPL-2.0-or-later
- ubuntu stonking: xautomation 1.09-4build3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms