Bonum Certa Men Certa

For the Want of a Pixel

2020 figosdev

Index



Pixel screenshot
Chapter 9: For the Want of a Pixel



Summary: "It is still possible to win, but the FSF has practically left the field."

Fundamentally, putting graphics on the screen is like anything else -- numeric data is moved to a location where it changes the output of the video device. Whether the device is in text mode or a graphics mode, you either decide to send character data or data on individual dots. Doing this efficiently involves more complex code.



The projects most relevant to this chapter are desktop environments or DEs, window managers or WMs and toolkits or libraries. The choices we make there decide what kind of crappy developer politics we end up saddled with.

"The choices we make there decide what kind of crappy developer politics we end up saddled with."But to start with, we need a graphical environment to work in. Our choices for the most part are SVGAlib, directfb, Weston/Wayland and X.Org. SVGAlib is ancient, directfb is in a sort of limbo, Wayland is the new corporate love-interest and X.Org is what I'm using now -- sometimes you get both X.Org and Wayland, but the former is still common and has been a de facto standard for ages.

X.Org does not draw or manage windows -- the programs that decorate and move or resize the windows are called window managers. X just displays the rectangles and the contents of each window.

Suites that incorporate relevant utilities (often including a window manager) are called desktop environments. This may or may not seem complicated, but really they stack up like this:

4. Other graphical programs (applications) 3. Window manager OR Desktop environment + Window manager 2. X.Org 1. Operating system

One thing to note is that you can swap out options at each of these layers. You can have these things on a different OS, with a different graphical environment, running a different WM with various different applications.

Right now, I'm typing this with the following:

4. My own Python/Tkinter editor (running with PyPy) 3. dwm 2. X.Org 1. Tiny Core GNU/Linux (CorePlus)

Usually someone makes these choices and puts these things together for you -- but you can still change the defaults. CorePlus comes with X.Org, but I installed PyPy (instead of CPython) and told it to replace the regular choice of WM with dwm.

"My editor is only 200 lines of code, and I wrote only some of them -- this 200 line count is misleading anyway."Python is a programming language, PyPy is a 3rd-party Free software version of Python, dwm and X.Org supply and manage the graphical environment, and PyPy uses the Tkinter library to tell dwm and X.Org what to do with graphical controls and windows.

My editor is only 200 lines of code, and I wrote only some of them -- this 200 line count is misleading anyway.

Each line of code in turn calls many lines of the Tkinter library which I have never even looked at. With PyPy, you might use one or two lines to tell Tkinter to create a window of a particular size -- then a couple more lines to add a text box. Tkinter is a well-established Free software library, it is even used to implement Python's standard editor, IDLE.

There are many graphical toolkits that Python or PyPy can make use of: including Qt, Tk, Gtk2, Gtk3, wx and Motif. Tkinter is the standard Python library for dealing with the Tk graphical toolkit.

"Gtk is a victim of all kind of corporate political crap I want no part of."On the practical side of things, I do not relish writing code for Gtk or Qt. Qt is a very nice toolkit, you get a very nice "product" out of it, but it isn't something I personally want to code with if I don't have to -- or pull in as a requirement. Gtk is a victim of all kind of corporate political crap I want no part of.

In fact my favourite editor (the one I hope to replace with my own, and haven't opened in days) is Leafpad. I like its simplicity, I love that you can redirect text to it without saving or opening a file first, I used to have many Leafpad windows open. But my own editor will also run shell code.

Leafpad is written in Gtk and is a hostage of Microsoft GitHub. As I encourage people to boycott GitHub as much as possible (this is no easy task, and deserves its own chapter) I try to find alternatives to GitHub-based projects as well.

"...Microsoft is working hard to gain influence over the standard CPython, the Python Foundation itself, and CPython (like Leafpad) is hosted on Microsoft GitHub."Incredibly, every graphical toolkit I know of (including Tk, sadly) depends on GitHub directly or indirectly, due to using either Zlib1g (a library related to PNG compression) or libffi, or both.

I have two reasons to switch to PyPy over the standard Python offering. One is that Microsoft is working hard to gain influence over the standard CPython, the Python Foundation itself, and CPython (like Leafpad) is hosted on Microsoft GitHub.

I didn't spend several years migrating away from Windows just to have all my computing controlled by Microsoft again, and their purchase of GitHub falls perfectly in line with their plans outlined in the Halloween documents. Leafpad is (was) one of the programs I used the most on my computer -- the fact that I could find a replacement is a bit of a triumph, though the struggle is ongoing.

To compare the various choices in this example:

Leafpad: * Gtk (GNOME) - GNOME is absolutely toxic to Free software * Hosted on Microsoft GitHub - Microsoft is absolutely toxic * Needs libffi and/or Zlib1g (GitHub)

Python (standard CPython): * Hosted on Microsoft GitHub * Needs libffi and/or Zlib1g (GitHub)

Tkinter: * Tk is not hosted on GitHub (minor win) * Sadly needs libffi and/or Zlib1g (GitHub) as do all the graphical toolkits I know

PyPy: * Not hosted on GitHub (huge win) * Sadly needs libffi and/or Zlib1g (GitHub) as does virtually every friendly scripting language I know -- but even if it didn't, I would still be using it with Tkinter which does

So there are a few lessons here:

1. Importantly, it is often possible (and in my opinion, desirable) to move from projects based on GitHub to projects based elsewhere. It is better, as much as reasonably possible -- to be less GitHub/Microsoft encumbered than more. I have no interest in supporting an organisation dedicated to destroying Free software or exploiting users.

2. Even if you move your programming language and toolkit away from GitHub, you're still probably going to need libffi and/or Zlib1g (every program/language/toolkit that supports PNG graphics does).

3. It really sucks that Microsoft has libffi (I think some alternatives may exist, but they are rarely used in mainstream projects) and Zlib1g (no known alternatives for PNG support) in their clutches.

4. We have many "choices" but so many lead to GitHub that "no matter what you choose, you always get Microsoft" -- this is a clear violation of antitrust law, but antitrust law is obviously a unicorn anyway.

GNOME was debatably part of several coups against the Free software world over the years, most recently in taking a fall on behalf of software patents -- which constitute a serious (but heavily mitigated) threat to software freedom. I have little more desire to support GNOME or any of its ilk than I do to support Microsoft itself.

Technically speaking, you are free to make your own choices, as it were. But also technically speaking, they aren't really choices then.

"I didn't spend several years migrating away from Windows just to have all my computing controlled by Microsoft again, and their purchase of GitHub falls perfectly in line with their plans outlined in the Halloween documents."I know this paints a bleak picture, and I know that some people understand these problems -- a lot of money is poured into being dismissive of exactly this sort of thing. Microsoft Loves Linux, don't you know -- but they are referring to GNU.

"Linux" is what you call GNU if you prefer corporate hegemony to freedom. You can call it whatever you like, but if someone really loves you, they probably won't call you a different name (where that name is used to mislead and exploit the user).

Love is real, I believe -- but Microsoft is not. O.J loves Nicole, Oscar loves Reeva, Microsoft loves Linux; if you believe it. What is even funnier than the idea that Microsoft "loves" something it spent more than a decade trying to kill is the narcissistic idea that we are obligated to love it back.

"What is even funnier than the idea that Microsoft "loves" something it spent more than a decade trying to kill is the narcissistic idea that we are obligated to love it back."At most, we are obligated to be fair, not that Microsoft has. Myself, I think if someone treats you the way that Microsoft has treated competition and customer alike for the entirety of its existence, you owe it to yourself to try to get away from them.

Now that we largely have, Microsoft has purchased a single house that at least thousands of us have stupidly decided to all live in, and decided that we should love them -- under their rules.

But all is fair in love and corporate takeover, I guess?

"Myself, I think if someone treats you the way that Microsoft has treated competition and customer alike for the entirety of its existence, you owe it to yourself to try to get away from them."Free software cannot be free and also controlled top-down by corporations. Where the FSF has screwed up fundamentally is in focusing too much on the (admittedly vital) license issues, and ignoring various other ways that monopolies can exert influence and ultimately control over the work we rely on.

It is still possible to win, but the FSF has practically left the field. Sadly, most of these projects are not fighting for us either.

"It is still possible to win, but the FSF has practically left the field."Without a viable movement, nothing will push or really so much as nudge the makers of these tools to care about the user -- or their freedom. Freedom requires eternal vigilance, and the vigilant have become either silent, or purged. ⬆

Licence: Creative Commons CC0 1.0 (public domain)

Recent Techrights' Posts

The Local Staff Committee Munich (LSCMN) Speaks of Deterioration of Working Conditions at the European Patent Office (EPO)
"At least 3 days per week in the Office for an allocated office"
IBM's Anderon is Like Theranos, But Will Anybody at IBM or Anderon Be Imprisoned for This Billion-Dollar Scam?
Will anyone ever be held accountable for it?
Microsoft Demands That Staff Keeps Silent About the Mass Layoffs
Way to cause anger and ensure whistleblowers will go to the media
 
Netflix and Its Newest Rival Carry 100 Billion Dollars in Debt
What sort of economy is this?
Egypt: GNU/Linux Still Measured at About 5%
Egypt is a prominent African nation and economy
Gemini Links 14/10/2026: Time Allocation, English as a Fourth Language, and "Reading News Sources" in Geminispace
Links for the day
DRM Giant Announces Giant Layoffs (Netflix’s Debt is Huge)
It's not like operational costs are decreasing, they're climbing fast.
Intercontinental Brigading - Part III - Reporting Harassment From America to British Police
Why are they so hostile towards (and afraid of) cops?
Gemini Links 14/10/2026: GemPub, Randogoth Forge F-Droid Repo, Oddμ, and Kolibri
Links for the day
Bluewashing as Silent RAs: A "journey that began at Neudesic [...] and continued as part of IBM" inevitably came "to a close"
IBM can be antagonistic and reckless with whatever it buys
Links 14/10/2026: Houthi Attacks on KSA and Airstrikes Near Sudan-Egypt Border
Links for the day
No Coronation for 'Cocaine King' Campinos (Not Yet Anyway)
A flash update suggests perils exist and we must all wait until December as the position for EPO President may open
In Reddit, Moderators of IBM Subs Are Allegedly on IBM's Payroll (IBM Can Censor Discussions About IBM)
There also seem to be PIP layoffs in India
If Worthless Companies Are Valued at a Billion Dollars in the Slop Industry, Then What Is the True Worth of 'Trillion-Dollar' Companies?
Definitely not a bubble!
It Sounds Like Microsoft Plans to Lay Off Over 2,000 Azure (Microsoft) Workers as the Datacentre Business Brings Nothing But Epic Debt
Trillions in losses is not a solid business plan
Microsoft XBox Won't Survive, Microsoft's CEO for This Perishing Business Turns to Slop
What the founder or father of XBox said about Asha Sharma earlier this year turns out to be accurate
Links 14/10/2026: So-called 'AI' Giants Go Bankrupt, "Military Will Hack the Election"
Links for the day
Indoor Season
we have more planned in order to improve navigation, accessibility, and workflows
Microsoft Has Had Mass Layoffs in Azure Every Year Since 2020 and the Bleeding Continues Because It Misreports Earnings There
This is a bad week for Microsoft
Microsoft's International Mass Layoffs (Asia, Europe, Africa), Now Vietnam
A crisis that Microsoft is unable to hide
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Tuesday, October 13, 2026
IRC logs for Tuesday, October 13, 2026
Gemini Links 14/10/2026: Ceiling Fan, Fascism, Democracy, and Slop Being a Huge Bubble
Links for the day
Reports of Stress and Layoffs at Microsoft, Some People Laid Off Under the Guise of "Ban" (Gift From the Administration) and Many Sacked in India
"pip and gvsa" layoffs in India
ITwire Became Slop and Spam
The site still exists, but it's not what it used to be
W3C Died 20 Years Ago, Now We Live in a Post-W3C Era. Linux Foundation is 'Slop Bros', Now Linux is Becoming Unfree.
Torvalds is on the same side as Epsteingate
We're Way Past the Point Where Companies Announce or Declare Mass Layoffs
Layoffs are becoming hidden
Linux Kernel to Hide the Slop to Avoid Backlash, Suggestion Made by Former Microsoft Employee While Another Former Microsoft Employee is Worst Slopper/Culprit in Linux
Did Torvalds listen to slop antagonists?
Solicitors Regulation Authority (SRA) Besieged by Blind Justice UK, Politicians Increasingly Involved
"Today we have written to Members of both Houses of Parliament"
Vance Has Helped Microsoft Implement Secret, Silent Layoffs
Nothing excites Microsoft more than means by which to discard many employees without an obligation to tell shareholders about it
To The Register MS, Microsoft is the Only Brand That's at the Main Menu!
Consider that the Editor of The Register MS is a longtime faithful Microsofter
Microsoft's Collapse Will Continue, It's Drowning in Debt Now
Expect many more mass layoffs
Legal Self-Sufficiency
The more impact our work has, the more legal bullying will come our way
Plans for Winter in Manchester and London
From many perspectives, we're satisfied with the certainty and robustness of UK hosting, it's just that we're not yet robust/resistant enough to DDoS attacks
Customer Support Experience in 2026
Because the customer is never right
Microsoft Shutdowns in Africa, Mass Layoffs Also Reported This Week
further shutdowns
Links 13/10/2026: More Plagiarism Lawsuit Over Slop and AirAsia Needs State Help
Links for the day
Intercontinental Brigading - Part II - An Outline of This Series
What's to come
Gemini Links 13/10/2026: Dopamine Nation, Planner and Fatigue, and Moderators
Links for the day
Links 13/10/2026: Norway Fines Microsoft and Cops Can Creep on Airbnb
Links for the day
When Computers "Expire" Because Certificates Expire
People who promote Restricted Boot are liars. They lie for a living.
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, October 12, 2026
IRC logs for Monday, October 12, 2026
Gemini Links 13/10/2026: Modern Science, Joplin, Luddites, and Lots More
Links for the day
Mass Layoffs at Microsoft Again (October 2026), So-Called 'AI' Units Impacted Because Slop ('AI') Has No Real Future
So much for the future of Microsoft being "hey hi" (AI)
European Readers, Please Contact Representatives (in One's Nation) Attending the Administrative Council Meeting
Normalising cocaine in in Europe's largest institutions (the people running these) is a slippery slope
Network Plumbing
We hope it'll help speed things up
For Half a Year the European Patent Office (EPO), Europe's Second-Largest Institution, Has Had Water Problems in the Toilets
And it's not being fixed
Intercontinental Brigading - Part I - The Failed Attempt to 'Swat' Our Series About the Attacks and Crimes Committed Against Us
This coincided with threats to our lives
Links 12/10/2026: Strike on Riyadh and GOP Pays Voters ("Surprise $90 Social Security Payments")
Links for the day
Microsoft's XBox CEO Spoke of a "Return to Growth" Last Week, But XBox Sales Lowest in XBox History (Quarter of a Century)
Microsoft's XBox is dying. It's a countdown to nothingness.
Links 12/10/2026: Shopify (Slop Booster) Has Security Issues, "Russia’s Yandex Says Data Center in Vladimir Shut Down After Drone Attack"
Links for the day
"My Hands Are Shaking While Writing" About IBM's Mass Layoffs at Red Hat (Bluewashing)
Shame, shame, shame on the corporate media for not covering Red Hat's layoffs this year
Taking a Look at the Last Articles of Bob Cringely at Forbes, They Were All About IBM and Its Collapse
It's all about IBM
Microsoft Windows Causes Problems (and Delays) to LibreOffice and The Document Foundation
Nothing would please Microsoft more than Windows curtailing the development of LibreOffice and adoption of ODF
So Far This Year Microsoft Windows Lost a Lot of Ground in China, GNU/Linux Gaining at Its Expense
GNU/Linux will soon exceed 10%
Lessons of Margaret Hamilton (Software Engineer)
Stop abetting men who attack women in the sciences
RIP, Bob Cringely
He was too young to leave us, his articles were still brilliant and his mind as lucid as ever
What is "Computer Science"? It is What Broligarchs Reject.
Nowadays some people call themselves informal terms or made-up titles (with terms like "AI" or "big data" or "data" tossed into the mix)
Linus Torvalds Has a Conflict of Interest Regarding Slop
Linus Torvalds is paid by the slop pushers
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, October 11, 2026
IRC logs for Sunday, October 11, 2026
Africa Sees GNU/Linux Exceeding 5% "Market Share"
It wasn't always like this. It used to be measured at 1 or 2 percent.
Brigading Against Women - Part XXVII - Americans and Public Executions
"People who work for Facebook / Xitter / Bytedance's Tiktok / Microsoft / Oracle / IBM / Apple / Uber / Lyft / Wolt / DoorDash / AirBnB / Bolt / and so on are doing some world-class projection when they have the audacity to call others Bad People(tm)"