decker-edu / decker

A markdown based tool for slide deck creation.
GNU General Public License v3.0
53 stars 13 forks source link

chrome command name is hardcoded #74

Closed kno10 closed 3 months ago

kno10 commented 8 months ago

The official Google chrome package on Debian (and likely also on Ubuntu) uses /usr/bin/google-chrome-stable (and the alternatives mechanism to manage /usr/bin/google-chrome). Also, it would be nice to alternatively allow chromium.

I'd suggest to try to locate the following executables in order: chrome, google-chrome, chromium and maybe add an option to make this configurable by the user?

salbeira commented 8 months ago

This could and should be handled by #72

Right now I think chrome is the only program where our system considers different handling of commands. Though the reason we use chrome as an external tool at all: printing pdfs is non-functional in Windows anyway. (Calling chrome in headless mode and printing to a file according to their own guidelines simply produces ... nothing ... no file is generated.)

monofon commented 3 months ago

Closed in favour of #72.