-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compatible with "snap" firefox? #81
Comments
I don't have a system to test this, but if you or someone finds out the right path to use, I'd be happy to accept a patch with possible tweaks to the Makefile and appropriate docs. |
Not, it is not, as Native Messaging does not work due the Snap sandbox (Firefox is not allowed to start any executable outside of its sandbox), so it cannot access the editor executable on your system. It would work, if you would install the editor and Textern into the Snap image, which is not possible in practice. There is an issue in Bugzilla tracking the missing support: 1661935 - Snap does not support NativeMessaging |
Update: With the recent update of the Firefox snap, it should work now 🎉 . To make it work:
Run |
Thanks! I got it to work with 107.0-2/2088 using @FelixJacobi 's instructions. I use Is it expected that empty directories accumulate in |
Thanks, missed that. I've updated my comment to include these. |
Instead of creating the symlinks, does it work if you do
? |
Yeah, could work also. I created the symlink, as there are some other applications utilizing native messaging and assuming that |
Ack makes sense. Would appreciate a patch to add instructions for Firefox snaps if anyone is interested (maybe at the same level as https://github.com/jlebon/textern#firejail). Extra points to also cover snaps of editors if it requires any special knowledge (maybe at the same level as https://github.com/jlebon/textern#flatpak). :) |
I have the same problem, probably (or maybe something else, I am not sure). What I did:
Installed and configured my editor ( After that, I tried to call it with I tried to set I also checked the process |
When updating from Ubuntu 20.04 to 22.04, firefox changes from traditional package to a "snap" package.
textern's
make native-install USER=1
option assumes that installation should be to~/.local
and~/.mozilla/...
. However, with "snap", the paths are different (and I guess much more).I see many reports of other software breaking that needs to interact with "snap" or "flatpak" programs.
Is it expected that textern works with "snap" firefox? If so, what is the installation procedure?
The text was updated successfully, but these errors were encountered: