Xorg programming

From wikinotes
Revision as of 13:43, 27 June 2021 by Will (talk | contribs) (→‎C/C++)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)