>>>>> "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes:
Jose'> On Friday 09 September 2005 03:03, Mike Meyer wrote: >> The default search list for a pdf previewer (in lib/configure.m4) >> goes gv ghostview xpdf, or some such - xpdf is definitely last. >> xpdf is a *much* nicer pdf previewer than ghostview. I'd like to >> suggest that it be moved in front of the two ghostview entries. Jose'> Better than that we should have some kind of profile Jose'> configuration, so that if I choose kde as my preferred desktop Jose'> environment I get kpdf, if I choose gnome I get evince and if I Jose'> choose plain X I get xpdf, wind users get ... If we want to be half clever, that is what we would be doing. It may be good enough for you, but personally, I'd rather be fully clever...[*] We are not supposed to guess for the user what its preferences are. On OS X and windows, things are easy in theory: the user can specify what program should be used for what extension. Then the commands "open" or "start" are just the ``perfect'' viewer. On linux, it would be nice the investigate whether freedesktop or whoever has specified a way to get this information, through mime types or whatever. For example, when the program www-browser exists, is it reasonable to assume that it is the user's preferred browser? If there a desktop-agnostic way to open a file? Frankly, deciding how to open a file should not be our problem. JMarc [*] of course, I am also trying to escape the addition of a lot of ugly code in lib/configure :)