On Tue, Jan 29, 2019 at 10:16:46PM +0100, Hilmar Preuße wrote: > On 05.08.10 16:41, Julian Gilbey wrote: > > Hi Julian, > > This seems to be similar to #601237. Is the issue still present? > > Hilmar
Hi Hilmar, I'm not sure if it's present any more, because I can't find a single .pdf.gz file in /usr/share/doc/texlive* - all of the pdf files are unzipped, so there is no need for texdoc to unzip them. I tried zipping it and it still works, though I'm using xdg-open rather than gnome-open (as I'm running under XFCE now rather than Gnome). So I guess closing this bug report is probably OK? Best wishes, Julian > > Running texdoc pgf opens an evince window, but evince complains that > > there is No such file or directory. > > > > I have tracked down the problem: view.tlu runs the command (split over > > two lines; the Xb... is of course a unique directory name): > > > > (gnome-open "/tmp/texdoc.Xbpoq3/pgfmanual.pdf"; rm -f > > "/tmp/texdoc.Xbpoq3/pgfmanual.pdf"; rmdir /tmp/texdoc.Xbpoq3) & > > > > What happens is that gnome-open is called, but gnome-open disconnects > > from the running process very quickly, so that by the time evince > > fires up, the file and directory have already been deleted. > > > > I am unsure what the correct solution would be. I think that the > > simplest might be to have a "wait" command after the file opening > > command; the presence of the backgrounding process should alleviate > > problems this causes.

