xdg-utils
utilities to assist desktop integration tasks
WWW CVSWeb GITHub-
Package versionxdg-utils-1.2.1
-
MaintainerAntoine Jacoutot
Xdg-utils is a set of command line tools that assist applications with a
variety of desktop integration tasks. About half of the tools focus on
tasks commonly required during the installation of a desktop application
and the other half focuses on integration with the desktop environment
while the application is running.
+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------
By default, xdg-open(1) opens URLs using a predefined order of known
browsers executables. To change this behavior and set up a default
WWW browser, the "BROWSER" variable needs be set to the corresponding
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
- textproc/xmlto
- devel/gmake