TinyWM is a tiny window manager that I created as an exercise in minimalism. It is also maybe helpful in learning some of the very basics of creating a window manager. It is only around 50 lines of C. There is also a Python version using python-xlib.
I always liked tiling window manager, but even more when they are doing it with text.
http://www.brain-dump.org/projects/dvtm/
Nice article though.
Or MGR aka ManaGeR or “Munger” windowing sytem.
https://hack.org/mc/mgr/
It’s kind of like a multiplexed graphical curses, that can also display bitmaps but not directly write to the display. It was lighter weight than X11 and was popular on Unix machines up into the very early 90’s when it machines became fast enough and had enough ram that X11 was better.
It’s always good to see examples of how to use X11 from C.
People call X11 crufty, but having written applications that use Win32, X11, and Cocoa without any wrapping, for both software framebuffer applications and OpenGL, I consistently find X11 to be the easiest to use and have the simplest client code.
And python too
Even though it does look like Python written by a C programmer, with decidedly un-PEP8 indentation and while 1
Agreed. I haven’t written for Cocoa, but the bare Win32 API does suffer quite a bit from the decision to provide a familiar upgrade path for Win16 developers.
(Most of the design oddities in Win32 can be traced back to OS-side hacks or application-side hack enablement that Win16 did to squeeze good performance out of the limited RAM and CPU resources available in desktop PCs of the period.)
I did a port of this to XCB back in 2015 to learn how it differed from Xlib. The result is located at:
https://github.com/stefanbidi/tinywm-xcb
Tinywm is very limited, though. It does not do much, so most application do not work very well. Still a great way to understand basic window management.
Hi
Just downloaded from http://incise.org/tinywm.html https://www.writemyessayfast.org/ (Converter) converted pdf file. I have Bionic Beaver (Ubuntu 18.04) and it’s never been better. Wanted to try openSUSE packages, but then found this one.
Actually, there’s a SmallWM on https://github.com/adamnew123456/SmallWM
_________________
Lumusislight