xxgamma is an PyGTK based GUI for xgamma which allows you to load, modify and store multiple gamma correction profiles for XFree86 and X.org through a GUI and a command line interface.
I wrote it because I’m often using an external monitor with my laptop and want an easy way to switch between gamma correction for the internal and external monitor.
Version 0.04 is a major rewrite of xxgamma that uses Python instead of Perl and is not compatible with version 0.03 and earlier.
There are no plans for further development of the Perl version.
xxgamma is alpha software. So far it seems to work for me but it may have severe bugs I didn’t noticed yet. Use it at your own risk.
If you install the .egg Shipyard and Peggy are installed automatically. If you don’t already have PyGTK use your distribution’s package manager or install it manually.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
xxgamma supports the following options:
show program’s version number and exit
- -h, --help¶
show this help message and exit
- -n, --no-gui¶
don’t show the GUI, just set the gamma profile
- -p PROFILE, --profile=PROFILE¶
load profile named PROFILE
- -l, --list¶
list existing profiles and exit
Before you start, it’s recommended to have your monitor’s contrast set to the maximum allowed and its brightness set to a comfortable setting.
Change the values for red, green and blue until the four color blocks look solid. You can use your left and right keys to change the values by 0.1 or Control-Left and Control-Right to change it by 0.01.
“Lock Colors” locks all three colors to the same value.
In the “Profile” menu you find commands to create, save and delete profiles. To select another profile use the “Profile” combo box at the bottom of the window.
The profiles are saved in
~/.xxgamma/profiles.sy in the Shipyard
file format. Feel free to edit the file with your favored editor.
Get it using easy_install
> easy_install xxgamma
or download it here:
If you use easy_install you are ready to use xxgamma. If you download the tar archive unpack it and execute
python setup.py install