The devel/xdg-utils port

xdg-utils-1.1.3p1 – utilities to assist desktop integration tasks (source)

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

$OpenBSD: README,v 1.7 2018/09/04 12:46:11 espie Exp $

+-----------------------------------------------------------------------
| 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
File Descr
Path Name
Category Maintainer