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

Linux

48332 readers
509 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.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 51 points 4 months ago (6 children)
[–] [email protected] 15 points 4 months ago

Nix flakes, me.

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

I just started yesterday in a VM. It's no stress and you can easily put your configuration on metal after. Pretty fun stuff.

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

The most satisfying part of the NixOS process is deploying to bare metal and watching it work exactly as you intend it to

load more comments (2 replies)
load more comments (4 replies)
[–] [email protected] 28 points 4 months ago (8 children)

docker I guess, I still don't know how it works, create them, etc

[–] [email protected] 19 points 4 months ago (2 children)

You don't have to know how it works in order to use it. I don't know either but I could host services using docker. trust me it's way easier than it seems.

load more comments (2 replies)
load more comments (7 replies)
[–] [email protected] 25 points 4 months ago (9 children)

Bcachefs, and bcachefs on root. Need something with filesystem level encryption instead of LUKS, and *ubuntu's and derivatives have all abandoned ZFS on root installs now.

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

What's your use case for FS-level encryption? LUKS has worked for me so far, I wonder where I'm missing out.

load more comments (8 replies)
[–] [email protected] 19 points 4 months ago (5 children)

Neovim. I tried to use it a year ago, but I felt like I was fighting it every time I just wanted to make progress on my project. VSCode doesn't get in my way. I'm going to give it another shot in a few years.

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

Haven't used neovim, but I had to try vim way too many times. I can't use anything else now.

load more comments (1 replies)
load more comments (4 replies)
[–] [email protected] 18 points 4 months ago (4 children)

I want to use Neovim but I haven't gotten around to really learning it yet.

[–] [email protected] 21 points 4 months ago (6 children)

I used neovim but recently switched to helix and highly recommend it. If you haven't tried nvim yet, give helix a try before deciding. A good way to compare is do the tutorial of each and see which you like more nvim +Tutor and hx --tutor (orhelix --tutor).

If you're a current vim user the helix keybindings are only a small learning curve after the tutorial, and feel a lot smoother imo

[–] [email protected] 9 points 4 months ago (2 children)

I love Helix. I like that it pretty much works out of the box and the only thing you have to do is install language servers and in some cases configure them, but that's (mostly) well documented. No need to install plugins or use a preset "distribution" like with NeoVim. I also like the built-in keyboard shortcut hints, for example when you press g (goto) it shows you what key will do what.

The way Helix does "select first, then act" is subjective, but I like it.

[–] jbrains 6 points 4 months ago

This is the reason I liked kakoune right away after I started using it: select, then act, and every movement is also a selection.

load more comments (1 replies)
[–] [email protected] 5 points 4 months ago

I've used helix for a few months and liked a few default keybindings. Didn't like the reversed sequences (movement then action) so switched back to neovim and configured helix like bindings for some actions.

load more comments (4 replies)
[–] [email protected] 5 points 4 months ago

That's me as well, I've used vim for simple edits over the years but more and more just used nano for most of my terminal based edits. Finally ran vimtutor (mainly because I wasn't aware of it) and wow, I should have done that years ago.

load more comments (2 replies)
[–] konidia 15 points 4 months ago* (last edited 4 months ago) (2 children)

Common Lisp. It would take a long while before I'm comfortable working on a project using that language. There's also Lem editor but setting it up is a pain on NixOS.

load more comments (2 replies)
[–] [email protected] 15 points 4 months ago (2 children)

Wayland, but I'm patiently waiting for xfce to support it

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

A fine day that will be!

load more comments (1 replies)
[–] [email protected] 12 points 4 months ago (1 children)

There are several things I was doing in X-Org that I really don't have the capacity to figure out in Wayland. One of them was customizing touch pad shortcuts, I used to like having 3 figure swipe commands that worked like keyboard shortcuts. The other was my KVM programs like Barrier seems unable to work in Wayland.

I hope for simple solutions to these problems in the future.

load more comments (1 replies)
[–] [email protected] 12 points 4 months ago (2 children)

I kind of want to try wayland just to be modern, but I'm pretty happy with xmonad and don't want to learn another window manager.

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

I migrated from XMonad to Sway, it checks all my requirements. I don't miss the Turing-complete configurability.

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

You might want to look into River, a tiling Wayland compositor inspired by xmonad. Disclaimer, I've not actually used xmonad before so I'm not in a position to compare the two. But River is configured entirely through riverctl commands. Its "config" is an executable, by default at $XDG_CONFIG_HOME/river/init but you can point it to a different path, which can technically be any executable file that just executes when River starts. Ordinarily it'd be a shell script calling all the riverctl commands you want to get your River set up the way you like it, but it could be any executable you like really. You can also use other languages other than shell scripting.

It's still in pretty early development, but I daily drive it for my main general-purpose machine and it works completely fine. I use it for web browsing, coding, gaming, chatting, general productivity, etc, all works. I've noticed some minor hiccups but nothing breaking or unusable. Tbh I would say it's more stable than Hyprland which I've also used and have noticed that Hyprland updates (especially from git) would frequently break it, whereas I was running River compiled from the latest commit of master branch for a while and never had an update break things.

[–] [email protected] 11 points 4 months ago (1 children)

Anything beyond setting up a network-wide dns blocker on docker, so... crowdsec, fail2ban, some proxy-related stuff, zero trust tunnelers and so on.

Why? Because its overkill to my current setup and I don't see myself using em for real other than for learning purposes, and thats it.

And before someone asks "Do you protect your server at all?". Other than making some "hacky" stuff with my internet so all ports appear as closed whilst they actually aren't? Eh, not really. Still, my server is about to reach a year of running nonstop 24/7 and it has never been hacked a single time since then, so naaaw.

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

How do you tell whether it's been hacked? The hallmark of a good hack is invisibility, like modifying logs. Do you perhaps count SSH sessions in your router and verify it against client logs, or somesuch technique?

[–] [email protected] 10 points 4 months ago (6 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 4 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 4 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?

load more comments (3 replies)
load more comments (4 replies)
[–] [email protected] 10 points 4 months ago (1 children)

Zed - I've been kind of using it for one-off edits, but it's just not mature yet for most languages.

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

And they use extremely bad coding practices

load more comments (3 replies)
[–] [email protected] 9 points 4 months ago

Niri looks really cool. I've used tiling WM before but scrolling is a unique take, perhaps more productive for some folks?

Nushell is a good one. I do data science for a living and it'd be nice to have the shell handle some small data transformations instead of writing a script in python. But all the syntax and behavior is very different than bash, so I've been afraid to start because of the learning curve.

[–] [email protected] 9 points 4 months ago (2 children)

Lapce, an IDE written in Rust. It's nice and light compared to most IDE's, so I use it a bit on my aging laptop from 2015. However, it doesn't have the extension ecosystem or polish of my favored IDE, VS Code.

load more comments (2 replies)
[–] [email protected] 9 points 4 months ago (10 children)

any distro other than ubuntu but i'm lazy after ive been doing that shit all day at work

load more comments (10 replies)
[–] [email protected] 8 points 4 months ago* (last edited 4 months ago)

Immutable distro. I love the concept but don't want to move away from Alpine Linux...

[–] [email protected] 8 points 4 months ago (1 children)

Elixir, or Gleam/pure Erlang/some other Erlang VM language. I think Erlang is extremely cool and I've enjoyed the little time I spent with Elixir. I also have absolutely no use case to make proper use of it.

load more comments (1 replies)
[–] [email protected] 8 points 4 months ago

executive function

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

Immich

Wanting to spin-up but constantly delaying...

load more comments (3 replies)
[–] [email protected] 7 points 4 months ago (1 children)

Python. Been wanting to learn it for years but all mental capacity I have toward such stuff is drained by work. The whole situation is ironic.

load more comments (1 replies)
[–] [email protected] 7 points 4 months ago* (last edited 4 months ago)

Ceph. I have some Raspberry Pi's that I'm going to set up a cluster with. Just haven't gotten around to it yet. I half expect the performance to be relatively terrible, but maybe it won't and I can try to build something on top of the cluster in a sort of hyper converged setup.

It's completely overkill for a small home lab but that's what makes it fun.

[–] [email protected] 7 points 4 months ago (1 children)

I think a lot of the recent AI tools could be fun as toys to play around with, but I'm just very uncomfortable using tech that exploits everyone who doesn't own a huge megacorp.

Also, emacs as a replacement for my graphical editor. It feels like there isn't a "neovim" style modern version, and there's a steep learning curve to configuring it.

Also, Wayland. Come on, Cinnamon. ;_;

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

If you want something similar to vim or neovim, but without all the fuss learning how to configure it and install plugins and such, you could try helix.

[–] [email protected] 6 points 4 months ago (2 children)

LLM speech-to-text.

It appears continuous speech recognition is possible, but I only got as far as recognition of an audio file.

Still very cool!

load more comments (2 replies)
[–] [email protected] 6 points 4 months ago (6 children)

I want to use COSMIC but its design sucks, I prefer KDE (and on the Rust side: slint).

I want to use GNOME as what it does works great, but it lacks a whole list of features I use.

I want to use Haruna or many other KDE apps, but GNOME/GTK apps are often better and I dont care.

I want to use Gapless as it is the only music player on Linux that seems to not suck? But it lacks many features.

[–] [email protected] 8 points 4 months ago (1 children)

I want to use GNOME as what it does works great, but it lacks a whole list of features I use.

Watch the list actually get longer over time.

load more comments (1 replies)
load more comments (5 replies)
[–] [email protected] 6 points 4 months ago* (last edited 3 months ago) (4 children)

Any modern DE in my fucking Raspberry Pi 5. I tried going Debian testing, broken packages. I tried installing other OSes, fedora didn't even boot, Ubuntu broke in installation and now won't let me log in.

Gnome in Debian stable feels too old and I can't get the screen keyboard working and disable the dann screen reader. I just want a box to put on my tv.

Edit: was idiot, thought raspberry pi de was gnome.also the rpi5 needs a custom kernel as some stuff isn't yet in the main one, so use raspbian.

load more comments (4 replies)
load more comments
view more: next ›