glacambre / firenvim

Embed Neovim in Chrome, Firefox & others.
GNU General Public License v3.0
4.57k stars 144 forks source link

Add explanation on how to use it with snap / flatpak #1591

Closed tyalie closed 4 months ago

tyalie commented 4 months ago

Just wanna shime in and state that the position "firenvim doesn't work with flatpak or snap" was true in the past, but due to effort by great people does not hold true anymore.

The problem you describe is basically the same as keepassxc-browser had in the past. As I use it actively with snap on Ubuntu 22.04, I was sure that I could achive the same with firenvim, by just following their troubleshooting guide.

How to get firenvim running with snap/flatpak

  1. install firenvim as described in the documentation
  2. give the firenvim browser extension permission to use the native messaging host using
    • flatpak permission-set webextensions firenvim snap.firefox yes
  3. restart firefox
  4. enjoy
glacambre commented 4 months ago

Thanks a lot for sharing your solution! :)