I have found numerous guides on how to do this (heres a couple):
but I have a different directory structure and none of the places present in the answers are present on my system.
locate I have found these locations of existing 'texmf.conf' files:
ben@ben-OptiPlex-9010:~$ locate texmf.cnf /etc/texmf/web2c/texmf.cnf /usr/share/doc/texlive-doc/latex/pgfplots/texmf.cnf /usr/share/doc/texlive-pictures-doc/latex/pgfplots/texmf.cnf /usr/share/texlive/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf
All of the
texmf.conf files (I ignore the ones embedded in
/usr/share/doccontain lines that say something along the lines of
do not edit this file directly). The options provided are:
/usr/share/texmf/web2c/texmf.cnf & /usr/share/texlive/texmf/web2c/texmf.cnf: Go and modify the
../../which clearly does not exist. So create it? And in which location,
PLEASE DO NOT EDIT THIS FILE DIRECTLY. It is meant to be generated from files in /etc/texmf/texmf.d/which only contains
80tex4ht.cnff. Do I add a new one? Is the name important?
Go with what is suggested in some answers and just change the
TEXMFHOMEvariable as I do with any other variable in Ubuntu (
~/.pam_environmentfile these days)?