Python library to get PyGetWindow like functionality in linux.
X Server, Window Manager
The X Window System is a windowing system for bitmap displays, common on Unix-like operating systems. X provides the basic framework for a GUI environment: drawing and moving windows on the display device and interacting with a mouse and keyboard.
X
is an application that manages one or more graphics displays and one or more input devices (keyboard, mouse, etc.) connected to the computer.
It works as a server and can run on the local computer or on another computer on the network. Services can communicate with the X server to display graphical interfaces and receive input from the user.
It's worth noting, a common component used with an X server is the Window Manager
, an application that manages the resizing and moving of windows and decorative elements of windows such as title bars, minimize, and close buttons.
Xlib
The Python X Library is intended to be a fully functional X client library for Python programs. It is written entirely in Python, in contrast to earlier X libraries for Python (the ancient X extension and the newer plxlib) which were interfaces to the C Xlib.
Screen, Display, Window
Display represents the connection between the client (end user) and server (X Server). Screen represents our desktop or laptop screen. Windows are application windows.
Building a Python C Extension Module - Real Python