external-application-button icon indicating copy to clipboard operation
external-application-button copied to clipboard

Snap Firefox and External Application Button

Open ThomasSeeker opened this issue 1 year ago • 2 comments

Hey there,

I just installed a fresh Kubuntu and here Firefox is a Snap-Version. ... I really don't want to miss my beloved External Application Button. ... Is there a way to get it to work with a Snap-Firefox?

Best greetings!

ThomasSeeker avatar Feb 17 '24 07:02 ThomasSeeker

I don't use Snaps, since they don't seem to solve most issues I have on Linux with software distribution or installation. This might not necessarily be of help to you, if you insist on using Snap, but I still like to share what I think could work for you.

Instead of Snap, use an AppImage of FireFox. https://github.com/srevinsaju/Firefox-Appimage/releases

I don't know why AppImages have ".AppImage" extension, I think it's a bad extension because its long and mixed case and totally awkward, but anyway, we can rename it to something sensible like *.api, which is more like *.exe or something.

If your AppImage is renamed to "firefox-nightly_v132.0_x64.api" e.g and was put inside a folder "firefox", create two more sub folders, right next to the app image file, so it looks like this:

firefox \                                   [DIR]
    firefox-nightly_v132.0_x64.api.home     [DIR]
    firefox-nightly_v132.0_x64.api.config   [DIR]
    firefox-nightly_v132.0_x64.api

If you run the firefox app image now, it will store user specific files and extension data into these near by home / config folders. Now install all things you need to run EAB to this "firefox" folder and also install the firefox EAB extension of course. The "firefox" folder will now contain your fully working and customized firefox. You can copy it to any place and even run it from network share, USB drive etc. if you make use of ENV variables in your EAB config, which you can set in a launching shell script e.g..

I have most of my Linux applications setup like this, I can duplicate them, move them around and I don't need to rely on the internal linux package management, which is not capable of handling different versions of a package or application, which is a big pain in the rear on Linux. These AppImages help a lot to get along more easy.. o)

Have a nice day! o)

tbone2k-git avatar Sep 25 '24 10:09 tbone2k-git

Thank you, tbone2k-git! ... Sounds promising. Will try it out. :-)

ThomasSeeker avatar Sep 25 '24 12:09 ThomasSeeker