This patch does only one thing - uses gint32 instead of glong for brightness 
levels.
There are no other changes to the code.
Both auto-dimming and panel plugin work on my 64-bit Ubuntu 13.04 with this 
patch.

To apply, download patch and:
sudo apt-get install fakeroot debhelper build-essetial
sudo apt-get build-dep xfce4-power-manager
apt-get source xfce4-power-manager
patch -p0 < xfce4-power-manager-brightness.patch
cd xfce4-power-manager-1.2.0
dpkg-buildpackage -rfakeroot -uc -b
cd ..

Now you should have 3 deb packages.

** Patch added: "gint32 conversion patch"
   
https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1067749/+attachment/3743725/+files/xfce4-power-manager-brightness.patch

-- 
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

Reply via email to