Show or hide the mouse cursor

hide_cursor.c is a small tool, to hide or show the mouse cursor on an X display. The source code is based on a tool from Nevrax ( To compile it, just type something like:

gcc -lXft hide_cursor.c -o hide_cursor

Run it with “hide” to hide the cursor:

./hide_cursor hide

Run it with “show” to show the cursor again:

./hide_cursor show

The source code can be downloaded at