[PATCH] xfce4-power-manager: Support for keyboard backlight control

Sonal Santan sonal.santan at gmail.com
Tue Oct 22 19:24:41 CEST 2013


Hello,

I have enhanced xfce4-power-manager to support backlit keyboard brightness
control through keyboard brightness keys. It uses
org.freedesktop.UPower.KbdBacklight interface for increasing or decreasing
the keyboard backlight brightness and binds with keys
XF86XK_KbdBrightnessUp and XF86XK_KbdBrightnessDown.

This feature is useful when the firmware does not handle the keyboard
brightness control automatically. For example MacBook Pro leaves it to the
OS to control the keyboard brightness through special keys. With this
change, I can light up the keyboard on MacBook Pro and control its
brightness through the special keys.

I have also tested this on Lenovo X1 Carbon where the keyboard brightness
is automatically handled by the firmware and this enhancement steps aside
without interfering.

The patch is attached with this email; please review and apply.

Thanks,
-Sonal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20131022/b5948fd8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfce4-power-manager.patch
Type: application/octet-stream
Size: 14804 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20131022/b5948fd8/attachment.obj>


More information about the Xfce4-dev mailing list