Date: Tue, 30 Jun 2026 23:41:40 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 296417] sysutils/mate-power-manager - MATE screen brightness applet does not work Message-ID: <bug-296417-6497@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296417 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: gnome@FreeBSD.org Reporter: swm@swm1.com Flags: maintainer-feedback?(gnome@FreeBSD.org) Assignee: gnome@FreeBSD.org Attachment #272312 text/plain mime type: Created attachment 272312 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=272312&action=edit 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 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 -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-296417-6497>
