hi does someone knows where i can learn how to make your own window manager with python?
Building my own window manager
Other urls found in this thread:
awesomewm.org
en.wikipedia.org
wayland-book.com
youtu.be
github.com
github.com
xcb.freedesktop.org
xcb.freedesktop.org
x.org
specifications.freedesktop.org
github.com
nim-lang.org
twitter.com
For starters learn how to interface with Xorg
Awesomewm uses lua...
Yeah id start with that this is one of the harder things
what should i search, how to make an interface with xorg or what?
i should learn lua?
Yep go over this doc right here
awesomewm.org
Download one written in python and read the source code
Poster is an idiot.
Just learn Wayland and use wlroots. No need to learn legacy stuff.
Also, someone has written an entire Wayland WM in Python 3 before, but I forgot what it was called...
this.
Xorg is legacy code.
So, except if you want your system to run on legacy, aim directly for Wayland.
Start by learning about Wayalnd (en.wikipedia.org
Have also a look at Wayland's interfaces (wayland-book.com
no nvidia support
Well, code it then.
If even obscure GU like Vivante have Etnaviv or Nouveau, why in hell nvidia wouldn't have at least ultra basic support?
>with Python
pytoddlers BTFO'd yet again
dont listen to him bro ive used awesome for about a year and i got sick of how shit it performs
lua is not a good language to make systems level software, awesome has performance rivaling that of gnome, with the same memory usage and i dont know how.
>Well, code it then.
just werks on xorg
I'd recommend learning some basic C (its easy), checking out dwm, and learning how to extend it yourself:
youtu.be
github.com
I'd also *highly* recommend reading the source code of tinywm, it has a python implementation as well as a C implementation:
warning though, X documentation is god awful, so be prepared :) gl op
the basics of X11:
xcb.freedesktop.org
xcb.freedesktop.org
x.org
specifications.freedesktop.org
for pythons you'll need xcb/xlib bindings.
Check out also the code of sowm to get some ideas of how a barebone wm works:
github.com
glhf
this, i used awesome for a while but somehow it manages to be so bloated even when you try to set it up minimally
>window manager
why would you need this? just hire Juarez
>xorg anything
>just werks
no
>waylandfags coping this hard
>xturds coping even harder
all i know is nvidia doesn't work on wayland while i've never had issues with it on xorg
cry about it, maybe in another 20 years sister!
based
waytard, there's a reason why there's a gorillon window manager, diy toolkits and even bare X programs and not in wayland.
>inb4 choice is bad
>inb4 wayland is new (its not, its 13 yo)
with PYTHON
jfc stop right there
learn what python is for and what its limitations are. Do you want to be running your entire WM through an interpreter? Python is great for some things but primarily C and other fast compiled languages should be used for applications. Python is a great *scripting* language.
It still supports Nouveau.
>Buying Nvidia, btw
I would write the wm with this
nim-lang.org
nvidia a shit
choice isn't bad
a gorillon shitty window managers, shitty diy toolkits and shitty bare X programs are bad tho