Has any thought been given or work done on making the various desktop
application handlers for unknown file types use IPS to find possible
handlers?
For instance, if you had a custom/minimal install with no PDF viewer
installed and double-clicked a PDF file in Nautilus or clicked a PDF
link in Firefox, it could start a helper gui that said:
No viewer for application/pdf is installed, but these viewers
were found in the package repositories you have configured,
would you like to install one to open this file?
pkg.opensolaris.org/release evince
pkg.opensolaris.org/contrib xpdf
pkg.sun.com/extras acroread
Metadata would need to be stored in the packages to support this - something
like:
/usr/bin/evince capability.view.mime-type=application/pdf \
capability.view.mime-type=application/postscript \
capability.view.extension=.pdf \
capability.view.extension=.ps
I could see having capabilities for view for viewers like evince,
encode/decode for applications like gzip or other archive/compression
formats, and convert for things like imagemagick, and edit to open in gimp
or openoffice or whatever can edit a specific format. It would also
seem useful to have metadata for the software type - standalone X application,
standalone tty application, or plugin for a specific program, so that
Firefox could give preference to a Firefox plugin for a format, but
nautilus would only offer a standalone application viewer.
--
-Alan Coopersmith- [email protected]
Sun Microsystems, Inc. - X Window System Engineering
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss