Extend README: give an example of xdg-mime(1) usage.

This commit is contained in:
ajacoutot 2012-10-18 13:17:36 +00:00
parent c15bc236f5
commit 34d52f120c
2 changed files with 10 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.19 2012/08/04 15:09:35 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.20 2012/10/18 13:17:36 ajacoutot Exp $
# Does _not_ depend on desktop-file-utils, hicolor-icon-theme,
# gtk-update-icon-cache, shared-mime-info... on purpose as it should
@ -8,7 +8,7 @@ COMMENT= utilities to assist desktop integration tasks
DISTNAME= xdg-utils-1.1.0-rc1
PKGNAME= xdg-utils-1.1.0rc1
REVISION= 0
REVISION= 1
CATEGORIES= devel

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.5 2012/08/04 15:09:35 ajacoutot Exp $
$OpenBSD: README,v 1.6 2012/10/18 13:17:36 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -11,3 +11,10 @@ executable.
e.g. ~/.profile
export BROWSER="firefox"
Alternatively, for applications that follow the XDG specification,
xdg-mime(1) can query/set the default utility for particular mime type.
e.g.
$ xdg-mime default firefox.desktop text/html
$ xdg-mime query default text/html
firefox.desktop