On 2020/01/08 17:12, Klemens Nanni wrote:
> On Wed, Jan 08, 2020 at 04:41:30PM +0100, Solene Rapenne wrote:
> > 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)
> Thanks!
>
> > 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
> s/login/logging in/
>
> > +xenodm, your ~/.xsession file should ends with the content
> s/ends/end/
>
> Also "the content" can be omitted, I think.
>
> > +
> > + ${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:
> Technically messagebus is a rc.d(8) service which starts dbus-daemon(8),
> so "messagebus pkg script" reads weird.
>
> x11/lxqt/powermanagement already describes exactly this, I think those
> README files should be in sync.
>
> > +
> > + $ rcctl enable messagebus
> > + $ rcctl start messagebus
> Must be run as root.
>
> > +
> > +Note that running dbus from ~/.xsession is not sufficent.
> >
>
+1 for your comments, plus the ===== are meant to underline the line above
so should be the same number of characters.