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

Offer a way to configure which chromium to use for feature that rely on it (diagram snapshot) #10170

Closed
3 tasks done
cderv opened this issue Jun 28, 2024 · 1 comment · Fixed by #11187
Closed
3 tasks done
Labels
chromium enhancement New feature or request epic An issue that contains other issues
Milestone

Comments

@cderv
Copy link
Collaborator

cderv commented Jun 28, 2024

This is a macro issue that should solve all the report

For reference, current state in some R package that also need to use chromium (as discussed in #4648 (comment))

  • pagedown::find_chrome() will look for chrome for each OS, on Linux checking for c('google-chrome', 'chromium-browser', 'chromium', 'google-chrome-stable') and using first found. Setting env var PAGEDOWN_CHROME allow to specific a specific one to use
  • chromote::find_chrome() will so similarly, looking for google-chrome, chromium-browser and chromium , or using CHROMOTE_CHROME if set.

Having a QUARTO_CHROMIUM environment variable to look for, and use this path if set seems a good solution.

@cderv cderv added enhancement New feature or request epic An issue that contains other issues labels Jun 28, 2024
@cderv cderv added this to the v1.6 milestone Jun 28, 2024
@cderv cderv changed the title Offer a way to configure which chromium to use for feature that rely on it (diagram snashot) Offer a way to configure which chromium to use for feature that rely on it (diagram snapshot) Jun 28, 2024
@ralmond
Copy link

ralmond commented Jun 28, 2024

This looks like a good solution. It would be useful to add a help file or a link to a web page which shows possible places to look for chromium installation, as I suspect that not all users experiencing this problem will know all of the places to look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chromium enhancement New feature or request epic An issue that contains other issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants