andy-portmen / open-in

Send URLs from one browser to another one
http://add0n.com/open-in.html
171 stars 112 forks source link

Flatpak #74

Open schadfield opened 1 year ago

schadfield commented 1 year ago

Is there any way to use this extension with Firefox installed via flatpak? Using Flatseal you can give flatpak applications access to various resources in the host operating system.

duvjones commented 1 year ago

Ok, so I am toy with things on my end and still haven't found anything..... So I am Using Fedora 37, the provided package for Firefox while I have chromium installed through flatpak

I set my path to the binary to /var/lib/flatpak/app/org.chromium.Chromium/current/active/files/bin/chromium and keep getting the browser console pop up and give me this error message: Something went wrong!


Code: 127 Output: Error: mkdir: cannot create directory ‘/app’: Permission denied mkdir: cannot create directory ‘/app’: Permission denied mkdir: cannot create directory ‘/app’: Permission denied touch: cannot touch '/chromium-profiles-unlinked-stamp': Permission denied /var/lib/flatpak/app/org.chromium.Chromium/current/active/files/bin/chromium: line 35: exec: cobalt: not found

Is their anything that can be done? I feel like I am close to getting the extension to function but at a lost on how to do that.

hermann-san commented 3 months ago

The Linux Mint app store offers Brave Browser only for Flatpak and that doesn't seem to work automatically with Open in Brave Browser for Firefox. So one has to go to the Brave Browser Website and use installation instruction for Brave Browser with apt. That works fine, I've just installed and configured it.

It would be nice though, if Flatpak installations of Brave Browsers would also work automatically. The path, that Open in Brave finds for Flatpak doesn't work by default and I couldn't get it to work either