question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LIGHTHOUSE_CHROMIUM_PATH can be identified automatically on Linux

See original GitHub issue

Having Chrome/Chromium installed on Linux typically means that there are *.desktop files corresponding to installed application. Global files are likely located as /usr/share/applications/*.desktop and local to user as ~/.local/share/applications/*.desktop.

So in most cases it is possible to scan files at those directories and try to find something with /chrome in Exec key. This wouldn’t work in case when Chromium was extracted into some directory and no desktop file was created, but otherwise it might improve convenience of using lighthouse by not requiring to specify LIGHTHOUSE_CHROMIUM_PATH explicitly (which is boring).

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
wardpeetcommented, Nov 28, 2016

@jeanleonino thanks we have a pr open that fixes this issue without setting the chromium path. (#856)

1reaction
wardpeetcommented, Oct 26, 2016

will have a look on a vm with a few distros

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lighthouse overview - Chrome Developers
Lighthouse is an open-source, automated tool for improving the quality of web pages. You can run it against any web page, ...
Read more >
Running Lighthouse Reports on the Command Line - Medium
This blog post shows you how to run Google Lighthouse on the command line and how to customize the reports. After reading this...
Read more >
lighthouse - npm
Lighthouse analyzes web apps and web pages, collecting modern performance metrics and insights on developer best practices. Using Lighthouse.
Read more >
Performance monitoring with Lighthouse CI - web.dev
For example, the autorun command executes multiple Lighthouse runs, identifies the median Lighthouse report, and uploads the report for storage.
Read more >
Lighthouse - GitHub Pages
Lighthouse Linux Build Status Windows Build Status Coverage Status NPM ... By default, any detected Chrome Canary or Chrome (stable) will be launched....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found