this post was submitted on 26 Jul 2024
142 points (97.3% liked)

Linux

48052 readers
744 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
 

For me, I really want to get into niri, but the lack of XWayland support scares me (I know there’s solutions, but I don’t understand them yet).

Also, I stopped using Emacs (even though I love its design and philosophy with my whole heart) because it’s very slow, even as a daemon.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 3 months ago (3 children)

Btrfs. I've been using ext4 for so long, I'm afraid that switching up will just annoy me.

Zsh: same reason.

[–] [email protected] 6 points 3 months ago

Perhaps you are a more discerning filesystem user than I am, but I don't think I've actually noticed any difference on btrfs except that I can use snapshots and deduplication.

[–] [email protected] 5 points 3 months ago (3 children)

BtrFS has Stuff.

  • Subvolumes, which enable you to share the same /home between Linux distros
  • Snapshots that are an great for
    • freezing the FS during off-machine backups: create a snapshot, rsync the snapshot not the main FS, drop the snapshot
    • transient backups. Will executing this thing hose my system? If no, drop the snapshot.
  • ability to pool different disks into a single FS
  • and so much more.

Fun story: once I needed to do something (resize? can't recall) a partition that happened to be in use. The solution involved smbmounting a network disk, losetup helping transform that thing into a virtual disk, then migrating the root FS there, recreating partitions, all while running the rootfs on that thing. Thus, pooling can bu useful.

By the way, what does Zsh have over bash that you find useful?

[–] [email protected] 4 points 3 months ago

Not OP , but regarding zsh, it has much better auto completion, and suggestion support. Additionally you can theme your prompt much more, see for example powerlevel10k

[–] [email protected] 1 points 3 months ago

zsh has vi mode

[–] [email protected] 1 points 3 months ago

Honestly, the only btrfs feature that interests me is the snapshotting, as the current state of my backups is rather sub-par. There's just a lot of inertia involved in adopting it when ext4 Just Works™. Maybe next time I install a new system I'll give it a shot.

As for zsh, I rather like the general "intelligence" I see on others' machines: the way it autocorrects typos, draws a navigable menu for tab completions complete with colour highlighting... it looks lovely. I've been a Bash user for 25 years though, and muscle memory like smashing the tab key to get what I want is a hard habit to break.

[–] [email protected] 2 points 3 months ago (1 children)

Zsh

FWIW, the excellent ZSH Quickstart kit has been splendid for my transition.

[–] [email protected] 6 points 3 months ago* (last edited 3 months ago) (1 children)

Actually, tutorials like that are a big reason that I don't want to switch. The first steps are things like:

  • Install these fonts that only work in a GUI environment
  • Install these programs straight from GitHub without your package manager

...and all I hear is: "this stuff isn't ready yet" and "I'm going to be staring at Unicode glyphs the next time I have to tinker outside of my GUI".

If I can't easily and securely install a shell on every environment I use as I don't want to be constantly context switching, then I'm going to have to stick to Bash.

[–] [email protected] 6 points 3 months ago (1 children)

...and all I hear is: "this stuff isn't ready yet" and "I'm going to be starring at Unicode glyphs the next time I have to tinker outside of my GUI".

This really isn't a zsh problem, but a "people putting too much stuff in a 'getting started' config".

I used zsh for 15 years before looking at any plug-in manager, you can get a lot of the good stuff like the completion by just going through the first-run wizard included in zsh. A lot of stuff is included directly with zsh, including various prompt themes (which is what that tutorial wants extra fonts for, because they use a fancy prompt with custom glyphs; I don't think any of the built-in ones need that)

Things like fuzzy history search with fzf is usually included with fzf's distro package and the additional zsh-completions package for less used or newer commands is also packaged by most distros. In my experience, a lot of the other plugins are stuff that could be a standalone script instead of a plug-in anyway.

[–] [email protected] 1 points 3 months ago

Well that's much more encouraging. I may just give it a try if the first run wizard is simple enough. Thanks!