this post was submitted on 04 Oct 2025
234 points (96.1% liked)

linuxmemes

27553 readers
738 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, no politics, no trolling or ragebaiting.
  • 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
    you are viewing a single comment's thread
    view the rest of the comments
    [–] Cevilia@lemmy.blahaj.zone 11 points 1 day ago (2 children)

    What's wrong with snaps? I'm relatively new to Linux and keep hearing people banging on about them.

    [–] erotador@lemmy.blahaj.zone 27 points 1 day ago (3 children)

    snaps are similar to flatpaks, little containers that hold apps that can be sandboxed for security, reproducibility, and convenience. cannonical decided to push their own snaps over flatpak, a widly accepted standard. the big problem with snaps is the store where you get them is proprietary, and they will sneakily install snaps instead of standard packages when you try to install programs you didn't realize we're even snaps.

    [–] Cevilia@lemmy.blahaj.zone 11 points 1 day ago (1 children)

    ...so they're the flatpaks we have at home? :P

    Seriously though. Wow, that royally sucks. Thanks for the info.

    [–] rtxn@lemmy.world 19 points 1 day ago* (last edited 13 hours ago) (2 children)

    That's not the full picture.

    The proprietary store backend really isn't consequential. Most websites are, and if you have a modern computer, you've got proprietary firmware running at ring -3. At best, it's a distraction from Snap's real issues.

    Snap packages are compressed filesystems, similar to squashfs. When an application is started for the first time, the filesystem has to be decompressed and mounted to the root filesystem, which (depending on the computer) can take a long time. It also litters your mount points with loopback devices.

    Snap's sandboxing only works on systems running Systemd. No Devuan, no Artix, no Alpine; the packages will work, but without sandboxing.

    The worst part is Canonical's desperate attempts to make snaps happen.

    ...and I'm sure there's more that I'm forgetting about.

    [–] Morphit@feddit.uk 2 points 13 hours ago (1 children)

    They haven't modified apt; they abuse an extra version number that supercedes the major version number of a package. I think it's meant to be used for new packages that reuse the name of an abandoned project. Canonical publish packages for software like Firefox that depend on snapd and just run snap install firefox instead of actually installing anything. Since they bumped that extra version number, their packages always have a higher precedence than even the officially packaged debs from Mozilla.

    [–] rtxn@lemmy.world 1 points 12 hours ago* (last edited 12 hours ago)

    Thanks, that's even more fucked up.

    What's even even more fucked up is that the package still installs an executable to /usr/bin/firefox, but it's just a wrapper script that launches the Snap application... and also replaces your desktop shortcuts, application launcher shortcuts, and favourites with its own Reforged Edition file if you're running GNOME, Unity, MATE, or KDE Plasma.

    Excerpt from /usr/bin/firefox Canonical Edition(TM)

    # [...]
    
    # GNOME Shell
    OLD="firefox.desktop"
    NEW="firefox_firefox.desktop"
    FAVS=$(gsettings get org.gnome.shell favorite-apps 2> /dev/null)
    if echo "$FAVS" | grep -q "'$OLD'"; then
      NEWFAVS=$(echo $FAVS | sed -e "s#'$OLD'#'$NEW'#")
      gsettings set org.gnome.shell favorite-apps "$NEWFAVS"
    fi
    
    # MATE
    OLD="/usr/share/applications/firefox.desktop"
    NEW="/var/lib/snapd/desktop/applications/firefox_firefox.desktop"
    OBJECTS=$(gsettings get org.mate.panel object-id-list 2> /dev/null)
    for object in $OBJECTS; do
      object=$(echo $object | cut -d\' -f2)
      launcher=$(gsettings get org.mate.panel.object:/org/mate/panel/objects/$object/ launcher-location)
      if [ "$launcher" = "'$OLD'" ]; then
        gsettings set org.mate.panel.object:/org/mate/panel/objects/$object/ launcher-location "'$NEW'"
      fi
    done
    
    # [...]
    
    # TODO: handle other desktop environments
    
    exec /snap/bin/firefox "$@"
    
    I'd classify that as malware.
    [–] Cevilia@lemmy.blahaj.zone 1 points 17 hours ago

    Holy shit, that's fucked up

    [–] rozodru@piefed.social 1 points 16 hours ago

    yup discovered this on my server yesterday. needed something on there so just did sudo apt install blahblahblah and then come to find the little ubuntu fucker installed a snap of it.

    I really should have gone with another distro for my server but meh i'm too lazy to fix it now.

    [–] BeardedGingerWonder@feddit.uk 2 points 23 hours ago

    I'm not sure the pushing snap over established flatpak thing holds up, snap was in the wild before flatpak was announced.

    [–] flemtone@lemmy.world 18 points 1 day ago

    Bloated container format that has many issues running software, somehow ignores system settings when it wants to and has a propriatary backend controlled by Canonical. Flatpaks are much better imo.