2

how to execute flutter app in Chromium in Flat-pack Linux? i tried #CHROME_EXECUTABLE=/snap/bin/chromium; export CHROME_EXECUTABLE but it didn't work.

3 Answers 3

5

you are using snaps now , to use Flat-pack Chromium edit the .bashrc file by adding :

CHROME_EXECUTABLE="/var/lib/flatpak/app/org.chromium.Chromium/current/active/export/bin/org.chromium.Chromium"; export CHROME_EXECUTABLE
Sign up to request clarification or add additional context in comments.

3 Comments

thanks it worked, you need just to restart your terminal or vscode
The path was ~/.local/share/flatpak/app/org.chromium.Chromium/current/active/export/bin/org.chromium.Chromium for me.
Thanks for the hint. On Manjaro using pamac it's only export CHROME_EXECUTABLE="/bin/chromium".
1

CHROME_EXECUTABLE="/usr/bin/chromium-browser"; export CHROME_EXECUTABLE

Comments

0

edit file ~/.bashrc

nano ~/.bashrc

at the end add this line at the end

CHROME_EXECUTABLE="/bin/chromium-browser"; export CHROME_EXECUTABLE

restart vscode and you are ready

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.