Project

General

Profile

Bug #2229

mate-power-manager doesn't start with elogind on parabola openrc.

BetaRays - over 1 year ago - . Updated about 1 month ago.

Status:
info needed
Priority:
bug
Assignee:
% Done:

0%


Description

I installed parabola openrc with mate and lightdm recently.

When elogind isn't installed, mate-power-manager runs fine when starting mate (the battery icon is here) but the power manager preferences coredumps.

When elogind is installed (to get the shutdown button in mate), the power managers now refuses to start, even though the power manager preferences works.

output of mate-power-manager --verbose attached (the dbind-warning was present even when it worked).


Files

8KqP (1.66 KB) 8KqP BetaRays, 2019-03-03 09:56 AM
gpm-manager_elogind.patch (623 Bytes) gpm-manager_elogind.patch BetaRays, 2019-03-03 06:12 PM

History

#1

Updated by BetaRays over 1 year ago

Building the mate-power-manager package with the attached patch seems to make it work.

#2

Updated by bill-auger over 1 year ago

  • Status changed from unconfirmed to forwarded upstream

that code is included since at least release version 1.21.0 - they just released 1.22.0 a few days ago - this is just a case of arch lagging a bit - i just marked it as "Flagged out-of-date" - when arch upgrades this package, parabola will get the fix

for now, rather than patching yourself, you could just set the version in the PKGBUILD to 1.21.1

#3

Updated by BetaRays over 1 year ago

The same error happens with mate-power-manager 1.21.1

#4

Updated by bill-auger over 1 year ago

ok sry i read your patch wrong - you want to remove that code from the sources

#5

Updated by bill-auger over 1 year ago

  • Assignee set to Megver83
  • Status changed from forwarded upstream to info needed

megver - would this be reasonable to apply this patch to a special nonsystemd build of this package?

#6

Updated by BetaRays over 1 year ago

If we want to make the patch work only on nonsystemd systems (as it is currently), maybe we should remove the gpm_manager_systemd_inhibit entirely too, and if we want the patch to work on both systemd and elogind systems, we should keep the if block, but check for systemd instead of just logind.

#7

Updated by Megver83 over 1 year ago

bill-auger wrote:

megver - would this be reasonable to apply this patch to a special nonsystemd build of this package?

totally reasonable. You can do too, if you wish, just remember to add pkgrel+=.nonsystemd1 to the PKGBUILD

I'm asking you this, because I think I'll not have the time to dedicate much time to this, at least in the short-time.

#8

Updated by BetaRays 3 months ago

Note that this means elogind will still perform power management, your computer can suspend after getting out of suspend when closing the lid for example.

What I found odd is that Gentoo doesn't seem to include any patch to mate-power-manager, even when compiling with the elogind USE flag.

#9

Updated by BetaRays 3 months ago

Maybe the problem only comes from permission issues that need to be fixed with polkit.

#10

Updated by BetaRays about 1 month ago

After being able to update my Thinkpad T400, which now has mate-power-manager-2.24.0, the inhibition works and no longer makes it crash.

I couldn't find what changed in mate-power-manager but it may be because something else was updated (maybe elogind).

Also available in: Atom PDF