Bug #2229
mate-power-manager doesn't start with elogind on parabola openrc.
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
History
Updated by BetaRays about 5 years ago
Building the mate-power-manager package with the attached patch seems to make it work.
Updated by bill-auger about 5 years 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
Updated by bill-auger about 5 years ago
ok sry i read your patch wrong - you want to remove that code from the sources
Updated by bill-auger about 5 years 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?
Updated by BetaRays about 5 years 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.
Updated by Megver83 about 5 years 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.
Updated by BetaRays almost 4 years 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.
Updated by BetaRays almost 4 years ago
Maybe the problem only comes from permission issues that need to be fixed with polkit.
Updated by BetaRays over 3 years 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).