• 12 Posts
  • 107 Comments
Joined 11 months ago
cake
Cake day: December 28th, 2023

help-circle
  • renzev@lemmy.worldtolinuxmemes@lemmy.worldSnap...
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 days ago

    If you’re interested in another approach to containerizing GUI applications, also checkout out x11docker. It’s a small independent project maintained by one guy, nothing big like flatpak, but also pretty cool. The name is actually a bit limiting – it supports both docker and podman, and can run wayland apps as well. One of the coolest features, in my opinion, is the ability to run a separate X server inside every sandbox and forward individual windows to the “host” X server. That way you can prevent apps from spying on your keyboard or other apps’ windows.


  • The thing with appimages is that they expect the developer to have full knowledge of what libraries need to be bundled with their app, which makes it difficult to make truly universal appimages. In flatpak you just select one of a set list of runtimes and add any additional dependencies on top of it. Flatpak also re-uses the files for each runtime in between the different apps that use it, which saves a lot of disk space.


  • Why not containerise everything? You need libreoffice? No problem, here is a docker or podman container.

    Flatpak is basically GUI-optimized containers. It uses the same technology (namespaces) as docker and podman, just with some extra tools to make GUI-related things work properly. That’s why flatpak apps don’t use the system’s gtk version – they’re running in a sandbox with a different rootfs. You can spawn a shell into the sandbox of a specific app with flatpak run --command=sh com.yourapp.YourApp and poke around it if you want to.








  • Thank you for the detailed response, very informative. You make a really good point about centralized logging, I can see how that can be very helpful when you run A LOT of different server process on one machine. I get centralized logging as a bonus of running everything in Docker, but I can see how it is nice to have logging as part of the init system if you want to run a lot of services natively.





  • renzev@lemmy.worldOPtolinuxmemes@lemmy.worldAverage systemd debate
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    8
    ·
    2 months ago

    I’ve gotten into quite a lot of systemd-related flame wars so far, and what strikes me is that I haven’t heard a single reason why systemd is good and should be used in favor of openrc/sysvinit/whatever. The only arguments I hear in favor of systemd, even from the its diehard defenders, are justifications why it’s not that bad. Not once have I heard someone advocate for systemd with reasoning that goes likes “Systemd is superior to legacy init systems because you can do X much easier” or “systemd is more secure because it’s resistant against Y attack vector”. It’s always “Linus says it’s allright” or “binary logfiles aren’t a problem, you can just get them from journald instead of reading the file”, or “everyone already uses it”.

    When it comes to online discourse, systemd doesn’t have advocates, it has apologists.






  • He really insists on debian-based, I don’t really know why. And, while Void IS really solid, it isn’t exactly known for the most expansive package collection. Xournal, for example, is not available through XBPS (there is a xournal package, but it just installs xournal++), which is one of the programs he likes a lot. I told him it’s on nix, but he doesn’t want to use nix.

    But I agree, Void is amazing, I use it on my laptop. One little-known cool feature of Void is that its official docker images come in busybox/musl libc, busybox/glibc, and coreutils/glibc variants, it gives you a nice scale from most minimalist to most compatible.


  • renzev@lemmy.worldtolinuxmemes@lemmy.worldapt install firefox
    link
    fedilink
    arrow-up
    1
    arrow-down
    2
    ·
    2 months ago

    I like your comment a lot because you can substitute a lot of different things for “snap” and it still ends up sounding like a very reasonable opinion

    I feel like I would be more okay with leaded gasoline if it didn’t still have a lot of very real flaws.

    I feel like I would be more okay with anarcho-capitalism if it didn’t still have a lot of very real flaws.

    I feel like I would be more okay with PFAS-coated cookware if it didn’t still have a lot of very real flaws.

    I feel like I would be more okay with single-use plastic bags if it didn’t still have a lot of very real flaws.

    I feel like I would be more okay with cryptocurrencies if it didn’t still have a lot of very real flaws.

    I feel like I would be more okay with generative AI if it didn’t still have a lot of very real flaws.

    I feel like I would be more okay with eating highly processed meat if it didn’t still have a lot of very real flaws.



  • renzev@lemmy.worldtolinuxmemes@lemmy.worldapt install firefox
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 months ago

    It’s not a miniscule gripe tho. Snap is still broken for many users, and relying on it for something as critical as a web browser is asking for trouble. Experimental technologies like snap should be opt-in for users who are willing to deal with the issues they create. Do they really expect a novice to see firefox’s filepicker not behaving correctly, and think “Aha, an XDG desktop portal issue! Let me drop everything I’m doing and go troubleshoot that” ? Ubuntu is meant to be linux for normies, they don’t have the time or the knowledge to deal with snap.