EditorsAbout the SiteComes vs. MicrosoftUsing This Web SiteSite ArchivesCredibility IndexOOXMLOpenDocumentPatentsNovellNews DigestSite NewsRSS

08.08.20

For the Want of a Pixel

Posted in Free/Libre Software, FSF, GNU/Linux at 12:18 am by Guest Editorial Team

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)

Share in other sites/networks: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Reddit
  • email
  • Slashdot

If you liked this post, consider subscribing to the RSS feed or join us now at the IRC channels.

Pages that cross-reference this one

What Else is New


  1. Red Hat is Spamming People in Order to Promote Its Sites and Its Products, Subscribing People to Mass-Marketing Lists Without the Recipients' Consent

    "Engagements" from Red Hat; have the IBM-led marketing people gone overboard, subscribing lots of people to marketing spam without bothering to ask for consent?



  2. “If I'm the Father of Open Source, It Was Done by Artificial Insemination With Stolen Sperm”

    The father of the Free software movement, Richard Stallman, is being wrongly compared to some patron of an “open source” ‘movement’ (an early effort to cancel Stallman and the FSF), which is basically a hostile corporations-led ploy these days



  3. IRC Proceedings: Wednesday, September 23, 2020

    IRC logs for Wednesday, September 23, 2020



  4. The Second Wave (of Free/Libre Software)

    Despite some major setbacks and new threats to digital freedom (autonomy is perhaps a more suitable term), progress is being made and activism must adapt to tackle newer trends



  5. Exploring the Relationship Between Red Hat and Microsoft: They're Barely Even Rivals Anymore

    The ‘older Microsoft’ (serial monopolist IBM) bought Red Hat, but evidence shows that one would be wrong to assume Red Hat really competes against Microsoft (any more than Novell did; there’s a strong relationship)



  6. Microsoft Lost More Than 15 Million Web Domains in One Month!

    Microsoft's presence on the Web is being reduced to ridiculously low levels; sooner or later Microsoft will turn from 'king' of parked (unused) domains to master of nothing



  7. Links 23/9/2020: Lenovo's Deeper GNU/Linux Dive and Tor Browser 10/Tails 4.10

    Links for the day



  8. IRC Proceedings: Tuesday, September 22, 2020

    IRC logs for Tuesday, September 22, 2020



  9. The Latest Greenwashing Campaign by the EPO is Just 'Chinese Propaganda'

    When the EPO speaks of “innovation” and “clean energy transition” it means nothing but patents on batteries, in effect monopolies being granted in Europe (to a lot of Asian — not European — companies)



  10. Links 23/9/2020: Librem 14 Shipping in December, Linux Journal Returns, Istio 1.6.10 Released, Release Candidate 3 of LLVM 11.0

    Links for the day



  11. Welcome Back, Linux Journal!

    Linux Journal is coming back under the ownership/umbrella of Slashdot folks, who are sadly preoccupied and obsessed with Microsoft talking points and PR campaigns



  12. What the Efforts to Remove Dr. Stallman Reveal About the Agenda of Large Corporations (Looking to Absorb the Competition, Remove Freedom, Spread Proprietary Software in 'Open' Clothing)

    Richard Stallman's (RMS) positions and foresight are usually correct; at the moment we're losing access to key people whose leadership positions are essential for the independence of cornerstone projects



  13. Links 22/9/2020: Tails 4.11, Linux Lite 5.2 RC1

    Links for the day



  14. Minimalism for Maximisation of Productivity and Clutter Mitigation

    Unfortunately, GNU/Linux (especially the latter, Linux) embraces bloat and anti-features in pursuit of sales (appeasing large corporations, not users’ needs), reducing the modularity, reliability and productivity of computer systems in the name of helping “dumb” users (they keep telling us people are very dumb and those who disagree are “elitist” and “extremist” or even “neckbeards” — in effect insulting every person out there)



  15. IRC Proceedings: Monday, September 21, 2020

    IRC logs for Monday, September 21, 2020



  16. Post-Coronavirus Linux.com Became Nothing But a SPAM Site

    As per the Linux Foundation‘s very own brochure, scripted and fake ‘interviews’ are to be produced and then edited/negotiated (before publication) with the sponsor… in Linux.com as the platform. This is corruption (or marketing, one might call them de facto ads presented as fake ‘articles’).



  17. Erosion of Free Speech and Tolerance of Opposing Viewpoints in Free Software Communities

    The concept of free speech is being reinvented by oversensitive people who nowadays expand the list of exclusions/exemptions (from scope of 'permissible' speech) to politics and criticism of large and highly abusive corporations



  18. Links 21/9/2020: PlasmaShell With Vulkan, Plasma Beta Review Day, OpenMediaVault 5.5.11

    Links for the day



  19. Guest Post: The Worrying State of Political Judgement in Free Software Communities

    A look at what Mozilla has become and what that teaches us about the Web and about software



  20. Links 21/9/2020: KTechLab 0.50.0, Linux 5.9 RC6

    Links for the day



  21. IRC Proceedings: Sunday, September 20, 2020

    IRC logs for Sunday, September 20, 2020



  22. Git is Free Software, GitHub is Proprietary Trap

    More and more people all around the world understand that putting their fruit of labour in Microsoft's proprietary (but 'free') prison is misguided; the only vault they have is for human beings, not code



  23. Daniel Pocock on Codes of Conduct and Their Potential Dangers in Practice

    In Debian we’ve already witnessed several examples where Codes of Conduct, if put in the wrong hands (in the Linux Foundation it’s corporate hands), can achieve the very opposite of their intended goal and its a true shame as well as a travesty for legitimate victims of real abuse



  24. Links 20/9/2020: Flameshot Screenshot Tool 0.8, Okular Improvements and More

    Links for the day



  25. Reminder: Vice Chair of the Linux Foundation's Board is an Oracle Executive Who Used to Work for Microsoft

    The Linux Foundation issued statements to the effect of opposing Donald Trump, but its current leadership (people from companies like Oracle, Microsoft and IBM) is a strong proponent of doing as much business as possible with Trump (even in violation of international law)



  26. [Meme] How to Hijack Linux and Free Software to Make Them Proprietary and Microsoft-Controlled

    Intel keeps outsourcing almost everything (that's not proprietary with back doors, e.g. ME) to Microsoft's proprietary software prison, known as GitHub; to make matters worse, Intel now uses the Microsoft-hosted Rust to develop in Microsoft servers, along with Microsoft, code that promotes Microsoft proprietary software (e.g. Hyper-V) and non-standard 'extensions'.



  27. DDOS Attacks Against Us Lately

    (Distributed) Denial-of-service attacks or DDOS attacks have slowed down the site, but we treat that as evidence of suppression and fear (of what's to come and what was recently published), or accuracy (in reporting) rather than inaccuracy



  28. [Meme] Windows as Dead Man Walking (Patches Accelerate the Death)

    Microsoft is squeezing whatever life is left in its “burning platform” (which is already exceeded in terms of market share by Android) that has a "burning" (bricked) WSL with barely any users and plenty of critical problems



  29. We Let Them Get Away With Murder, But They Make up for It by Banning Words

    The Microsoft propaganda machines (notably ZDNet this weekend) are busy portraying Microsoft as a “good company” for censoring words, never mind the actual, meaningful, substantial actions of Microsoft, which is boosting authoritarian people who imprison even babies (for the ‘crime’ of being on the ‘wrong’ side of the border)



  30. High-Profile and Invalid (Invalidated) European Patents Harm the Presumption of Validity of European Patents

    The EPO's 'printing machine' (over-producing patent monopolies) is harming the legal certainty associated with such patents, helping nobody but deep-pocketed monopolists and law firms


RSS 64x64RSS Feed: subscribe to the RSS feed for regular updates

Home iconSite Wiki: You can improve this site by helping the extension of the site's content

Home iconSite Home: Background about the site and some key features in the front page

Chat iconIRC Channel: Come and chat with us in real time

Recent Posts