Live data from Hacker News

Disabling Snaps in Ubuntu 20.04

kevin-custer.com

271–280 of 436 posts

Re: Disabling Snaps in Ubuntu 20.04

#271
post #245

Earlier quoted context omitted.

I suggest trying Kubuntu. I've been running 3 4K monitors for years, all works fine, including HiDPI support.

If my primary monitor is to the right of my secondary monitor, do applications open on the primary monitor or the 'left' monitor? Also, do applications remember which monitor they were last opened on?

Not the parent, but I've also been using KDE in a multi-monitor setup for years (I have a 1440p primary monitor, and two vertical 1080p monitors to the sides). In my experience, applications open on the primary monitor, or on the monitor that is "active" (i.e. if you run Alt+F2 to bring up a run prompt on your secondary monitor and launch an application from there, the application opens on the secondary monitor where you launched it.).

Yes, applications remember which monitor and even location on the monitor they were last at.

Re: Disabling Snaps in Ubuntu 20.04

#272

Earlier quoted context omitted.

> That’s a bit rich: are they not the #1 consumer distro, which hardly implies they are failing to execute All the hard work to make it a viable OS is done by Debian. Canonical just adds some polish and then wrecks it all with poor design decisions over and over again.

> All the hard work to make it a viable OS is done by Debian You could equally say that all the hard work to make a viable OS is done by Linux, so screw Debian? Last I hurd, the GNU developed OS is unviable (no 64 bit, no SMP). Or equally say that all the hard work to make the majority of end-user programs (you know, the raison d’être for an OS) is done by other open source projects, not Debian, so screw Debian... Th…

> You could equally say that all the hard work to make a viable OS is done by Linux, so screw Debian?

No, you couldn't say that. Without toolchains, userlands, and packaging, a kernel is pretty worthless. The barest bones you can go is still gcc, linux, uclibc, and busybox. There is more code that goes into a computer running linux, then there is in the linux kernel. By a wide margin.

Re: Disabling Snaps in Ubuntu 20.04

#273

Kudos to the OP, I'm glad this got posted on hacker news because Snap is so ridiculously broken. Since 16.04, Snaps have been a huge pain for me with running LXC in production environments. By default, Snap applies updates and restarts Systemd services anytime it likes, and there's no way to turn this behavior off! The only way to get around it is to download the Snap package binary and install that directly. Then Sn…

You had to install snap on a production server? I don't know how must be installed on your version, but on 19.10, snap can be completely removed: the only draw back is that pulseaudio depends on it, but I guess that for a server it's not that much of a problem.

Is Pulseaudio no longer viable using APT alone? One of the first things I do is excise Snap from the system entirely and install Flatpak. I had been planning to upgrade my daily driver to 20.04 in the very near future (I prefer LTS versions) but audio problems would be a complete deal breaker.

Re: Disabling Snaps in Ubuntu 20.04

#274
post #85

Earlier quoted context omitted.

The Snap team has some experience with this, seeing as how 20.04 has released and you still can't move the fricking ~/snap folder . Creating some generically named top-level folder in the users home directory is a straightforward fuck you to all users. Since 2017: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1575053

Dang, that really sucks. I was planning on updating my desktop to 20.04 but after reading about Canonical pushing snaps and now this thread basically claiming that moving or renaming the directory is impossible because what is in my opinion a design flaw in the entire system design, I think I'll switch to Manjaro or Arch for my desktop instead. I am on the rolling releases already but I'm not going to install an LTS…

pop os would be good alternative too. since pop os will be on flatpak n apt.

Re: Disabling Snaps in Ubuntu 20.04

#275
post #119
post #91

Earlier quoted context omitted.

Unrelated to Snap, but on Windows, trying to use the My Documents folder for your actual documents is frustrating, because a huge number of apps and games like to use the folder for all sorts of nonsense, instead of using %appdata% like they're supposed to.

This behavior is such normal for all the apps (especially games) that at one point I thought it was a specification.

I feel like in 2000 or before, My Documents was the "home" folder and you were supposed to put your own subdirectories inside of that. Might be wrong about that though.

Re: Disabling Snaps in Ubuntu 20.04

#277

Canonical always has tried to differentiate themselves, and they just can't execute. Remember Unity, Mir, Juju, upstart and all the other failed shit they've come out with? Snap is just more of the same. I don't want to run that garbage on my desktop. I don't need more daemons and forced auto-updates and all the baggage. I strongly recommend anyone similarly frustrated to check out debian, which is a fantastic distro…

> I strongly recommend anyone similarly frustrated to check out debian, which is a fantastic distro. It is true that the Debian people are doing a great job. > [...] if you're using Ubuntu and disabling snap, you're fighting against the current and I have to imagine it's going to be increasingly difficult with subsequent releases. Actually, snap was harder to remove in the previous release: you had to rebuild certain…

Now, this is embarassing, here the list of reverse dependencies on snapd:

  python3-ubuntu-image
  xubuntu-desktop
  xubuntu-core
  vanilla-gnome-desktop
  ubuntustudio-desktop-core
  ubuntustudio-desktop
  ubuntukylin-desktop
  ubuntu-unity-desktop
  ubuntu-snappy-cli
  ubuntu-snappy
  ubuntu-mate-desktop
  ubuntu-mate-core
  ubuntu-core-launcher
  ubuntu-budgie-desktop
  snapd-xdg-open
  snapcraft
  snap-confine
  qml-module-snapd
  plasma-discover-backend-snap
  lxd
  lubuntu-desktop
  libsnapd-qt1
  kubuntu-desktop
  ember
  cyphesis-cpp
  chromium-browser
  ubuntu-server
  ubuntu-desktop-minimal
  ubuntu-desktop
  ubuntu-core-snapd-units
  livecd-rootfs
  maas
  apparmor
  libsnapd-glib1
  gnome-software-plugin-snap
  command-not-found
Any of these packages is going to pull snapd in if installed. Soon after writing the above comment, I decided to install chromium, and ... snapd got installed as well as a result. I guess I should double check each claim I am about to make, BEFORE making it.

sigh...

Edit: Please note that many of these are "leaf" packages, by which I mean that no other packages depend on them.

Re: Disabling Snaps in Ubuntu 20.04

#278
post #152

Earlier quoted context omitted.

> I strongly recommend anyone similarly frustrated to check out debian, which is a fantastic distro. It is true that the Debian people are doing a great job. > [...] if you're using Ubuntu and disabling snap, you're fighting against the current and I have to imagine it's going to be increasingly difficult with subsequent releases. Actually, snap was harder to remove in the previous release: you had to rebuild certain…

Give them credits to fix what they have broken?

Well, tbh, that sounds a bit far fetched. I meant that we should cut them some slack (English is not my first language).

That being said, it's not as bright as I thought it was - see my other comment.

Re: Disabling Snaps in Ubuntu 20.04

#279

Kudos to the OP, I'm glad this got posted on hacker news because Snap is so ridiculously broken. Since 16.04, Snaps have been a huge pain for me with running LXC in production environments. By default, Snap applies updates and restarts Systemd services anytime it likes, and there's no way to turn this behavior off! The only way to get around it is to download the Snap package binary and install that directly. Then Sn…

I get the idea behind snaps is that someone recognized that configuration management was a problem but didn't yet appreciate just how deep that problem goes.

It is a seriously difficult thing to get right. I always applaud people to take on difficult problems and try to solve them, but I would not expect it to have any sort of robustness for another 5 years at least.

Re: Disabling Snaps in Ubuntu 20.04

#280
post #120

I've been using Ubuntu 20.04 for several weeks, almost since beta came out. The snap thing is a pain in the ass. I understand the need for something like snap or flatpak. I had software too new or too old that wouldn't work because some dependencies were not updated or were too new. Snaps can solve that by allowing the developers to provide everything you need (or everything you need that is not on your system). But…

multiple monitor support in Linux is high on my list of reasons I keep switching back to my Windows partition.

Is multi monitor support in Linux broken? I've been going strong for ages with proprietary nvidia drivers and i3/dwm.
Post reply on HN