Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - brightness-git

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: brightness-git 20140522-1

Git Clone URL: https://aur-dev.archlinux.org/brightness-git.git (read-only)
Package Base: brightness-git
Description: Brightness Controller - allows you to control brightness of primary and secondary display
Upstream URL: http://github.com/lordamit/Brightness
Licenses: GPLv3
Submitter: strata
Maintainer: strata
Last Packager: strata
Votes: 2
Popularity: 0.000187
First Submitted: 2013-09-17 11:00
Last Updated: 2015-07-05 20:48

Latest Comments

mathieu.clabaut commented on 2015-03-02 11:03

Last line of package() should read :
install -m 755 ${srcdir}/brightness.run ${pkgdir}/usr/bin/brightness

strata commented on 2014-05-22 20:56

PKGBUILD fixed to work with original repo. Looks like the author has done a lot of improvement and it's much better now.

nigh-ix commented on 2014-02-23 17:28

I ran into an issue with the PKGBUILD that I managed to fix.

I was clued in when this line failed: sed -i 's/env python$/env python2/' src/brightness.py

So I went searching for brightness.py and found it missing in the Upstream github tree.

Here is a fork that has brightness.py in the src directory: https://github.com/xanepxuxo/Brightness

So I downloaded the source for that manually, and popped it into /tmp/packerbuild-0/brightness-git/brightness-git/src/Brightness-build/src (remember to chmod correctly).

Then I commented out the lines in the PKGBUILD that would re-clone the Upstream git tree or remove the packerbuild-0 directory.

Yes, this was using the packer frontend to AUR. Adjust for your frontend.

Side note, you can modify lines 52 and 54 with the --gamma option (just before the closing double-quotes) if you have any particular calibration (RGB values) for your monitor.

Please fix the PKGBUILD. I am considering forking brightness.py to add sliders that allow one to set / save gamma values.