This might be the dumbest stuff anyone has asked here, but has anyone tried running Alpine as a desktop base OS? Seems pretty well stocked when it comes to the repo, and it’s light asf.

Thoughts?

19 points

There is nothing stopping you from doing so

permalink
report
reply
18 points

I did for some time. There’s beauty in the simplicity and flexibility of Alpine, plus BusyBox is great once you understand all the weird quirks between it and coreutils. As unpopular as it might be, I actually really like OpenRC. Alpine feels pretty close to BSD if you’re familiar with that family of operating systems. These days I use it for just about all my servers save for a few Nix boxes.

If you decide to explore this route, here are a couple tools I found useful at the start:

  • Conty - A single executable that launches applications in a standalone Linux Container
  • x11docker - Run GUI apps and desktop environments in docker and podman containers.

Also might behoove you to check out Alpine community’s documentation on chroots in case you need specific software that isn’t available otherwise.

permalink
report
reply
17 points

I did this for several months. If you check out the Alpine community you’ll see that many people do this. So, it is not a dumb idea. Alpine is a “generalist” distro and comes packed with all the DEs and WMs you want. They also accept package requests and are usually pretty fast about it.

I would recommend using the Edge branch just to have access to the newest packages, but keep an eye on the issue tracker before hitting update. Also, get on their Matrix and other accounts to follow different discussions.

permalink
report
reply
16 points

Alpine works great for the desktop and I’m using it myself for my lower end machine.

Working without glibc and with some strangly named packages is sometimes tricky, but so far I have been able to do anything I’d wanted!

If it can help you in your journey, here is my personal configuration for Alpine, with WMs and DEs on their own branches. Only the ‘suckless’ (DWM) and ‘xfce’ are working properly so far: https://gitlab.com/sunoc/als/-/tree/suckless?ref_type=heads

permalink
report
reply
12 points

I have been using Alpine as my main desktop system

If you need gaming, or you have a Nvidia GPU, your idea is dead on the water, not having glibc makes nvidia drivers impossible to use.

But that aside, the desktop feels snappy, the system is extremely small so knowing exactly how everything is running/working, and OpenRC is a breath of fresh air compared to the ‘do everything’ SystemD. All pieces of Alpine just does one thing, which makes things really predictable.

Albeit, my path isn’t without hiccups, for example X11 made suspend when the lid closes outright crash X11, so was forced into Wayland And Pipewire, I have to restart it whenever I switch from the computer speakers to headphones or vice-versa

You’ll find some small bugs and small issues, but if you really want a more spartan and simplistic way to handle your linux box, it is amazing

Also, APK is the best package manager, I felt in love with it

permalink
report
reply
4 points

Oh interesting, didn’t think of Graphics drivers getting in the way. It’ll go on a Framework laptop, most if not everything should work ootb… ~famous last words~

permalink
report
parent
reply
2 points

Its possible to install glibc on Alpine. https://hatchjs.com/alpine-linux-install-full-glibc/

permalink
report
parent
reply
2 points

That is fake https://pkgs.alpinelinux.org/packages?name=glibc*&branch=edge&repo=&arch=&maintainer= I have felt for it too, but glibc-full doesn’t exist I have found a package on github though, that claims to add glibc, but whenever I tried to use it to, for example, run the nvidia installer, the entire thing just segfaults

permalink
report
parent
reply
2 points
*

Sorry for the bad link, I will be more careful for the next time.

In the official website, the glibc page was updated with a new glibc layer. You can also check if you have “nouveau” drivers for Nvidia.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 7.5K

    Monthly active users

  • 6.6K

    Posts

  • 179K

    Comments