The Power Manager Brightness Applet in MATE is unable to talk to my laptop's backlight so I've been using /usr/bin/backlight to control it with keyboard shortcuts redirected to use it. I finally got around to looking under the hood and found that /usr/bin/backlight uses ioctl to directly control /dev/backlight/backlight0 whereas the MATE applet is currently using dbus-glib calls. There is also a PR in process to convert the applet to GDBus calls.
Is the best route to fix this to patch the MATE applet to use ioctl calls or is it there going to be something in dbus-glib or GDBus that can be patched instead to enable it to correctly control the backlight?