News for hackers. Stuff that matters.
Re:Canonical shows ads in the Ubuntu CLI by velox_neb on Wednesday October 12, 2022 @05:04AM (#33174549)
The snap situation seems like a travesty. For example, the Firefox that's installed by default on Ubuntu 22.04 LTS can't save pages or images. I had to google for how to install the non-snap version, and that fixed it.
Re:Canonical shows ads in the Ubuntu CLI by tryauuum on Wednesday October 12, 2022 @05:55AM (#33174808)
if anyone's curious, the command to get rid of snap is

  apt-get purge snapd --yes
Re:Canonical shows ads in the Ubuntu CLI by pizza234 on Wednesday October 12, 2022 @07:46AM (#33175564)
That's problematic unfortunately, because one may need a program that is distributed via snaps.

Interestingly, snap has a service that self-heals, so that if one tried to hack it, it will overwrite the changes. That's... quite malwarish, I'd say, and very unusual in the Unix world.

Regarding hacking it: it's necessary because once snapd is installed, the ubuntu upgrader will sync on every update, so snap is not a service that can be just disabled.

Re:Canonical shows ads in the Ubuntu CLI by krastanov on Wednesday October 12, 2022 @09:45AM (#33176873)
You can just turn off the service and uninstall snapd. It is annoying to have to do it, but it is pretty straightforward. But yes, you will need to then add PPAs for thing that were only in snap, or use appimage or flathub.
Re:Canonical shows ads in the Ubuntu CLI by _-david-_ on Wednesday October 12, 2022 @02:49PM (#33181310)
My understanding is you can prevent the install using apt preference.

https://linux.die.net/man/5/apt_preferences

Re:Canonical shows ads in the Ubuntu CLI by ikt on Wednesday October 12, 2022 @06:09AM (#33174886)
Yes it can, I've saved tons of pictures... why do you think it can't?
Re:Canonical shows ads in the Ubuntu CLI by jeroenhd on Wednesday October 12, 2022 @09:09AM (#33176384)
By default, Firefox doesn't have the permissions necessary sometimes. I had that issue. Not hard to work around, but quite annoying to have to look up.

Personally, I've switched to a plain old .tar.gz extracted in a folder to fix Canonical's snap obsession because Snap'd Firefox doesn't play nice with some debuggers I was using. Same with Chromium; quite a pain.

Re:Canonical shows ads in the Ubuntu CLI by velox_neb on Wednesday October 12, 2022 @10:31AM (#33177524)
Clicking "Save Image As..." did nothing, no file dialog appeared.

Had similar problems before, so I guessed it was some snap bullshit. This page seemed to confirm it https://support.mozilla.org/en-US/questions/1290489

Followed the instructions here https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-d... , and then it worked as normal.

Re:Canonical shows ads in the Ubuntu CLI by xamolxix on Wednesday October 12, 2022 @06:56AM (#33175177)
> I had to google for how to install the non-snap version

Out of curiosity, how did you do it? I ended up downloading the firefox tar from their website and setting that the default browser. Could not find any trustworthy deb packages.

Re:Canonical shows ads in the Ubuntu CLI by 3np on Wednesday October 12, 2022 @09:15AM (#33176467)
Not GP but the officially published flatpak is one option

https://support.mozilla.org/en-US/kb/install-firefox-linux#w...

Re:Canonical shows ads in the Ubuntu CLI by tbran on Wednesday October 12, 2022 @10:25AM (#33177442)
I highly recommend installing the .deb:

https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-d...

This method will:

- Install from the Mozilla PPA.

- Automatically update Firefox.

- Let you install third party integrations (I needed keepassxc).

Side bonus: I'm also not getting the annoying "You need to update Firefox popups" that are super cryptic and don't explain that you apparently need to close Firefox then, I don't know, wait a few minutes, I guess, for stuff to update in the background.

Re:Canonical shows ads in the Ubuntu CLI by velox_neb on Wednesday October 12, 2022 @10:27AM (#33177477)
Re:Canonical shows ads in the Ubuntu CLI by 2Gkashmiri on Wednesday October 12, 2022 @08:03AM (#33175708)
Re:Canonical shows ads in the Ubuntu CLI by trollied on Wednesday October 12, 2022 @10:23AM (#33177391)
I installed jetbrains clion via snap, not realising the implications. I spent a long long time trying to work out why it couldn’t find dev libraries installed via apt. It wasn’t until I attacked the process with truss/strace that I realised the package manager had installed a snap version, and it was horrifically sandboxed.

I nuked Ubuntu and installed Arch.

Re:Canonical shows ads in the Ubuntu CLI by CoolCold on Thursday October 13, 2022 @07:42AM (#33189677)
Very good demonstration [for me] of current state Linux-Is-Ready-For-Desktop thing - even those with technical background, who _have_ idea on dev libraries (which I think really are headers with somelib-dev packages), strace/truss (is not truss a BSD thing?), not plain mere mortal person have issues on realizing how it works under the hood and how to make it work in desirable way.

Microsoft and Windows are totally safe for now+15 years.

Re:Canonical shows ads in the Ubuntu CLI by PontifexMinimus on Thursday October 13, 2022 @02:30AM (#33187925)
> the Firefox that's installed by default on Ubuntu 22.04 LTS can't save pages or images

Saving files and images both work for me.