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

[email protected] Tue, 30 Jun 2026 23:41:40 +0000
Newsgroups gmane.os.freebsd.devel.gnome
Message-ID <[email protected]/bugzilla/>
Bugzilla Automation <[email protected]> has asked freebsd-gnome (Nobody)
<[email protected]> 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=3D296417



--- 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 backlig=
ht
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=3D"org.mate.PowerManager"
/org/mate/PowerManager/Backlight org.mate.PowerManager.Backlight.GetBrightn=
ess

bus-send --session --print-reply --dest=3D"org.mate.PowerManager"
/org/mate/PowerManager/Backlight org.mate.PowerManager.Backlight.SetBrightn=
ess
uint32:55