Gammy – Adaptive screen brightness utility for Linux

Gammy is a program that adjusts the level of screen brightness and the amount of blue light emitted automatically.

All technology enthusiasts heartily greeted smartphones when they came around. Not only because it was all futuristic and attractive, but also because now you could do things that you could only do on your desktop or laptop.

E-mailing, text messaging, sharing files, all became much easier. Even though it seems like smartphones are given features based on those possessed by notebooks, they have a world of their own. Now, even the computer world is learning things from smartphones.

One such feature of smartphones that we all find helpful is automatic brightness adjustment. Having that on our Linux systems will be great, especially for those who move around with their laptops a lot. We present a program just for that task, Gammy.

Features

Gammy is a program that adjusts the level of screen brightness and the amount of blue light emitted automatically. The way it works is that Gammy takes a screenshot after a very fixed period, and gradually adjusts the brightness based on that.

There are specific configurations available. Some of those are:

Major options:

  • Adjust maximum and minimum brightness levels
  • Offset, which adds to the brightness of the display
  • A higher value of offset corresponds to a higher level of brightness
  • Temperature adjusts the amount of blue light being emitted

    Primary configurations
    Primary configurations

Even though it seems like these are the only options available, users can find even more options by expanding the window. A smart little idea, if you ask us so that only the users who are interested in advanced options can access them if they want. So, further options are:

  • Speed decides the rate (of time) at which the brightness level will change.
  • Threshold sets how much a screen has to change to execute a brightness alteration. In other words, users can configure the amount of change in the brightness when brightness is increased/decreased by one level.
  • As mentioned above, Gammy works on screenshots, so users can increase or decrease the frequency of screenshots taken (hence, the frequency of change in the brightness) through screenshot rate.

    Advanced configuration options
    Advanced configuration options

Installation

The installation of Gammy requires quite a bit of a prerequisite so that we can get that out of the way first. For Ubuntu (and its derivatives), any Debian based distribution, or any other distribution that uses the APT package management, use the following command:

sudo apt-get install build-essential libgl1-mesa-dev qt5-default git

You can use the different commands according to your system, but the packages must be these.

These are the QT (and Git) dependencies.

Installing prerequisites
Installing prerequisites

After being done with the requirements, we should proceed with the installation. The instructions on the website suggest making a directory for Gammy in the users’ home directory itself. Still, we are recommending the process for a hidden directory here so that it doesn’t interfere with your workflow.

git clone https://github.com/Fushko/gammy.git

This copies the Gammy files to your system.

mv gammy .gammy

This makes the directory hidden.

cd gammy
qmake Gammy.pro
make

Installation finishes with this.

Gammy installation
Gammy installation

./gammy

This last command starts Gammy. We recommend adding this program to the startup of your system. To do this on Ubuntu, follow these steps:

  1. Search for ‘startup’ and enter the ‘Startup Applications‘ settings.
  2. Click ‘Add‘.
  3. Write the name and comment as you see fit (though we would recommend the name ‘Gammy‘ for ease of understanding), but as for the command, enter in the following format:
    /home/<username>/.gammy/gammy.

Adding Gammy to startup on Ubuntu
Adding Gammy to startup on Ubuntu

This procedure will differ according to different distributions. Still, I am sure you will be able to find the same feature under your system by looking for ‘startup applications’ or something similar. The command will remain the same.

Conclusion

Gammy is not only a great program but a promising idea. Instead of only hardware-based display covers, users can also use a software method to balance the brightness and blue-light emission level for comfort to the eyes. Even though it wasn’t expected to work excellently just through screenshots instead of photodetectors (compared to smartphones), it works pretty well! The adjustment made only through the screenshots is adequate, which makes it overall a great program.

If you require more information, visit the official website here. If you have any questions, feel free to ask them in the comments section.

Pulkit Chandak
Pulkit Chandak is a Linux enthusiast and has been using and experimenting with open source software, and hardware too since a long time. He is a huge admirer of open source software and wants to ventilate it to all around him. He is interested in reviewing and writing tutorials on Linux and its innumerable distributions. He believes that freedom in software leads to freedom of the mind from the chains of limits.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

24,108FansLike
213FollowersFollow
7SubscribersSubscribe

LATEST ARTICLES

Create a ClamAV Antivirus Live USB drive, and how to use it

Antivirus Live CD or USB drives come in handy at times when your computer is infected with a virus and other malware. Here is how you can create a ClamAV Live USB drive to scan and remove the malware from a computer.
Application Launchers for Ubuntu
Ubuntu is one of the most used Linux distributions worldwide. It is also the reason why it has the maximum number of available programs for itself. Today we are going to talk about one category of those programs, the application launchers.
best video players for linux
Most Linux-based systems come with a built-in video player, but let's be honest, it most definitely won't be able to satisfy all of your requirements, due to the fact that default software is mostly made for basic purposes. In this article, we will review the 5 Best Video Players for Linux and thoroughly discuss their features as well as their pros and cons.
Free up hard disk space ubuntu
Hard disk space can easily get filled up with cached package files, old kernels, and other obsolete files that occupy unwanted hard disk space. Here are top five best and safer ways to clean and free up hard disk space in Ubuntu. We show you Terminal and GUI way of cleaning up system.