openbsd-ports/x11/dbus/pkg/README-main

16 lines
732 B
Plaintext

$OpenBSD: README-main,v 1.2 2015/10/17 08:49:18 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------
To start a session bus instance of dbus-daemon (needed by applications
installing ${PREFIX}/share/dbus-1/services/*.service files), add the
following lines to .xinitrc or .xsession before starting the window manager
(see dbus-launch(1) for more info) -- note that some session/login managers,
e.g. gnome-session(1) already handle this automatically.
if [ -x ${PREFIX}/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi