I have a full texlive ubuntu (2009) installation and typing something like
texdoc caption
returns the following error message: sh: 1: gnome-open: not found
if I type texdoc -f, I get the message:
absent /home/user/texmf/texdoc/texdoc-bin.cnf
(*) absent /home/user/texmf/texdoc/texdoc.cnf
absent /home/user/texmf/texdoc/texdoc-dist.cnf
absent /usr/local/share/texmf/texdoc/texdoc-bin.cnf
absent /usr/local/share/texmf/texdoc/texdoc.cnf
absent /usr/share/texmf/texdoc/texdoc.cnf
(*) This is the recommended configuration file for your personal preferences
Is there any way to avoid this error and make texdoc work?
texdoc -f
gives me the same output (on 11.10, with TL 2009 from the repositories). However,texdoc
works fine for me. I have atexdoc.cnf
located at/usr/share/texmf-texlive/texdoc/texdoc.cnf
, which is a symbolic link to/etc/texmf/texdoc/texdoc.cnf
. You should probably take a look at this file if you want to set up a localtexdoc.cnf
at~/texmf/texdoc/
.gnome-open
. Try using the command on another file or URL: it should work for many different files (.pdf, .txt, , etc.) as well as URLs (and email, even). Failing that, doesxdg-open
work for you (assuming it is still used in 12.04)?gnome-open
withsudo apt-get install libgnome2-0
.texdoc -l caption
will probably give you a useful list of results). It just fails to open your document in a viewer. As a general rule, "does not work" is rarely the most useful description you can give in a title. By the way, the output oftexdoc --version
could also have been useful (happily I have a TL2009 installation at hand so I suspect it's 0.47).