This diff adds a README file for mate-session-manager package to
explain how to start mate, and also that messagebus service should be
running if you want battery widget to work (the usual dbus thing from
.xsession doesn't please Mate)

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/x11/mate/session-manager/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile    3 Oct 2019 14:37:13 -0000       1.18
+++ Makefile    8 Jan 2020 15:25:42 -0000
@@ -4,6 +4,7 @@ COMMENT=                MATE session manager
 
 MATE_PROJECT=          mate-session-manager
 MATE_VERSION=          1.22.2
+REVISION=0
 
 CATEGORIES=            x11
 
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/x11/mate/session-manager/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -r1.8 PLIST
--- pkg/PLIST   3 Oct 2019 14:37:13 -0000       1.8
+++ pkg/PLIST   8 Jan 2020 15:30:33 -0000
@@ -13,6 +13,7 @@ share/applications/mate-session-properti
 share/doc/mate-session-manager/
 share/doc/mate-session-manager/dbus/
 share/doc/mate-session-manager/dbus/mate-session.html
+share/doc/pkg-readmes/${PKGSTEM}
 share/glib-2.0/schemas/org.mate.session.gschema.xml
 share/icons/hicolor/16x16/apps/mate-session-properties.png
 share/icons/hicolor/22x22/apps/mate-session-properties.png
Index: pkg/README
===================================================================
RCS file: pkg/README
diff -N pkg/README
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ pkg/README  8 Jan 2020 15:35:57 -0000
@@ -0,0 +1,22 @@
+$OpenBSD: README,v 1.1 2020/01/08 13:37:42 solene Exp $
+
++-----------------------------------------------------------------------
+| Running ${PKGSTEM} on OpenBSD
++-----------------------------------------------------------------------
+
+Starting MATE from xenodm
+===============================
+In order to start MATE as your desktop environment when login from
+xenodm, your ~/.xsession file should ends with the content
+
+    ${LOCALBASE}/bin/ck-launch-session ${LOCALBASE}/bin/mate-session
+
+Power management support
+=======================
+MATE power management requires the messagebus pkg script to be running,
+this can be done with the following commands:
+
+    $ rcctl enable messagebus
+    $ rcctl start messagebus
+
+Note that running dbus from ~/.xsession is not sufficent.

Reply via email to