The Linux Thread - The Autist's OS of Choice

  • 🧊 New server is in an office waiting on a mexican.
  • Want to keep track of this thread?
    Accounts can bookmark posts, watch threads for updates, and jump back to where you stopped reading.
    Create account
I just do nano. vim is not as bad as emacs which is basically an emulation of an entire OS from the 80's but nano is all you need and has a list of shortcut commands at the bottom of the window
I wish Nano's bindings were closer to Emacs by default. It's got almost all of the file editing features that Emacs has (even macros!) it's just missing a couple features like the disconnect ring. Most people think Nano is baby's first editor, but it's surprisingly full-featured.

I got into Emacs for a while, and I was going to try and edit the nano keybinds to make it more like Emacs, so I could edit files lightning fast on the command line instead of waiting for Emacs to open. I didn't end up doing so because I stumbled upon the emacs-server command, and emacs terminal mode, so I could just instantly edit files from the terminal with emacs.

In the end, I gave up on the Emacs shortcuts and installed Doom Emacs because I already knew enough of the Vim shortcuts, and I could just use default Vim/Nvim if Emacs was throwing a fit for some reason.
 
Does anyone else just not bother with fucking with Config files or simply get overwhelmed is it just me. for example I know you can do lots of cool shit in fastfech by just tweaking configs but then I load up neovim and just go yah nope.
I usually only touch config if I need to
Obviously I’ve been all over this fuckin space including the bsds so I’m very comfortable getting my hands dirty editing me some text in nano or vi or vim or whatever editor I’m using
I’ll spend hours setting up dwm and a hundred different utilities and manually configuring my WiFi in wpa supplicant and have no qualms against it but for the most part I keep things the way they are if they’re acceptable to me
If I don’t need to touch a file I don’t touch it usually
 
I usually only touch config if I need to
Obviously I’ve been all over this fuckin space including the bsds so I’m very comfortable getting my hands dirty editing me some text in nano or vi or vim or whatever editor I’m using
I’ll spend hours setting up dwm and a hundred different utilities and manually configuring my WiFi in wpa supplicant and have no qualms against it but for the most part I keep things the way they are if they’re acceptable to me
If I don’t need to touch a file I don’t touch it usually
Yea at this point I simply don't have the skills to bother fucking with anything of that realm. I've only recently gotten comfortable using the command line not that I was scared of it or anything more that coming from Windows it was just never really necessary will I eventually get comfortable enough maybe some day but definitely not today.
 
Fucking / drive on my home server basically died. Thank Moloch it's still readable but GOOD GOD drives have gotten exceptional overpriced! Same fucking equivalent drive went from 70 bucks to THREE HUNDRED lmao

Legit, besides using dd, what's the best practice way to copy bullshit from one btrfs drive to another? I want to make sure I can repair broken blocks or whatever tf when it's copying over.

One thing I am absolutely going to do now is figure out wtf was raping the drive from the get go, somehow I had 36TBW lmfao, legit have no clue how or where it was writing so damned much
 
If you want to perform data recovery, use ddrescue. If you want to just copy the drive to another drive (or to an image), sudo sh -c 'pv /dev/sda > /dev/sdb' or whatever your source and destination are. pv is cat with a progress bar. You can also cp instead. Don't use dd. dd is not a drive copying tool, a low-level device management tool or any sort of rescue tool. It's a tool for converting data between different byte formats, which is only spread around in online tutorials because people don't understand its original purpose. Someone used it once, put it on a mailing list, and then everyone copied them like indians.
 
32gb of ram is enough to lower swappiness right? My default is 60 and I saw that lowering to 45 is a good in-between value as to not have linux use your swap file as often, and therefore have more disk write actions happen on your SSD.

I increased the default 2gb swap file to 6gb and turned zswap on and it stays completely unused most of the time, <=1% when I don't realize I have multiple apps open (haven't seen its % when playing games or doing extensive work sessions).
 
32gb of ram is enough to lower swappiness right? My default is 60 and I saw that lowering to 45 is a good in-between value as to not have linux use your swap file as often, and therefore have more disk write actions happen on your SSD.

I increased the default 2gb swap file to 6gb and turned zswap on and it stays completely unused most of the time, <=1% when I don't realize I have multiple apps open (haven't seen its % when playing games or doing extensive work sessions).
I am using 10 as the swapiness value, and I have 64GB of RAM. I found I had fewer stutters in games as a result.

Apparently 10-30 is normal for most desktop systems.
 
Last edited:
Using swap in the Year of our Lord 2026, Lord have mercy on your SSD.

If you have unused background processes with allocated and used memory that's not a rounding error clean up your system (or don't turn off overcommit, you have automatic paging of the mapped r-x sections with gigabytes of unused shitty rust and go code reimplementing glibc for free already).
 
32gb of ram is enough to lower swappiness right? My default is 60 and I saw that lowering to 45 is a good in-between value as to not have linux use your swap file as often, and therefore have more disk write actions happen on your SSD.

I increased the default 2gb swap file to 6gb and turned zswap on and it stays completely unused most of the time, <=1% when I don't realize I have multiple apps open (haven't seen its % when playing games or doing extensive work sessions).
Use zram if you want to completely eliminate disk writes.
 
Last edited:
Using swap in the Year of our Lord 2026, Lord have mercy on your SSD.

If you have unused background processes with allocated and used memory that's not a rounding error clean up your system (or don't turn off overcommit, you have automatic paging of the mapped r-x sections with gigabytes of unused shitty rust and go code reimplementing glibc for free already).
Modern operating systems expect it to be there. Modern means "newer than NT 4".
 
wtf was raping the drive
Why, it was SystemDegenerate (HN), of course. Well, it was probably a lot of things, but your post reminded me of this, and I don't think it was posted here (this is old news though, so I might just be blind and/or exceptional (:_().
TL;DR: journald(egenerate)'s use of mmap results in massive writes (entire page/"folio" vs whatever it is it's *actually* trying to write), as well as the format itself being... not particularly optimal ("10.9 times size reduction after compressing already compressed (supposedly) journal file", "entire journal now is 68.5* times smaller" - some guy in the comments using xz on the logs) :story:
 
Modern operating systems expect it to be there. Modern means "newer than NT 4".
Virtual memory and swap was introduced in the 60s on the Atlas, there's nothing modern about it.

Modern kernels are # CONFIG_SWAP is not set in any sensible configuration (assuming you've done your own whole system profiling and don't rely on outdated second-hand myths from facebook exceptional individuals).
 
Last edited:
Yea at this point I simply don't have the skills to bother fucking with anything of that realm. I've only recently gotten comfortable using the command line not that I was scared of it or anything more that coming from Windows it was just never really necessary will I eventually get comfortable enough maybe some day but definitely not today.
What’s gonna happen is eventually you’re gonna touch a config file reload the program and realize the config file actually worked and that’ll build your confidence to try more stuff. It’ll start by copying and pasting some things but the more you do the more you get used to it
 
If you want to perform data recovery, use ddrescue. If you want to just copy the drive to another drive (or to an image), sudo sh -c 'pv /dev/sda > /dev/sdb' or whatever your source and destination are. pv is cat with a progress bar. You can also cp instead. Don't use dd. dd is not a drive copying tool, a low-level device management tool or any sort of rescue tool. It's a tool for converting data between different byte formats, which is only spread around in online tutorials because people don't understand its original purpose. Someone used it once, put it on a mailing list, and then everyone copied them like indians.
I ddrescue'd it and it's all gtg. I'm gonna have to figure out what the fuck was thrashing the old drive. 250TBW jfc
 
What’s gonna happen is eventually you’re gonna touch a config file reload the program and realize the config file actually worked and that’ll build your confidence to try more stuff. It’ll start by copying and pasting some things but the more you do the more you get used to it
I Appreciate the vote of confidence friend I will keep everyone here updated as to how my Linux Journey progresses and I'm sure that eventually I will suprise even myself.
 
Minor Linux configuration success that I wanna gush about: I actually managed to trim my boot time down from 41 seconds (from BIOS post to logging into my Fedora Cinnamon session @ LightDM) to 25.073s! See below for systemd-analyze output.

Code:
Startup finished in 8.929s (firmware) + 2.943s (loader) + 4.196s (kernel) + 5.198s (initrd) + 3.805s (userspace) = 25.073s 
graphical.target reached after 3.763s in userspace.

If you ignore the BIOS post altogether like I used to back in the BIOS/MBR days when recording boot times on SysV-era Linux, the time works out to 16.142 seconds! I hate the fact that I can't just manually toggle and arrange my daemons however I see fit the way that I used to on SysV-era Linux Mint, but I guess that's just my cross to bear.

Either way, I'm genuinely hyped about something so trivial. It's making me feel like a 15-year-old combing through the ArchWiki for the first time ever.
 
What are the odds of Linux caving to the OS level age verification and what if anything can we do to avoid it aside from the obviously switching distros.
The Linux kernel itself doesn't have much of a role to play in age verification. Systemd added a birthday field to it's user record in to support compliance, to no small amount of controversy. However, by itself this doesn't add an age verification system, it's just a feature that makes building those systems easier. Really, it's up to each distro to decide if they're going to require/implement age verification.

In summary, pretty much every corporate Linux distro (Red Hat/Fedora, Canonical/Ubuntu, Debian, etc...) bent the knee immediately. They all announced their intent to comply pretty much the moment California, Colorado and Brazil passed their laws.

However, after much chimping from the Linux world, California subsequently granted exemptions for open source projects. All of these corpo distros have since softened their commitment, and I don't think any of them are currently compliant with the Cali law as originally passed.

It's an open question as to what these open source exemptions actually mean going forward. For example, Red Hat is open source, but is fully owned by international megacorp IBM, while Android is just one of Google's specialized Linux distros. Hell, both MacOS and Windows are heavily dependent on open source tech at this point.

This issue was one of Lunduke's obsessions earlier in the year, resulting this summary documenting what each company/distro were planning to do. I don't think he's significantly updated it since Cali passed those OSS exemptions, though, so it probably doesn't reflect current realities.
 
What are the odds of Linux caving to the OS level age verification and what if anything can we do to avoid it aside from the obviously switching distros.
If you choose to use a systemd-infected distribution you have caved to OS level age verification. Simple, just use a real Linux distro like Devuan, Anti-X, or Alpine with OpenRC.
 
Back
Top Bottom