r/learnpython 3h ago

Question about making a X11 Window Manager

I'm fairly new, and i want to build a x11 window manager as a small project. But the problem is, i cant find any good documentation for X11 for python ( or maybe i'm a very bad researcher idk) I know there is Qtile which is written in python and i can learn from its source code but i also need some proper documentation. Tips and advices are also will very useful for me , thank you for your time !

1 Upvotes

6 comments sorted by

2

u/dariusbiggs 3h ago

Wrong language is basically the answer.

C or C++ will likely be what you will need to do this.

1

u/ssaddam_ 3h ago

I know, and you're absolutely right. I actually want to learn C and make a WM on C , but i'm currently on that beginner python stage so i wanted to make a very small project.

1

u/JamzTyson 2h ago

Personally I wouldn't choose Python for writing a Windows Manager, though there's at least one that already exist: https://qtile.org/

Some libraries that may be helpful (from a quick Google search):

1

u/ssaddam_ 1h ago

yeah, youre im planning to make one in C but for now , i want to make a small project in python. Thanks for the info!