this post was submitted on 06 Nov 2023
113 points (95.9% liked)

Linux

47948 readers
1590 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

What are your 'defaults' for your desktop Linux installations, especially when they deviate from your distros defaults? What are your reasons for this deviations?

To give you an example what I am asking for, here is my list with reasons (funnily enough, using these settings on Debian, which are AFAIK the defaults for Fedora):

  • Btrfs: I use Btrfs for transparent compression which is a game changer for my use cases and using it w/o Raid I had never trouble with corrupt data on power failures, compared to ext4.

  • ZRAM: I wrote about it somewhere else, but ZRAM transformed even my totally under-powered HP Stream 11" with 4GB Ram into a usable machine. Nowadays I don't have swap partitions anymore and use ZRAM everywhere and it just works (TM).

  • ufw: I cannot fathom why firewalls with all ports but ssh closed by default are not the default. Especially on Debian, where unconfigured services are started by default after installation, it does not make sense to me.

My next project is to slim down my Gnome desktop installation, but I guess this is quite common in the Debian community.

Before you ask: Why not Fedora? - I love Fedora, but I need something stable for work, and Fedoras recent kernels brake virtual machines for me.

Edit: Forgot to mention ufw

you are viewing a single comment's thread
view the rest of the comments
[–] GenderNeutralBro@lemmy.sdf.org 28 points 1 year ago (2 children)

I don't think I will ever go back to a filesystem without snapshot support. BTRFS with Snapper is just so damn cool. It's an absolute lifesaver when working with Nvidia drivers because if you breathe on your system wrong it will fail to boot. Kernel updates and driver updates are a harrowing experience with Nvidia, but snapper is like an IRL cheat code.

OpenSuse has this by default, but I'm back to good ol' Debian now. This and PipeWire are the main reasons I installed Debian via Spiral Linux instead of the stock Debian installer. Every time I install a new package with apt, it automatically created pre and post snapshots. Absolutely thrilled with the results so far. Saved me a few hours already, after yet another failed Nvidia installation attempt.

[–] wolf@lemmy.zip 3 points 1 year ago

Nice use case for snapshots! :-) I'll put it in my backlog, perhaps it is a nice insurance for my crash prone machines.

[–] Guenther_Amanita@feddit.de 1 points 1 year ago (2 children)

Please tell me more about Spiral Linux. I'm not a huge Debian fan personally(at least for desktop), but I often install Linux on other people's machines. And Mint/ Debian is great for them.

How does it differ from stock?

[–] GenderNeutralBro@lemmy.sdf.org 7 points 1 year ago* (last edited 1 year ago) (1 children)

Details on the Spiral Linux web site: https://spirallinux.github.io/

Key points are BTRFS with Snapper, PipeWire, newer kernels and some other niceties from backports, proprietary drivers/codecs by default, VirtualBox support (which I've personally had huge problems with in the past on multiple distros). They also mention font tweaks, but I haven't done side-by-side comparisons, so I'm not sure exactly what that means.

Edit: shoutout to Spiral Linux creator @sb56637@lemmy.ca , who posted a few illuminating comments on this older thread: https://lemmy.ca/post/6855079 (if there's a way to link to posts in an instance-agnostic way on Lemmy, please let me know!)

[–] lemmyvore@feddit.nl 1 points 11 months ago (1 children)

How does it differ from stock?

Well for one thing their driver support is apparently "harrowing". 😊

I will never understand why people choose distributions that will brick themselves when the wind blows, so they add snapshot support as a band-aid, and then they celebrate "woo hoo, it takes pre and post snapshots after every package install!"

How about using a distro where you never have to restore a snapshot...

[–] GenderNeutralBro@lemmy.sdf.org 3 points 11 months ago* (last edited 11 months ago) (1 children)

To clarify, this is my first time using Spiral Linux. My experience regarding Nvidia drivers is across several different distros (most recently Ubuntu LTS and OpenSuse Tumbleweed). I have never had a seamless experience. Often the initial driver installation works, but CUDA and related tools are finicky. Sometimes a kernel update breaks everything. Sometimes it doesn't play nice with other kernel extensions.

The Debian version of the drivers didn't set up Secure Boot properly. Instead, I rolled back and used the generic Nvidia .run installer, which worked fine. Not seamless, obviously, but not really worse than my experience on other distros. In the future I will always just use the generic installers from Nvidia.

Point is, with BTRFS you can just try anything without fear. I'm not going to worry about installing kernel updates from now on, or driver updates, or anything, because if anything goes wrong, it's no big deal.

[–] lemmyvore@feddit.nl 2 points 11 months ago (1 children)

And my point is that it's not normal to fear updates. Any updates, but especially updates to essential packages like the kernel or graphics driver.

If you're using the experimental branch of a distro or experimental versions of packages on purpose then snapshots are a good tool. But if you're using a normal distro and its normal packages you should not have to resort to such measures.

[–] GenderNeutralBro@lemmy.sdf.org 1 points 11 months ago* (last edited 11 months ago)

Nvidia just sucks across every distro I've used. Have you had good experience running CUDA, cuDNN, and cuBLAS? If so, which distro?

And have you run it alongside other things that require kernel modules, like ZFS and VirtualBox?