diff --git a/Makefile b/Makefile index 77dea78..60728bf 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,7 @@ dist: $(PACKAGE)-$(VERSION)/doc/delete.xml \ $(PACKAGE)-$(VERSION)/doc/desktop.xml \ $(PACKAGE)-$(VERSION)/doc/desktopctl.xml \ + $(PACKAGE)-$(VERSION)/doc/mime.conf \ $(PACKAGE)-$(VERSION)/doc/move.xml \ $(PACKAGE)-$(VERSION)/doc/open.xml \ $(PACKAGE)-$(VERSION)/doc/properties.xml \ diff --git a/doc/mime.conf b/doc/mime.conf new file mode 100644 index 0000000..dab0d23 --- /dev/null +++ b/doc/mime.conf @@ -0,0 +1,30 @@ +#$Id$ + + +[application/pdf] +open=pdfviewer + +[application/x-shellscript] +open=view +edit=editor + +[application/xml] +open=xmleditor +edit=editor + +[image/svg+xml] +open=view + +[image/*] +open=view + +[text/html] +open=surfer +edit=editor + +[text/*] +open=view +edit=editor + +[video/*] +open=player diff --git a/doc/project.conf b/doc/project.conf index cf59d52..5a0cd53 100644 --- a/doc/project.conf +++ b/doc/project.conf @@ -1,5 +1,5 @@ targets=browser.1,browser.html,copy.1,copy.html,delete.1,delete.html,desktop.1,desktop.html,desktopctl.1,desktopctl.html,move.1,move.html,open.1,open.html,properties.1,properties.html,view.1,view.html -dist=Makefile,docbook.sh,browser.xml,copy.xml,delete.xml,desktop.xml,desktopctl.xml,move.xml,open.xml,properties.xml,view.xml +dist=Makefile,docbook.sh,browser.xml,copy.xml,delete.xml,desktop.xml,desktopctl.xml,mime.conf,move.xml,open.xml,properties.xml,view.xml [browser.1] type=script