Windows 7, 8.1, 10 (64-bit)
8.1/10 recommended. (See why below)
- Qt5 dependencies (build-essential, libgl1-mesa-dev, qt5-default)
To build, use these commands in the terminal:
- git clone https://github.com/Fushko/gammy.git
- cd gammy
- qmake Gammy.pro
- ./gammy (to run it)
NB: If make fails with "PlaceholderText is not a member of QPalette" in ui_mainwindow.h, your Qt version is older than 5.12. Simply delete the offending lines and run make again.
Source code: GitHub
What is it?
It's a free tool whose purpose is to aid the eyes in adapting to rapid changes in screen brightness.
It can dim the screen if its content is too bright, or brighten it otherwise. This can help your eyes adjust when switching between dark and light windows, especially at night or in suboptimal lighting conditions.
How does it work?
Gammy periodically takes a screenshot, then gradually adjusts the brightness of the screen based on its contents.
The screenshot process is hardware accelerated in order to provide great performance.
What do the settings do?
- Min/Max brightness: Minimum and maximum brightness. Duh.
- Offset: Adds to the screen brightness. Higher = brighter image. Useful depending on time of day and room lighting.
- Temperature: Sets color temperature. Lower = reduces the amount of blue light.
Expanding the window will reveal these settings:
- Speed: Controls how fast the brightness changes.
- Threshold: Sets how much the screen has to change in order to trigger a brightness change.
- Screenshot rate (ms): The interval between each screenshot. Raise this value if your are experiencing slowdowns.
Why does changing the brightness and temperature to a certain value has no effect?
By default, Windows limits the available gamma range that can be used.
To fix this: right click on Gammy, click on "Run as administrator", then restart Windows to enable the full brightness/temperature range.
Why is Windows 8.1/10 recommended over Windows 7?
The interface that Gammy uses for taking a GPU screenshot is unfortunately unavailable in Windows 7.
A less efficient screen capture method is used instead, which still does the job, albeit a tad slower.
I have a bug report/feedback. Where do I contact you?
You can create an issue on GitHub, or send me an email at: [email protected]
The latest changes can be seen on GitHub's releases page.
- Brightness limit can be increased to 200% by pressing the lock icon (linux only for now)
- Brightness values are now shown in percentage
- Fixed ability to set min. brightness slider higher than max. and viceversa
- Added option to adjust brightness manually
- If there is no system tray, closing the window will quit the app (linux)
- Quitting will now reset the gamma to how it was before the program started
- Gamma can be set to a pure state by clicking on "Quit (set pure gamma)" in the tray menu, which behaves as the old quit
- Closing the settings window will not quit the program anymore (linux)
- Removed the frameless window flag, fixing an issue where the window could not be moved (linux)
- Fixed overflow on big screens
- Linux: moved configuration file to comply with XDG spec
- Linux: fixed a random crash causing screen corruption
- Linux: fixed app getting stuck and needing to be killed
- Small CPU optimizations
- Initial Linux working version
- Changes now save when quitting the app rather than when releasing the sliders
- Windows: App now tries restarting every 2.5 seconds instead of 5 when losing fullscreen
- Fixed another case of brightness not reverting to default when quitting
- Fixed potential crash
- Fixed unnecessary disk writes when moving the sliders
- Improved brightness calculation
- Fixed potential crash on some GPUs
- Fixed settings reset when running on startup
- Fixed window jumping when clicking slider borders
- Switched GUI framework from .NET to Qt
- UI redesigned with sliders
- Color temperature now has a much wider range
- Settings save automatically on slider release
- Fixed brightness not resetting to default when quitting in some cases
- Fixed stuck brightness indicator when opening the window during a brightness change
- Various CPU optimizations
- Fixed brightness range limit (To enable the fix, run as admin once then restart.)
- Fixed icons appearing out of proportion in some configurations
- Fixed various cases of crash on startup on Windows 7
- Default threshold is now 32
- Fixed Run at startup not working in some cases
- Fixed brightness change having an inconsistent speed
- Fixed brightness change waiting for the brightness indicator to update
- Small CPU and memory optimizations
- Drastically lowered CPU and memory usage
- Min/max brightness change is now gradual
- Fixed a case where brightness did not change properly
- Fixed temperature not changing properly during a brightness change
- Fixed threshold preventing min/max brightness from changing
- Fixed potential crash during app startup
- Fixed potential crash when taking a screenshot
- Fixed crash when another app takes fullscreen control
- Fixed some input exceptions
- UI changes/improvements
- App now starts minimized in the system tray
- Implemented faster GPU screenshot (Win8+ required)
- Added "Run at startup" option by right clicking the tray icon
- Min/max brightness and offset now change after a new screenshot
- Color temperature now changes istantly
- Various performance optimizations and code refactoring