> gnome-terminal is trying to execute the command 'latexmk f.tex', not the command 'latexmk' with the argument f.tex. Try: gnome-terminal -x latexmk f.tex or gnome-terminal -e 'latexmk f.tex' Neal thanks, but it's not working. Im getting the same popup error message.