368 points · by navigaid · 7y ago · 246 comments
Some of these are not obscure at all, but absolutely standard. Xterm was the shell, I’m not sure there were even alternatives in early X. Xbiff+Xload+Xclock used to be on everybody’s desktop. XV was the main image viewer on X for a long time.
Anybody remember xvacuum? I guess it’s truly obscure since it didn’t make the list. One of my favorite tricks to play on other people in the lab, before X security was a thing, was to run xvacuum on other people’s displays ... it slowly sucks everything on the screen into the mouse cursor.
If the page maintainer is reading, Xsnow has a calculator in the screenshot covering the snow. This one is a bit obscure, but I loved xsnow, so I think it deserves a calculator-less view! :)
It's really cool image editor based on X11, that still is obscure competitor to GIMP and Krita ;-)
Not only for Linux, but for FreeBSD/OpenBSD and Mac OS too![0]
[0] https://github.com/Symbian9/azpainter/wiki/Packaging-status
>An evil and unpopular computer hacker named “Lennart”[1] tries to install his malicious init system on various BSD and Linux systems.
>Like in XBill, the player has to hit him and restore infected systems.
Thats it. Back to the church or X for me.
I take some time every year to thank Lennart for systemd and PulseAudio; I remember when the grass was parched brown on my side, green has been a welcome change!
Avahi is a fun whack-a-mole game where your computer hides the network connection. You win the game by remembering to kill processes and setting up stuff manually, like most games produced by LP studios.
edit: Other popular games include:
SystemD: hack your way through a blob of intractability. Try it on Nightmare mode, where you're only given access to a empty bootscreen, for a real challenge.
Pulseaudio: Experience the sound of no hands clapping, in a forest where trees are falling with no one there to witness it. Also, the forest is on fire!
It's not like free software has a shortage of talented contributors that people hate for a variety of reasons. At some point you have to actually point out the issues productively, rather than the boring character assassination, or just randomly saying "the software's broken it sucks!" like this is the Best Buy tech support line.
I mean, seriously, if you're smart enough to "kill processes and [set] up stuff manually", you're smart enough to disable/remove software you don't like all on your own like a grown adult.
Avahi is simply an implementation of the ZeroConf service discoverability protocol, as also used by macOS’s “Bonjour”.
The Tragedy of systemd: https://www.youtube.com/watch?v=o_AIw9bGogo
"systemd is, to put it mildly, controversial. As a FreeBSD developer I decided I wanted to know why.
I delved into the history of bootstrap systems, and even the history of UNIX and other contemporary operating systems, to try and work out why something like systemd was seem as necessary, if not desirable. I also tried to work out why so many people found it so upsetting, annoying, or otherwise rage-inducing.
Join me on a journey through the bootstrap process, the history of init, the reasons why change can be scary, and the discovery of a part of your OS you may not even know existed."
But that lacks explanatory power. Lots of things change and don't receive backlash, even in the desktop Linux domain. Plenty of people are skeptical of Wayland for instance, but the conversations tend to stay relatively cool-headed.
I think there are two things going on; the first and most significant is that most Linux desktop users (not sys admins or packagers, just desktop users) never had to know what a sysv init system was and never fucked with it, but then their distro switched, something broke (maybe their packagers' fault, maybe not!), they googled the problem and at the end of that Google dive they found out the answer involved a component they were previously unaware of, making itself known to them in a way that caused them hassle. Any upsides were washed out by this initial first bad experience. For me, I was using Fedora at the time so I knew I was getting bleeding edge shit and might get cut. That was exciting for me. It was my hobby, so I liked systemd. But that didn't blind me to the wants and desires of more typical desktop users who wanted the "just werks" experience.
(The other factor is that Lennart has bad social skills and it seems to rub off on the people he works with. Some might argue that the critics started it, but I don't care who started it. Stop jabbing your little sister or I'm turning this car around!)
So yes, he is prolific, his software does great things and his critics were definitely going too far, but he isn't completely innocent in regard to what happened.
Think about your second sentence a bit, and why it's true: major Linux distributions adopted systemd. Did they do that because it really caused a bunch of trouble or because a deliberative review process showed that it solved a number of hard problems?
A small percentage of people having very loud emotional reactions doesn't mean that it actually caused large numbers of problems and at least in the enterprise space it's been really useful for cleaning up long-running reliability and security problems by removing thousands of lines of SysV kludge and manual work recovering from problems.
I really like systemd, though it has flaws. I was using Fedora at home, and Debian on servers when it was new. As soon as it was straightforward, I started using systemd on my Debian machines (building from source, when Debian was not systemd-based) and it solved a lot of issues I'd been having, made it dead simple to get new services up and running.
When Arch Linux switched to systemd, that was what convinced me to switch to Arch Linux on the desktop. I had been getting a lot of value out of systemd on Fedora, but I had wanted to try a proper rolling release.
I have a similar story with PulseAudio. I've owned many systems with no hardware mixer over the years, and the other options had been total trash.
PulseAudio actually worked. When I wanted a feature, it tended to be available on PulseAudio. In 2017, when I spent a lot of time between a laptop and a desktop (now I mostly just use a phone/PDA and a desktop), I liked being able to switch seamlessly between them.
I set up a network audio device as my second default sink (after local headphones) on both machines, so I could move my headphones between them, and whichever device was playing audio would play it through my headphones. It took hardly any fiddling about, thanks to Lennart's other project: Avahi.
Over the years, I hear a lot of people criticizing the software, but taking the functionality for granted. What systemd, PulseAudio, and Avahi do for ordinary people using GNU/Linux on the desktop is generally not possible with competing packages, which is why these packages are ubiquitous. It's not some grand conspiracy to take away your beloved OpenRC; systemd is just better (warts and all) than the alternatives, for the vast majority of users.
Obviously Lennart has personal issues with some people in some places, like any human being, but that has nothing to do with the software.
Richard Stallman may not have the best Spanish elocution, and GNU has flaws; does this tell you enough to know to choose a different libc, or a different core utilities package?
“Life does not ask what we want. It presents us with options” — Thomas Sowell
It was almost like it appeared out of nowhere, written by one person who "thought he knew better" (maybe he did? but that's not the point), without any community input or discussion, and yet despite all of this somehow it got crammed into a distro (I don't recall which) - in what seemed to be an almost unilateral manner. A "my way or the highway" attitude of sorts.
It smacks of the whole "rockstar coder" mentality, where you have one guy on the team who forces everything to be his way, and he's begrudgingly recognised as probably right, and good for his work - but you still feel slighted as not having input on anything, because you're supposed to be a team (or a community).
What I really don't understand is how systemd has been so "infectious" - it seems like every distro is or has switched over to it...
...whereas init was (from what I know) more organic in how it came about, which might also explain its warts and other pitfalls that systemd supposedly addresses. I haven't been so deep in the weeds of linux to really understand all of the arguments of this nature; while I sympathise with the init crowd, I am but mostly a mere user of the system, who occasionally throws on an admin hat, but has found over time this has become less of a need for me to do (ah, for the olden days of Turbo Linux 2.0 and kernel recompiling - though my first Linux experience was via Monkey).
Had he introduced it in such a way to promote a discussion and dissemination of his ideas, maybe it wouldn't have turned out to be exactly like it is today, but it might have been more accepted (and maybe not as monolithic as I understand systemd to be - maybe it would have been more akin to a hybrid between his ideas and init?).
cppcheck could detect the bug without any hard setup effort (launching it in systemd codebase, with maybe an option to activate all checks, was enough) at least 2 years before it was revealed (probably more like at least 3 or 4, I don't remember the exact value). That's a fact easy to verify.
I suspect other tools could find it too, though I have not checked.
What that implies is more speculative, but there are some kind of "either or" situations that are extremely nasty. For example either RH (and all the other distro using it) did not analyse it, or they hid it for other reasons. The most reasonable hypothesis is that they just did not analyzed it. Which put them at least 15 years behind MS in some domains that were even more critical at the time (and still today) than 15 years before.
Not saying it wasn't needed, but it was anything but stable or efficient at the beginning (and given said person's behaviour in dealing with bugs and vulnerabilities in systemd, it is not hard to see why)
For those not attuned, writing systemd as "SystemD" is a dogwhistle which comes from a time when Lennart specified that it wasn't meant to be capitalized, and this crowd went the other way just to spite him.
Top bantz here, kids.
[1] https://www.keyboardmaestro.com/ [2] https://gist.github.com/chroder/a18178940cd1e96a76c4daea63dc... [3] https://i.imgur.com/UEjDfNJ.png
Problem is, that you might want Wayland support, as X is on the way out.
I vaguely remember someone saying something similar about IPv6 once.
Did it improve? What do you remap?
I mainly use Hammerspoon as I prefer Lua over Json. I find Lua far easier to modify... to be fair, both Hammerspoon and Karabiner Elements have quite an impressive repository. If you want to do something it is probably already done.
My favourite is probably swapping of Cmd to Ctrl in VMs. That way you can use keybinds in Linux or Windows VM with the same muscle memory as in macOS. It may get confusing if you use Super a lot in Windows/Linux.
Another one is rebinding right Option (or "Alt") to Hyper. Most of the keybinds I use I got from this repo [1]. Though I did make quite some modifications I found it a good starting point (merging my own back). I remap Caps to Escape and Ctrl (latter if combined with another key) via Hammerspoon. You could also use Karabiner Elements though. Although I still use Caps mainly for Esc (muscle memory...)
On a Windows computer, I used AutoHotKey for some other stuff (gaming related QoL improvements). For some reason, Blizzard decided that in WoW you are not allowed to spam a key if you hold it. Which is flat out painful for the hands. I no longer play WoW regularly though. If I do, it is via Wine (on a Linux desktop). In Diablo 3 I made a keybind to swap gearsets. This was before Blizzard implemented the wardrobe.
I've got a fancier mapping for the caps lock key: when you hold it, it works like ctrl, and when you tap it it works like escape.
I've also got something similar for space: when I tap space, it works like space. When I hold space, I can tap additional characters. (So space works like a modifier, similar to ctrl or shift.) For example, space-x = delete, space-p = page up, space-j = cursor down.
However, I really dislike how if I click what is traditionally the maximize button, it doesn't maximize both horizontally and vertically. I also really dislike how if I use the fullscreen mode and then use alt tab to switch windows it takes like 400ms to transition with some animation, and I can't disable it. I also really dislike how alt tab behaves, I want it to switch all windows not window classes. I also really dislike that I can't alt-click+drag to resize or move windows like I can in linux.
But most of all, I really dislike that there's no easy way to modify these behaviors without installing third party applications which at best can be described as dirty hacks.
They're the major reasons I use GNU/Linux over MacOS. Or would choose Windows over MacOS if Linux wasn't available.
It is FOSS, the scripting language is simple (though not Python, like AutoKey, there is an old Python port of it), and there is a large community with decent documentation and examples available.
AutoHotKey, unfortunately, does not work on Linux, at all. Not even with Wine.
I love that the keybinds on macOS are rather universal.
- Transplant magnet links from ThePirateBay into a bittorrent client
- Type stuff into virtual machines rather than install guest additions
- Import data into remote desktop sessions for otherwise internet-isolated+Copypaste disabled remote hosts, complete with integrity checking powershell scripts which were also imported into the environment that were used to self-integrity check prior to integrity checking other files.
The use of xdotool is probably an antipattern in a perfect world, but that doesn't mean that it's not damn handy from time to time.
I recently had to do some mandatory training which would require me to spend 30h in front of the computer clicking every couple of seconds. The issue is that I already know the material perfectly well, so my time would be spent better learning something else.
Nothing so difficult that couldn't be done with simple shell loop and automated clicking with xdotool:)
http://weber.itn.liu.se/~stegu/xteddy/
see also
Also xon (very handy for non-ssh users), jwz's xdaliclock and xkeycaps.
Only problem is now I feel slightly guilty sending a teddy bear a SIGINT.
Not sure it even supported threads for a while
https://lists.freedesktop.org/archives/wayland-devel/2019-Au...
Yes, that Matias Duarte, the guy in charge of UI for Android and who came up with Material Design.
Fun Fact: The XScreensaver "preview" function works (worked?) as following: Start an instance of Xnest and run the screensaver rendering the root window there.
(long pipeline that generates lots of output) | xclip
Or even just xclip < /some/file
Now paste where necessary.Control two separate networked computers with one keyboard and mouse. Cursor slides out of right on one side and enters in on the left of the other.
Wayland folks is there a similar thing? I don't keep up with Linux desktop tech anymore.
set_opacity -o 0.5 -i `pgrep gkrellm`
There is also a patched[2] xcompmgr with the colored shadows support:
xcompmgr -fF -I-.002 -O-.003 -D6 -cC -t-5 -l-6 -r5 -R 1 -G 0.5333 -B 0
Here's a little x-spline implementation I made:
My first experiences of GUI programming on Unix (HPUX on a Motorola 68040 machine) was with Motif, which was a pretty good toolkit after you got used to the very long function names.
https://apps.apple.com/us/app/free42/id337692629
https://play.google.com/store/apps/details?id=com.thomasokke...
Even now though, it will be useful to do calculations in RPN. Even the ability to swap X and Y, and store intermediate results in order to avoid parentheses or M buttons is nice.
Some of them, although I do not use them, I would not think they are so obscure, such as xbiff, xload, xclock (I have the functions of all three programs in another program I wrote, to display on a status line).
I meant the widgets inside the window. The blue-tinted ones are GTK+ with ThinIce; some of the darker grey ones are Motif.
Edit: oh wow, I actually tried it again now and it actually works! Crazy, this was a tool I wrote like 12-13 years ago. I also found the initial sourceforge page - http://kdocker.sourceforge.net/
But, recently seeing some PBS specials on NASA and the planetary probes made me reminisce about "xv". I remember having downloaded images of the Shoemaker-Levy comet impact on Jupiter and browsing them with xv...
Guess 2: perhaps the X11 version of vim is obscure. I usually visualize vim users working in a terminal, with those interested in a GUI text editor using something else.
To some degree, you're never going to have a snappy experience when the program and the display have a 50+ms round trip, but it's much worse if the program makes lots of synchronous calls to the display while doing work.
Most of the older tools discussed here should be pretty good at managing the X connection and are probably doing more things in an asynchronous manner.
a) a (bad) NES emulator i wrote that was on my home machine, I didn't want to compile it on the work laptop
b) chrome running on the home machine hitting a webcam pointed at a pressure gauge --- I didn't want to bother with proxying and prozy settings, and I don't let the webcam accept connections from public internet.
I've also found it super useful for running java based KVM clients for IPMI --- run a VM with the properly old version of java so the webstart file works, and display it with remote X.
xv or eog is nice for looking at images without the hassle of transferring them first (although, transferring them would probably use less bandwidth)
Also, I miss XFig on the list. Still growing strong! The last release is from May 2018. I use it occasionally to create diagrams for presentations.
Xeyes and xclock were my go-to tests to make sure x11 forwarding was working properly.
I had some vague awareness there was a GUI version of Vim, but only just checked it out after spotting it in the list. The menus serve as a handy reference for common commands. Quite good really.
Networked version of the board game we used to play continuously at work.
These are historically exciting, but nowadays the web browser is your X11.
Also I seem to remember a multiuser 3d tank game, maybe xtank? I don't really remember.