Twise Random

A site about computer science .
Skip to content
  • apple
  • android
  • c
  • cpp
  • data structure and algorithms
  • macos
  • python
  • tutorials

Category: X11

xprop a tutorial

Posted on July 12, 2021July 12, 2021 by mohamad wael

 

Let us start by defining what is xprop. xprop is simply a tool, to query, set, and remove the properties of an X11 window .

Additionally, using xprop, you can query X11 core fonts attributes, so you … Read More

tools bsd, linux, x11, X11 properties, xprop

What is a property in X11?

Posted on July 10, 2021July 12, 2021 by mohamad wael

 

In X11, a property simply has a name, a type, a format, a value, and is associated with a window.

There is a set of functions, provided by X11, which allows manipulating a property, and they … Read More

X11 bsd, linux, PropertyNotify, tutorial, x11, XChangeProperty, XDeleteProperty, XGetWindowProperty, XListProperties, XPropertyEvent, XRotateWindowProperties, XSelectInput

What is an atom in X11?

Posted on July 7, 2021July 9, 2021 by mohamad wael

 

An atom in X11, is of type Atom, which is defined in the <X11/Xatom.h header, as :

typedef unsigned long Atom;		/* Also in Xdefs.h */

An atom is 32 bits, the reason, that long was chosen, … Read More

X11 linux, tutorial, XGetAtomName, XGetAtomNames, XInternAtom, XInternAtoms