Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux: update-alternatives is only usable by non-Debian distros #104

Closed
ianks opened this issue Oct 21, 2016 · 3 comments
Closed

Linux: update-alternatives is only usable by non-Debian distros #104

ianks opened this issue Oct 21, 2016 · 3 comments

Comments

@ianks
Copy link

ianks commented Oct 21, 2016

Currently, update-alternatives is used as a mechanism to detect browsers. This method only really works on Debian based distros. We should explore "alternative" mechanisms for browser detection. karma-chrome-launcher's mechanism has worked fairly well, so we should potentially do something similar.

@inikulin
Copy link
Contributor

@ianks Thank you for the information! \cc @AndreyBelym Can you take a look, please?

@AndreyBelym
Copy link
Contributor

karma uses which command to detect browser binaries on linux, It's very simple and should work well, if binary is in path (what is very likely). Another way is to search in MIME database for x-scheme-handler/http handlers, but it's harder a lot. I think we can implement the first option easily.

@ianks
Copy link
Author

ianks commented Oct 21, 2016

karma uses which command to detect browser binaries on linux, It's very simple and should work well

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants