Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Writing Tiling window manager in Python

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.

like image 655
18bytes Avatar asked Jan 12 '12 12:01

18bytes


1 Answers

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.

like image 129
Sven Marnach Avatar answered Sep 20 '22 00:09

Sven Marnach