woahbase/alpine-libreoffice

Possible to launch alpine-libreoffice with MIME extension?

Opened this issue · 0 comments

Hi, great project, thanks for making it available.

Question: is it possible to associate the .odt MIME extension with this docker container, so that any time a .odt file is double-clicked this docker container will run and load the file (instead of running the LibreOffice Writer local install)?

I've created a shell script that invokes this container but I am not clear on how environment variables such as the .odt filename could be passed to the container? The goal is to sandbox Writer in the Docker container and to not use the local LibreOffice Writer install if that makes sense.