Gets and prints the current mouse position
xmousepos [windowid]
xmousepos is a program that gets and prints the current mouse position in the window specified by windowid or from the current window by default. The output has the form X Y U V where
X
- root x position
Y
- root y position
U
- mouse relative x position to the window.
V
- mouse relative y position to the window.
xmousepos was written by Steve Slaven <[email protected]>.
This manual page was written by Kapil Hari Paranjape <[email protected]>, for the Debian project (but may be used by others).