this post was submitted on 15 Nov 2024
325 points (100.0% liked)

linuxmemes

23866 readers
1069 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] [email protected] 67 points 4 months ago* (last edited 4 months ago) (1 children)

    Fun fact: there used to be an Authy flatpak that just installed the snap inside

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

    Oh, what the fuck!?

    TBH I wouldn't mind it that much. The whole point of flatpak is that the developer can do whatever demented satanic rituals they want inside of the sandbox, and it won't contaminate the rest of the system.

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

    Yo dawg, I herd you like containers so I put snap in yo flatpak, so that u can sandbox in your sandbox

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

    Flatpak has long had the ability to dump the contents of a snap into it, because snaps had already solved many of the build issues flatpaks were struggling with and they used similar runtimes for their sandboxing. It's also a convenient way to convert apps over, since many apps got packaged as snaps before flatpak was really usable.

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

    Unpopular opinion: snap is not so bad and genuinely useful for many things

    I would rather have a snap than building from source or use some tar.gz archive with a sketchy install script

    [–] [email protected] 42 points 4 months ago* (last edited 4 months ago) (5 children)

    some tar.gz archive with a sketchy install script

    I just can't... like maybe I'm too old and that's why I still can't wrap my head around how we went from "./configure && make & make install scripts are almost the de facto way to install software in linux" to "a sketchy install script". We're living interesting times at Linux

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

    Blame the thousands of supply chain attacks.

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

    Last time I ran a corporate-made installer, it caused massive graphical glitches and lock-ups after waking from sleep. It basically gave my system computer-AIDS.

    That's why I never run scripts which are too long for me to easily understand outside a sandbox. Official distro repositories and Flatpaks are the only sources I have some level of trust in.

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

    In a job interview I asked a CIS grad what the steps are to compile something on the command line and they had no clue. If it’s not β€œsudo apt install” they are lost.

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

    Very unpopular

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

    I would rather have a snap than building from source or use some tar.gz archive with a sketchy install script

    I agree, but that sounds like false dichotomy to me because snap competes with flatpak.

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

    I never presented this as a dichotomy. You know, people prefer things in a certain order, right? I prefer Flatpaks and native packages over snaps and I prefer snaps to building from source.

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

    True, but your post did kinda read like this:

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

    There are plenty of use cases that snap provides that flatpak doesn't - they only compete in a subset of snap's functionality. For example, flatpak does not (and is not designed to) provide a way to use it to distribute kernels or system services.

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

    I would prefer manually writing each software using butterflies over having snapd installed on my system.

    [–] [email protected] 10 points 4 months ago* (last edited 4 months ago)

    obligatory "there is always a relevant xkcd"

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

    And what do they offer over flatpak?

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

    Better cli experience and the permission prompts are two that come to mind.

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

    A built-in way to have services running (which is why openprinting can make a snap of CUPS but AFAICT can't make a Flatpak).

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

    I'd rather be able to use my web browser uninterrupted without it being updated while using it and be forced to restart it.

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

    The updates download in the background and will install when you exit the snapped app. If you really don't want automatic updates, you can run snap refresh --hold to hold all automatic updates or add a snap name to hold updates for that snap.

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

    Nope. There have been multiple times where I have my browser open, in the middle of something and when I go to open a new tab/window I get a blank screen telling me I need to restart FF to continue.

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

    That is the behaviour that's built for when an upgrade through a "classic" package manager (e.g. apt, dnf) updates Firefox while it's still running. The only way I can think of that you'd get that with a snap is if you're intentionally bypassing the confinement (e.g. by running /snap/firefox/current/usr/lib/firefox/firefox directly, which can also massively mess with other things since Firefox won't be running in the core22 environment it expects).

    If you're using the snap as expected (e.g. opening the .desktop file in /var/lib/snapd/desktop/applications/, running /snap/bin/firefox or running snap run firefox), snapd won't replace /snap/firefox/current until you no longer have any processes from that snap running. Instead you'll get a desktop notification to close and restart Firefox to update it, and two weeks to either do so or to run snap refresh --hold firefox to prevent the update (or something like snap refresh --hold=6w firefox to hold the refresh for 6 weeks). Depending on what graphical updater you have, you may also have the ability to hold the update through that updater.

    Are you sure you're running the Firefox snap? Because that sounds pretty much precisely like the expected behaviour if someone had gone to lengths to avoid using the snap.

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

    Yep. I'm selfhosting it now. Works great but selfhosting isn't straightforward yet, still the best Authy/Google/Microsoft Authenticator drop in replacement with sync.

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

    2FAuth. On the web so you can check it anywhere you want and supports passkeys.

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

    Just use Ente instead.

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

    Or just use Keysmith and import your keys there.

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

    If you really need that software couldn't you just use the Windows version?

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

    Guys they’re doing a bit.

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

    Once you discover you can just install the nix package manager with one command and then install everything with another, snap is out of the game. Even if you just use nix for like 2 packages, it's already much better

    load more comments
    view more: next β€Ί