The Linux Thread - The Autist's OS of Choice

  • 🔧 At about Midnight EST I am going to completely fuck up the site trying to fix something.
I use Linux Mint and occasionally I have to compile things from source because somewhat old binaries can't do what I need them to. Would Gentoo actually be a huge improvement over the status quo?
 
Last edited:
  • Thunk-Provoking
Reactions: HootersMcBoobies
If you don't know what USE flags are or why you'd want to use them, Gentoo is kinda pointless. It's extreme OCD autism fuel distro. Great for jerking off while watching things compile.

Compiling ungoogled chromium every release is enough compiling for me, thank you.
 
I use Linux Mint and occasionally I have to compile things from source because somewhat old binaries can do what I need them to. Would Gentoo actually be a huge improvement over the status quo?
I don't know Mint. I know Debian. I've also used Arch, BTW. I adore that all I need is an ebuild, and the new package is managed like every other package on my rig. Or I can faff about and build a .DEB for myself, but that depends on having Debian packaging, which tends to be old. Arch has the AUR, which is a notion I hated even more, because AUR packages don't update like everything else. ebuilds are typically designed to pull either stable or bleeding-edge git. When an ebuild exists, it's usually in the overlay list. Ebuilds are also a lot more compact than Deb packaging and don't involve the arcane build structure that AUR packages do.

With a little configuration, even if you use customized software like dwm, you can apply the patches automagically on a new release. I am content enough with Gentoo that I've stopped thinking about designing my own distro, which was not the case ever for Arch, and took me years for Debian.

But I'm a fresh convert so I have the conversion zeal.

Using too many global USE flags, I managed to get a Gentoo system to the point where it wouldn't build certain packages and had to start over. Now all I add is "-flatpak -wayland" and everything's fine. That's the worst I've encountered with Gentoo so far.
 
What would be a good programming language to make a GUI Linux app in? Something that can work with GTK, Qt, and as a password protected web interface? I was looking at trying gambas as I'm not that tied to any programming language at the moment.

It would basically be a tool that can dynamically rename a series of files using algorithms presented as a form, with the ability for users to write their own scripts for different uses ( ideally they would be willing to share their plugins).
Maybe if there can be a CLI version that uses that fake Gui thing that some cli programs use, if so then the web interface can be omitted.
 
  • Thunk-Provoking
Reactions: Belisarius Cawl
I don't know Mint. I know Debian. I've also used Arch, BTW. I adore that all I need is an ebuild, and the new package is managed like every other package on my rig. Or I can faff about and build a .DEB for myself, but that depends on having Debian packaging, which tends to be old.
OK so first of all I initially wrote "can" where I meant "can't" and that's been edited. But now I just looked in my ~/src directory while running Linux Mint. I see only:
  • Public source code for a MUD that I use, which I cloned to look at and analyze the gambling code
  • A directory for OpenTTD which is really just extant binary code for a game I lost interest in playing
  • R version 4.4.1, compiled from source
  • Vim 9.1, also compiled from source (though I now use Neovim)
  • More unpacked binaries for the classic Unix game XEvil
There is also stuff like flatpaks and AppImages but it's still relatively minimal compared to the overall base of stable binary code. I'm not sure how compiling everything from source would be a huge improvement.
 
I use Linux Mint and occasionally I have to compile things from source because somewhat old binaries can't do what I need them to. Would Gentoo actually be a huge improvement over the status quo?
Probably not. On Gentoo you wouldn't need to worry about hunting down all the somelib-dev packages so you can compile your thing from source, because they are not separated (on a source distribution, you always need them). So that part is a little bit easier. But you have to go through the rest of a Gentoo install/setup to get that advantage. It just depends on what your priorities are. 🤷‍♂️

With a little configuration, even if you use customized software like dwm, you can apply the patches automagically on a new release.
The /etc/portage/patches directory is really powerful for developers, and you can post patches in forums for others to try out before submitting updates.

Gentoo is pretty powerful if you're an autistic level Linux user. If you ever installed Linux using the Linux From Scratch book and thought, "I want LFS, but with package management," that's Gentoo.
 
Probably not. On Gentoo you wouldn't need to worry about hunting down all the somelib-dev packages so you can compile your thing from source, because they are not separated (on a source distribution, you always need them).
That's a very routine task on Debian and Red Hat derivatives so I think I can handle it. At least historically, the case made for Gentoo has been highly bespoke binaries that match the host architecture very closely but I'm not aware that they're a lot more efficient than generic binaries. The single most powerful non-distributed supercomputer installation in this world, El capitán, is based on Red Hat Linux. Don't you think these sites would switch over to compiling everything from source if it made some huge difference? I think stuff like user privacy was mentioned earlier in the thread but you can do all of that on a largely binary-based distro.
 
What would be a good programming language to make a GUI Linux app in? Something that can work with GTK, Qt, and as a password protected web interface? I was looking at trying gambas as I'm not that tied to any programming language at the moment.
OK so damn that's a real mouthful. I'm actually a little familiar with Gambas, which is meant to be a superior version of Visual Basic that runs on Linux. But there's still a lot going on here. Seems like you want to do both front-end and back-end here. That's probably the most crucial thing here. Gtk and Qt both can't be guaranteed. I know that wxWidgets for example can use Gtk and Qt alike. But it seems like you need a back-end too. That of course wouldn't use any set of graphical widgets. I guess the point is, what is it you want to achieve exactly? Let's hammer out all the details.
 
Am I retarded or what? I'm using pywal16.
pywalretardation.png
On the right is the colors-wal-st.sh file, which defines the colors which are used in ST. I've set the background color to be 256, and the foreground to be 257. But yet the complete opposite happens, as seen in the left window, which is a blank terminal window. If I set the background color to be 257 and the foreground to be 256 it's also inverted - meaning that the background is now black despite me specifying that it is white.
Why?
 
  • Thunk-Provoking
Reactions: Belisarius Cawl
I use Linux Mint and occasionally I have to compile things from source because somewhat old binaries can't do what I need them to. Would Gentoo actually be a huge improvement over the status quo?
I mean, if you actually regularly feel you 'get behind' on packages with Linux Mint then a better option would be to move to Debian or Devuan 'testing'.
the case made for Gentoo has been highly bespoke binaries that match the host architecture very closely but I'm not aware that they're a lot more efficient than generic binaries. The single most powerful non-distributed supercomputer installation in this world, El capitán, is based on Red Hat Linux. Don't you think these sites would switch over to compiling everything from source if it made some huge difference? I think stuff like user privacy was mentioned earlier in the thread but you can do all of that on a largely binary-based distro.
Practically speaking, they probably chose RHEL for better support for some shitty Oracle database that they're running for the NSA. And for anything that's actually going to take any real CPU time on those machines, it will be compiled from source with the same optimizations that Gentoo nerds can implement for everything that runs on their system.

Also, unlike binary distributions, users of Gentoo are not stuck with bad decisions made by the maintainers of distributions they might otherwise like to use. They aren't stuck with systemd instead of superior choices like upstart or sysvinit. They don't have to have even a byte of disk or memory wasted by support for wayland. I like Devuan. But they have surrendered to bad upstream decisions like the /usr/bin->/bin merge, so given I'm too lazy to engage in a campaign of terrorism against those responsible, maybe I should just switch to Gentoo.
 
OK so damn that's a real mouthful. I'm actually a little familiar with Gambas, which is meant to be a superior version of Visual Basic that runs on Linux. But there's still a lot going on here. Seems like you want to do both front-end and back-end here. That's probably the most crucial thing here. Gtk and Qt both can't be guaranteed. I know that wxWidgets for example can use Gtk and Qt alike. But it seems like you need a back-end too. That of course wouldn't use any set of graphical widgets. I guess the point is, what is it you want to achieve exactly? Let's hammer out all the details.
I think the core of it is an app that I can use to run batch file renames on my server, either through ssh or a web interface but preferably ssh as it's more secure and this app would have deep filesystem access. It's primary function would be to be able to take a list of files, and be able to run a bunch of conversions to the filenames (and paths) and export that to a to-from list which can be run through by calling mv for each line of the list. That way the command can be run at the user level for the preparing of the list, with sudo (if needed for files the user doesn't have permissions for) only being called for running the file renaming, after the user has a chance to preview the list.

The conversions should be able to take the form of scripts, which define what configuration inputs they accept to describe how to convert the file names (rearrange sections based on a deliminator, convert date formatting, add or remove text, serialize, replace, etc). Multiple scripts can be run with an order set so that one script receives the list from the previous script and sends it to the next one. It should be possible for the end user to create their own scripts, being able to call additional programs to run commands such as performing a web lookup for information matching details from the list.

It may be doable using a ssh shell but it would require using advanced CLI formatting to display forms and tabs, something that should be similar to using a text based Linux installer, but I don't know what those advanced formatting features are called and what the limits are for displaying such complicated information. Something like how you can navigate by using the arrow keys and tab and use space to x or un-x a selection. If a direct ssh interface is not feasible then I would need to consider a web based interface, but that adds several magnitudes of complexity and security concerns (and unless it was a complete file manager it would be unwieldy to use).

A desktop based Gui would be a useful addition, but largely unnecessary if the bash interface is intuitive enough. Also I finally found that what I was looking for is called dialog and it'll handle most of what I was visualising for the interface. More research is leading me to using gambas to program a ncurses based interface, so i'll probably be moving forward in that direction unless someone can make a good case for using something like rust or a version of C instead.
 
Last edited:
I want to use Wayland, I really do. The latest Nvidia drivers seem to have fixed all compatibility problems, and whenever I've used it it's been noticeably smoother than X11. But for some reason the geniuses over at Wayland development decided to force system-wide V-sync with no way to turn it off.

What were they thinking?!

For an OS that prides itself on being ever greater for gaming, this sure is the fastest way to completely ruin gaming. The two options you're left with are either:
  • Run games with their own V-sync turned off. This wrings the games unsynced frames through the Wayland V-sync, causing massive stuttering.
  • Run games with their own V-sync on, creating the horrible abomination known as double V-sync. This leads to horrible, noticeable input lag, ruining any game more intense than the latest online tranny grooming simulator.
On X11, compositing and V-sync are automatically turned off whenever a game goes into fullscreen. An if I want to run a game windowed I can manually turn it off. After over a decade of development the Wayland devs have now implemented some sort of way to allow tearing in fullscreen. KDE has a checkbox for it. It does not work. The Steam Deck (a gaming device) has a checkbox to allow tearing. It also does not work. How hard can to not V-sync everything? And if it is hard, why was Wayland designed that way?

Kill Wayland devs. Behead Wayland devs. Incinerate Wayland devs. Throw Wayland devs into a woodchipper. Stab Wayland devs. Curbstomp Wayland devs. Crush Wayland devs. Slice Wayland devs in two. Take away the MacBooks of Wayland devs.
 
If you don't know what USE flags are or why you'd want to use them, Gentoo is kinda pointless. It's extreme OCD autism fuel distro. Great for jerking off while watching things compile.

Compiling ungoogled chromium every release is enough compiling for me, thank you.
Remember the jumbo-build and lto days? I member.
Meanwhile, rip Tinderbox (archive), 5700 bugs in 2024 reported alone (for gentoo).
 
I think the core of it is an app that I can use to run batch file renames on my server, either through ssh or a web interface
Are you mainly aiming to use this to rename audio files, for which a number of X11 applications exist for? Like Quod Libet/Beets/EasyTag? Or for video files+audio, FileBot?

If so, you can install those on your server, and use them over ssh with X11 forwarding, because X11 is great. There's a stack overflow answer that covers the main problems here:

Basically, as long as you already have SSH on your server, the only thing you should need to do is set 'X11Forwarding yes' in your sshd config, restart sshd on there, and connect to the server with the '-X' flag.

Please don't expose your sshd server to the internet or at least use certificate authentication if you must do so.
 
  • Informative
Reactions: Belisarius Cawl
I like Devuan. But they have surrendered to bad upstream decisions like the /usr/bin->/bin merge, so given I'm too lazy to engage in a campaign of terrorism against those responsible, maybe I should just switch to Gentoo.
Gentoo is also following this decision. Difference is that non-systemd profiles continue to have the option of keeping split-usr without a forced transition, but all new stage3's are merged-usr. The problem with fighting that decision is that systemd made it mandatory while split-usr hasn't had a strong reason to exist other than momentum. I still continue to use split-usr as long as its viable, but I understand that it might become unsupported the next time there is a profile upgrade (~6 years).

Meanwhile, rip Tinderbox (archive), 5700 bugs in 2024 reported alone (for gentoo).
Not ideal, but this just means toralf needs to hold the torch. It has been a point of contention that ago as chosen to keep his scripts private. So any new tinderbox runners will most likely base their own setups on toralfs (and before him flameeyes's) scripts as he keeps them public.

At least historically, the case made for Gentoo has been highly bespoke binaries that match the host architecture very closely but I'm not aware that they're a lot more efficient than generic binaries.
Gentoo binaries have an actual likelyhood of being less optimized nowadays. Binary distributions have been already been building their packages with cpu agnostic optimizations like lto and pgo, while glibc-hwcaps has been a somewhat recent addition that would get most of the the -march= benefit on newer cpus. On Gentoo it all depends on the end user configuring their cflags to be optimal as the default on gentoo is just -O2 -pipe.
 
Are you mainly aiming to use this to rename audio files, for which a number of X11 applications exist for? Like Quod Libet/Beets/EasyTag? Or for video files+audio, FileBot?

If so, you can install those on your server, and use them over ssh with X11 forwarding, because X11 is great. There's a stack overflow answer that covers the main problems here:

Basically, as long as you already have SSH on your server, the only thing you should need to do is set 'X11Forwarding yes' in your sshd config, restart sshd on there, and connect to the server with the '-X' flag.

Please don't expose your sshd server to the internet or at least use certificate authentication if you must do so.
It could do audio files, but it's generally intended to be pretty universal. And it would be used solely for local ssh logins.
 
Am I retarded or what? I'm using pywal16.
View attachment 6961184
On the right is the colors-wal-st.sh file, which defines the colors which are used in ST. I've set the background color to be 256, and the foreground to be 257. But yet the complete opposite happens, as seen in the left window, which is a blank terminal window. If I set the background color to be 257 and the foreground to be 256 it's also inverted - meaning that the background is now black despite me specifying that it is white.
Why?
Okay so I sort of figured out what is causing this - the colors are being replaced by something else. I tested this by setting the defaultbg to green, now, when I open ST, the background is green for less than a second, then it turns back. What could be doing this?
 
Okay so I sort of figured out what is causing this - the colors are being replaced by something else. I tested this by setting the defaultbg to green, now, when I open ST, the background is green for less than a second, then it turns back. What could be doing this?
Does this happen with xterm/uxterm? Does it happen with eterm? If not, then st is doing something weird. If yes, then pywal16 is not operating how you would expect.
 
Does this happen with xterm/uxterm?
Yep, just tested it. I change the colors using
Bash:
xterm -fg black -bg white
and a new xterm window is opened which briefly flashes white, but then turns back to the color it was previously.
I also uninstalled pywal16 and this still happens. Could it be xresources? I can't find the package using
Bash:
xbps-query -Rs xresources
# or
xbps-query -Rs resources
so I'm not even sure if it's installed.

Edit: I DO have xresources installed, the package is called xrdb. But I don't have the .Xresources file
 
Gentoo binaries have an actual likelyhood of being less optimized nowadays. Binary distributions have been already been building their packages with cpu agnostic optimizations like lto and pgo, while glibc-hwcaps has been a somewhat recent addition that would get most of the the -march= benefit on newer cpus. On Gentoo it all depends on the end user configuring their cflags to be optimal as the default on gentoo is just -O2 -pipe.
LTO is very easy to turn on in Gentoo, and I've yet to find a situation where it breaks anything.
 
Back