Xorg programming

From wikinotes

Coding Xorg is done using xlib.
There are also various bindings for it for different languages, and even bash tools.

Bash

xev display keycodes for keypresses
xdotool control Xorg from commandline
xbindkeys create keybindings within xorg
xrandr manipulate outputs, resolutions, etc.

C/C++

c libx11
cpp xcb

Python

python python-xlib python bindings for xlib
python xcffib python bindings for xcb (improvements to xpyb)