For the impatient, here is how you can build and test the patched package: Create a build directory (e.g. build) and cd to it Download the patch unify_level_brightness_to_gint.patch (provided above) to the directory.
sudo apt-get install fakeroot debhelper build-essential sudo apt-get build-dep xfce4-power-manager apt-get source xfce4-power-manager patch -p0 < unify_level_brightness_to_gint.patch cd xfce4-power-manager-1.2.0 dpkg-buildpackage -rfakeroot -uc -b cd .. Now you should have three .deb packages in the build directory. Now simply replace the xfce4-power-manager with the patched version: sudo dpkg -i xfce4-power-manager_1.2.0-1ubuntu2_amd64.deb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1067749 Title: Screen refuses to dim on battery To manage notifications about this bug go to: https://bugs.launchpad.net/xfce4-power-manager/+bug/1067749/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs