Skip to content
This repository was archived by the owner on Dec 28, 2022. It is now read-only.
This repository was archived by the owner on Dec 28, 2022. It is now read-only.

open_with_linux.py cannot treat Firefox Snap-install since Kubuntu 22.04 #334

@hklene

Description

@hklene

Hi,

Ubuntu changed Firefox to Snap-Packaging since 22.04
https://wiki.ubuntu.com/JammyJellyfish/ReleaseNotes/Kubuntu

Therefor, the executable and the profile now reside in: ~/snap/firefox/common/.mozilla/ instead of ~/.mozilla

running "open_with_linux.py install" in Version 7.2.6 will create:
~/.mozilla/native-messaging-hosts/open_with.json
I had to manually copy it over to:
~/snap/firefox/common/.mozilla/native-messaging-hosts/open_with.json
to make it work.

The old ~/.mozilla/ folder is still around - maybe, they didn't dare to delete it. There's even a full copy of my profile untouched ... almost 1 GB of HDD wasted ... erm I mean of Backup. So to detect a snap install you could run:

$ which firefox
/snap/bin/firefox

Moreover: The download of open_with_linux.py from the addon-option-page was refusing to save in ~/bin ... I had to write the python script to ~/Downloads first and move it to ~/bin ... it seems, the snap-sandbox is interfering with writing to ~/bin directly for safety reasons ???
https://askubuntu.com/questions/1033344/how-to-give-snaps-access-to-somedir

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions