Home

The devel/xdg-utils port

xdg-utils-1.2.1 – utilities to assist desktop integration tasks (cvsweb github mirror)

Description

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.
WWW: https://wiki.freedesktop.org/www/Software/xdg-utils/

Readme

+-----------------------------------------------------------------------
| 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

Maintainer

Antoine Jacoutot

Categories

devel

Build dependencies

Reverse dependencies

Files

Search