Writing Tiling window manager in Python

4.5k views Asked by At

I have been using Awesome Tiling window manager for over 6 months now, and quite happy with this.

I would like to write my own Tiling window manager as a weekend project and for hackfun. I noticed that Xmonad and dwm are very small. I am aware of Qtile a python window manager.

I don't know where to begin. Should i read and understand any Xorg manual/api? and Is there any Python libraries for window management? Please suggest how to proceed with writing a tiling window manager.

It will be great if you can share any similar experiences in writing window manager.

1

There are 1 answers

0
Sven Marnach On BEST ANSWER

You will need some X client library. I suggest having a look at python-xlib, a pure Python implementation of the client side of the X protocol. It includes plwm, an example implementation of a minimal window manager written in Python.