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 -fgives me the same output (on 11.10, with TL 2009 from the repositories). However,texdocworks fine for me. I have atexdoc.cnflocated 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.cnfat~/texmf/texdoc/. – jon Jul 04 '12 at 04:37gnome-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-openwork for you (assuming it is still used in 12.04)? – jon Jul 04 '12 at 04:41gnome-openwithsudo apt-get install libgnome2-0. – Paul Gaborit Jul 04 '12 at 06:29texdoc -l captionwill 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 --versioncould also have been useful (happily I have a TL2009 installation at hand so I suspect it's 0.47). – mpg Jul 04 '12 at 07:41texdoc). – jon Jul 04 '12 at 16:20