Extend README: give an example of xdg-mime(1) usage.
This commit is contained in:
parent
c15bc236f5
commit
34d52f120c
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user