I freakin did it. Finally
Wanted to post this yesterday evening but I got too excited setting up software. A bit of background: I have been contemplating moving to Linux for almost a year now, and when I got a new laptop a couple of weeks ago I resolved that I would put a distro onboard and attempt to make it my primary OS (...
Probably the most prescient thing I did as a total noob was switch to systemd-boot. My very first install was with GRUB. Didn't boot. Spent a bit trying to troubleshoot it, got frustrated and said fuck it, I'm just gonna try systemd. I still screwed that up but it took me very little time to figure out what I did wrong.
I was learning about the different encryption setups and after getting systemd-boot up so easily, I really started scrutinizing GRUB and the need for having /boot encrypted. This led me to enough counter-arguments stating that you were moving the vulnerability from one spot to another without any real security gain. I said yep fuck that, extra work to gain nothing is dumb. Like a week later the boothole thing hit Windows and GRUB.
Used systemd-boot until I got around to setting up a unified kernel and secure boot. Then I switched to rEFInd and re-enabled my Windows drive so I could dual boot. Realized I hadn't switched to Windows in two months so now I just use the unified kernel with the UEFI firmware.
Maybe it's because I'm so new to Linux and don't have the history with GRUB, but it just seems like a pointless pain in the ass. Sure GRUB can unlock an encrypted esp and /boot, but that's just passing the security buck. Need to reach across partitions/drives? Use rEFInd, it's very easy and has eye candy like GRUB. Got a simple setup? Systemd-boot or UEFISTUB.
Yes... btw, have you seen my username?
It's like the business proverb of "Location, location, location.": when it comes to computers; backups backups, backups.
I've done some dumb things as a Linux noob and decided reinstalling was a better plan than troubleshooting. Then again, I've had the same /home LVM the entire time, and my system was never broke broke.
But a few weeks ago I had my kernel get deleted during an update.
No idea what was the root cause but when mkinitcpio tried remaking the kernel/initrd it shat the bed. Unfortunately it deletes both just prior to the rebuild. It's possible DKMS has something to do with it. I had a thread going on the bbs, but it never delved deep enough.
I was already planning on trying out Dracut so I installed it and was able to recreate the kernel pretty easily. Until I got to that point I just simply did not reboot while I tried to figure out the cause. Although, it would have been much faster to reboot in with my ISO USB and just pacstrap a new kernel.
Why not grub-git? If you're stuck using the same keys why choose the option with less features?
Just a heads up, XDG directories compliance is something that many programs are working towards, even if they keep previous defaults.
Here are some issues at the Newsboat repo showing the work done to be XDG compatible. https://github.com/newsboat/newsboat/issues?q=xdg
No one enforces XDG, as no one obviously has that sort of power. So it's like herding cats when convincing developers. But it is slowly gaining ground.
In fact, the Arch Wiki has one of the best resources for de-cluttering ~/ and finding out who and who is not compliant: https://wiki.archlinux.org/index.php/XDG_Base_Directory
Scroll down the list, look through the partial and hardcoded categories. You can see why having XDG compliance or at least compatibility built into the program is important to people; they probably have already had to modify variables for 10-30 other programs.
People go through with all that effort though because XDG makes backing up much easier. $XDG_CONFIG_HOME and $XDG_DATA_HOME will only contain the things you want to back up, while $XDG_CACHE_HOME and $XDG_RUNTIME_DIR can safely be ignored.