Reputation: 23
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.
Upvotes: 2
Views: 3444
Reputation: 25
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
Upvotes: 0
Reputation: 288
CHROME_EXECUTABLE="/usr/bin/chromium-browser"; export CHROME_EXECUTABLE
Upvotes: 1
Reputation: 148
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
Upvotes: 5