We are currently planning to migrate to a different platform for the forum. We will announce this fact both here and on Twitter, once we have settled on a solution.

open file from terminal / bash script

When I try to open a file in zettlr from the terminal or a bash script like this:

/home/david/Programs/Zettlr/Zettlr-1.8.6-x86_64.AppImage "$filepath"

the file does open in zettlr (already running) but only stays briefly, then closes. Is this a known bug, or is there a way to make this work?

Thank you

Comments

  • Just occurred to me to try this after running it in an open terminal - I'll try this tomorrow and report back what it says (if anything)

  • Ok, nevermind - its working now. Its possible it was related to my laptop I was using at home. On my work PC (both are linux) its working fine.

  • ctacta
    edited February 12

    I also would like to open a File in Zettlr from another Program (imdone) but in addition jump to a specific line described here
    https://imdone.io/docs/#/editors?id=configuring-your-editor
    I have tried several file commands like:

    open /Applications/Zettlr.app "${path}":${line}

    without any luck.
    Does anyone know if this is possible?

Sign In or Register to comment.