alexandervdm / gummi

Simple LaTeX editor
https://gummi.app
MIT License
750 stars 95 forks source link

gummi ignores custom PATH #173

Open zastroyshchik opened 2 years ago

zastroyshchik commented 2 years ago

I search a lot, but I did not found any solution, just these suggestions that are far from being good.

  1. I have installed Tex Live in a bin folder inside $HOME.
  2. I have added inside .bashrc the Tex Live folder location.

When I launch Gummi from applications menu, Gummi complains that:

Compilation program is missing

But, if i launch it from a terminal, Gummi works as expected as it detects automatically the Tex Live folder.

Why such behavior? What can I do to make Gummi detect the Tex Live folder when launch from menu?

a-andre commented 1 year ago

If you are using systemd, create ~/.config/environment.d/envvars.conf and add PATH=/path/to/texlive/bin:$PATH. See https://www.man7.org/linux/man-pages/man5/environment.d.5.html for details.