[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/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D296417
Bug ID: 296417
Summary: sysutils/mate-power-manager - MATE screen brightness
applet does not work
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: [email protected]
Reporter: [email protected]
Flags: maintainer-feedback?([email protected])
Assignee: [email protected]
Attachment #272312 text/plain
mime type:
Created attachment 272312
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D272312&action=
=3Dedit
Patch for src/gpm-backlight-helper.c to use ioctl to communicate wih the
backlight.
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
--=20
You are receiving this mail because:
You are the assignee for the bug.=