Under Centos 7, mate-power-manager
(from the EPEL repo) keeps crashing. When run manually from the command line, at the time of the crash it throws the error:
ERROR:gpm-kbd-backlight.c:342:gpm_kbd_backlight_on_dbus_signal: code should not be reached
I've found that it's an incompatibility with upower
, and the workarounds suggested reduce the crashes, but don't eliminate it.
It has been fixed with version 1.18.1 However, that is not available in EPEL. I've tried building it myself, but keep getting prompted for sudo with
authentication is needed to run mate-power-backlight-helper
I really just want mate-power-manager
to keep running (or automatically restart after a crash) so that I don't miss a critical battery alert.
/usr/share/polkit-1/actions/org.mate.power.policy
may avert the "authentication is needed" prompt in the built-from-source version.