Linux
Welcome to c/linux!
Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!
Rules:
-
Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.
-
Be respectful: Treat fellow community members with respect and courtesy.
-
Quality over quantity: Share informative and thought-provoking content.
-
No spam or self-promotion: Avoid excessive self-promotion or spamming.
-
No NSFW adult content
-
Follow general lemmy guidelines.
view the rest of the comments
I'm not sure how lightweight niri is. Maybe try Sway for a bit? (definitely not Hyprland ;D)
With 4GB of RAM, I would suggest to create a SWAP partition and maybe increase swappiness?
Are the crashes happening because you are running out of RAM? If you monitor
# journalctl -f, the crashes happen with OOM?I don't know the answer, but try to find a Firefox clone that is focused on being lightweight. Vanilla Firefox can be a bit RAM-greedy
Hi there! First of all, thanks for the comment. I’ve actually tried using Void Linux (the musl version) before, but I ran into a lot of trouble configuring it and getting things to work—especially with Btrfs and setting up zram with lz4. I’m not exactly sure why, but while it was fast, it ended up being very unstable.
I had similar issues with Alpine, but even worse; I spent ages just trying to get PipeWire to work.
Just a heads-up: I’m no Linux expert. In fact, I did everything with the help of AI using my Android phone. I'm only using complex distros like Void because this laptop is all I have. I’ll look into your suggestions, though—it’s very possible that I’m just not managed to make the most out of it yet.
One more thing: even though Xorg-based window managers are lighter, most of them are legacy or abandoned projects. Because of that, I always run into errors that cause things to crash or stop working.
Thanks again for the comment!
the choice of musl based distros was informed one or just coincidence? Maybe you should test glibc too?
Maybe I should clarify one thing, then. When I wrote
# journalctl -fI meantjournalctl -fran by root or viasudo.journalctlran by just a user will not show everything.https://unix.stackexchange.com/questions/291729/why-is-the-default-symbol-for-a-user-shell-and-the-default-symbol-for-a-root
The "universal" switch to Wayland is not that old, it shouldn't be so bad. Maybe your way forward is to fix the issues you were having with X. For lightweight try i3/awesome or fluxbox
One more thing: is there a tutorial or a website where I can learn how to properly use musl-based distros? Even though they aren't as widely used, I believe software built on this library can be more performant, so I’d really like to learn more about it.
Thanks again for your time!