Get current mouse coordinates

A simple command line tool to retrieve the X,Y positions of the mouse cursor.

Get it

Compilation

gcc -Wall -lX11 getcurpos.c -o getcurpos

Usage

Simply run the program and it will print the X and Y coordinates in the format: X Y

 
misc/xget-mouse-position.txt · Last modified: 2008/04/08 14:14 by rob
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki