When I try to open browser preview in Google Chrome, I encounter this error:
Unfortunately, I have installed Google Chrome via flatpak, and there is no working installation path that I can just provide to IntelliJ.
There are two options.
You can use whatever "open" command you have for URLs. In my case it's xdg-open
:
You need to start it via flatpak.
First, type flatpak
in "Path":
Then click on edit button and paste run --command=/app/bin/chrome com.google.Chrome
in
"Command line options":
This works as I expect it to, opening new tab in existing Chrome window.
My IntelliJ is not sandboxed, it's managed by JetBrains Toolbox which in turn was semi-manually installed with this script.
Naturally, I have flatpak
on PATH.