X has a crying lack of little utilities that you can use as the building blocks in shell scripts and so on. However, here's my little collection of bits and pieces, some of them original to me and some of them hoovered up from elsewhere.
tkmsg | Put up a window with a message; click on the window and it goes away. This is handy for notifications. (TCL/TK) |
xmospos.c | Report the current X and Y positions of the mouse, so you can position new windows in the right spots. (C) |