-
Notifications
You must be signed in to change notification settings - Fork 330
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
Quarto does not find chromium on Arch Linux, even though it is installed #4648
Comments
Unfortunately, we can't guess the name of chromium in every possible OS. Note that We could attempt to resolve
If we were to resolve this properly, I think it should be with distribution-specific configurations that target |
Thanks for having a look. I understand that it is difficult to account for differences in all the distributions. I hesitate to use It could also be helpful to add a remark in this section of the Quarto documentation that Quarto expects |
That seems like a good idea, except that we're not the ones building quarto packages for Arch. |
Sure, I know. I will see if I can suggest a change in the packaging instruction to the respective maintainer. Feel free to close this issue, as there does not seem to be a lot that can be done about it on the Quarto side (other than better explaining the problem and how to solve it). |
Thanks! I'll keep it open to track this general kind of issue in the future. |
@cscheid just to share experience of our other R tools that are working with chrome
I think this cover all usage encountered with those tools. do you think we could offer a configuration through an environment variable so that user can configure the chrome binary to use with Quarto ? But if we can do same detection logic that would be great - we do some detection for R already to find where it is on Windows for example. Anyway, sharing for reference and inspiration for when we can tackle this. |
For future reference, related issue where chromium is not found but an env var could help configure what to use #2980 |
I have opened an macro issue to track a proper solution |
@cscheid , I have Vivaldi installed on OpenSuse, but quarto cannot find it either, and linking Vivaldi to chromium-browser does not help either. |
@arinbasu Could you give the default path where it is located? As is your comment is not really useful unfortunately. |
Bug description
I am trying to render a Quarto document that includes a Mermaid diagram. I get this error message:
However, I have Chromium installed through the Archlinux package manager pacman.
chromium --version
gives meChromium 110.0.5481.177 Arch Linux
, and I can also open the browser.I suppose the problem is that the command is called
chromium
on my system, whereas Quarto expects it to be namedchromium-browser
.I am running Quarto version 1.2.313.
Checklist
The text was updated successfully, but these errors were encountered: