Twise Random

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

Tag: linux

The man linux command

Posted on August 28, 2021August 29, 2021 by mohamad wael

The man command, is used to display a man page . It takes the name of the manual page to display, which is usually the same as the name of a command, or a function, or a special device… By … Read More

tutorials linux

The whatis linux command

Posted on August 28, 2021August 28, 2021 by mohamad wael

whatis is used to search in a case insensitive way, the mandb database, for the name of a command, a library function, or a system call… in order to display its description.

whatis only searches the database keys, and … Read More

tutorials linux

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

X11 fonts a tutorial

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

 

In X11, you can use multiple font systems, practically there is the X11 core font system , core as in being part of the core protocol, and there is a newer font system, called the xft font … Read More

unix fonts, linux, x11

WSL gui applications, using X11 server

Posted on July 1, 2021 by mohamad wael

 

X11 can be used to run and create GUI applications, under Linux. With WSL you can install a bare-bone Linux distribution, under windows.

This installed distro, does actually lack X11, so in order to run GUI applications from … Read More

windows linux, unix, windows, wsl, x11