maintainer-feedback requested: [Bug 296417] sysutils/mate-power-manager - MATE screen brightness applet does not work

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 Jun 2026 23:41:40 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gnome (Nobody)
<gnome@FreeBSD.org> for maintainer-feedback:
Bug 296417: sysutils/mate-power-manager - MATE screen brightness applet does
not work
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296417



--- Description ---
The MATE screen brightness applet does not work as the hardware interface in
sysutils/mate-power-manager src/gpm-backlight-helper.c is written for Linux.

The attached patch adds FreeBSD ioctl calls to communicate with the backlight
device. It has been tested on a Thinkpad T580 laptop but I have yet to test on
a computer without a backlight. This is also my first patch for FreeBSD so a
close review is appreciated.


Commands such as these can be used to bypass the brightness applet and use the
dbus to communicate with mate-power-manager:

dbus-send --session --print-reply --dest="org.mate.PowerManager"
/org/mate/PowerManager/Backlight org.mate.PowerManager.Backlight.GetBrightness

bus-send --session --print-reply --dest="org.mate.PowerManager"
/org/mate/PowerManager/Backlight org.mate.PowerManager.Backlight.SetBrightness
uint32:55