I could not find a related upstream issue for this. In this day and age, if it is not essential for a Mate desktop may as well hide it behind mate-base/mate[!elogind] if upstream does not move in time?
xfce4-screensaver has a working patch over at bug 681334 now, maybe it is adaptable to your needs?
Created attachment 570610 [details, diff] autoconf precious variable approach to adding elogind support Maybe just doing what I do in gdm is sufficient in parallel to upstreaming efforts? COMPLETELY blind patch to that effect attached.
(In reply to Mart Raudsepp from comment #2) > Created attachment 570610 [details, diff] [details, diff] > autoconf precious variable approach to adding elogind support > > Maybe just doing what I do in gdm is sufficient in parallel to upstreaming > efforts? COMPLETELY blind patch to that effect attached. Did a build test with your patch and it worked :) There is also a PR upstream at: https://github.com/mate-desktop/mate-screensaver/pull/188 which should go in soon as a similar patch for mate-session was accepted.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff46897d6fa08727f2f8b25f633aafacf854103b commit ff46897d6fa08727f2f8b25f633aafacf854103b Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-03-31 09:33:42 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-03-31 10:47:31 +0000 mate-extra/mate-system-monitor: Add USE elogind Bug: https://bugs.gentoo.org/681334 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../mate-system-monitor-1.22.0.ebuild | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a58f568520b5fedc9b81b9b5fa02f6c3bf9b4b2 commit 6a58f568520b5fedc9b81b9b5fa02f6c3bf9b4b2 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-03-24 16:10:55 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-03-31 10:47:22 +0000 mate-extra/mate-screensaver: add elogind support Bug: https://bugs.gentoo.org/681334 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../mate-screensaver-1.22.0.ebuild | 41 ++++++++++++++-------- 1 file changed, 27 insertions(+), 14 deletions(-)
(In reply to Mart Raudsepp from comment #2) > Created attachment 570610 [details, diff] [details, diff] > autoconf precious variable approach to adding elogind support Did the same for mate-extra/mate-system-monitor here. A patch still needs to be made and upstreamed though.
(In reply to Andreas Sturmlechner from comment #5) > (In reply to Mart Raudsepp from comment #2) > > Created attachment 570610 [details, diff] [details, diff] [details, diff] > > autoconf precious variable approach to adding elogind support > > Did the same for mate-extra/mate-system-monitor here. > > A patch still needs to be made and upstreamed though. Did a quick test with MATE and elogind today and it worked well so far but one thing: Choosing reboot in MATE only logs you out, returns to the SDDM login menu. Do I need to change some config too?
(In reply to Joakim Tjernlund from comment #6) > (In reply to Andreas Sturmlechner from comment #5) > > (In reply to Mart Raudsepp from comment #2) > > > Created attachment 570610 [details, diff] [details, diff] [details, diff] [details, diff] > > > autoconf precious variable approach to adding elogind support > > > > Did the same for mate-extra/mate-system-monitor here. > > > > A patch still needs to be made and upstreamed though. > > Did a quick test with MATE and elogind today and it worked well so far but > one thing: Choosing reboot in MATE only logs you out, returns to the SDDM > login menu. > > Do I need to change some config too? NM: -session optional pam_elogind.so got lost in system-auth, now it works
I guess this be closed as fixed?
(In reply to OzTiram from comment #8) > I guess this be closed as fixed? Someone needs to check if mate-system-monitor ever got a proper patch upstream.
Created a PR upstream. https://github.com/mate-desktop/mate-system-monitor/pull/253