zserge / lorca

Build cross-platform modern desktop apps in Go + HTML5
MIT License
8.04k stars 535 forks source link

Cannot find chromium installed through Ubuntu Software store #61

Closed tylersammann closed 5 years ago

tylersammann commented 5 years ago

Ubuntu Software store in 18.04 installs chromium binaries in a non-standard /snap directory.

Lorca only looks here on linux:

paths = []string{
    "/usr/bin/google-chrome-stable",
    "/usr/bin/google-chrome",
    "/usr/bin/chromium",
    "/usr/bin/chromium-browser",
}

If chromium is installed this way, you get this runtime error:

2019/05/15 23:28:33 fork/exec : no such file or directory
exit status 1

The /snap path would be a helpful addition for Ubuntu Software Center chromium downloads.

I worked around this problem by installing google-chrome-stable https://linuxize.com/post/how-to-install-google-chrome-web-browser-on-ubuntu-18-04/