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

dvilualatex: command not found when running with VSCodium in Flatpak sandbox #3

Open
creeloper27 opened this issue Apr 15, 2024 · 2 comments

Comments

@creeloper27
Copy link

When running VSCodium in Flatpak it seems it is not able to run the dvilualatex executable it requires, on the host system such executable runs fine, but inside the Flatpak sanbox it can't be found, this is the error I get when trying to use preview:

dvilualatex --halt-on-error --interaction=nonstopmode --synctex=-1 /home/user/desktop/temp/temp.tex
Error: Command failed: dvilualatex --halt-on-error --interaction=nonstopmode --synctex=-1 /home/user/desktop/temp/temp.tex
/bin/sh: line 1: dvilualatex: command not found

Could not generate dvi file - review the log for errors.

Reading a reddit post regarding the more general problem that is causing this it seems this does not get fixed even when using --filesystem=host unfortunately, the only "proper" way to run /usr/bin executables seems to be with flatpak-spawn (example: flatpak-spawn --host dvilualatex) after adding in the user settings.json

"terminal.integrated.env.linux": {
      "PATH": "${env:PATH}"
  },

to be able to call flatpak-spawn.

Could this maybe get implemented or a solution/workaround suggested so that this extension can be used also while inside a Flatpak sandbox?

Thanks in advance!

@frknltrk
Copy link

@creeloper27
Copy link
Author

flathub/com.visualstudio.code#44

Can you elaborate on this comment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants