1. Home
  2. Linux

How to change the color temperature on Linux with Gammy

Gammy is a neat little Linux program that you can install to change your monitor’s color temperature. It can also automatically change and adjust the brightness on your screen based on the colors it is displaying.

In this guide, we’ll show you how to install Gammy on your Linux PC so that you can use it to change the color temperature of your screen to something more comfortable than the default. 

Need to filter blue light on Linux? Try this.

Installing Gammy on Linux

Before we get going with how to use Gammy on your Linux PC to change the color temperature, we must demonstrate how to install the software, as it does not come pre-installed by default on any mainstream Linux operating system. 

To start the process of installing the Gammy application on your Linux PC, open up a terminal window. Once the terminal window is open and ready to use, follow the installation instructions down below that corresponds to the Linux OS, you use.

Ubuntu

Gammy doesn’t provide any DEB packages for Ubuntu users. If you want to use the software, you will need to compile it yourself from the source code. To start the compilation process, you will need to install the dependencies.

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

After taking care of all of the dependencies, you will need to download the source code to your computer using the git clone command.

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

Once you’ve downloaded the software to your Ubuntu computer, use the CD command to move into the “gammy” folder where the code is.

cd gammy

Inside the code folder, it is time to configure the code using the Qmake tool. So, using the qmake command down below, compile the software. 

qmake Gammy.pro

After running the qmake command on your computer, it’s time to build the software. Using the make command, compile Gammy onto your computer. 

make

After the software is compiled, you can run the sudo make install command to install it to your system. 

sudo make install

Debian

The Debian installation instructions for Gammy are identical to the Ubuntu ones, as they’re using the same base OS. To start the install process, you need to install the software dependencies. To do that, enter the command below.

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

With the software dependencies taken care of, the next step is to download GitHub’s source code using the git clone command. 

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

Next, enter the software folder using the CD command. Once in the folder, use the qmake command to configure build rules for Gammy.

cd gammy
qmake Gammy.pro

From here, build the software on your Linux PC using the make command. 

make

Finally, install the program onto your computer using the sudo make install command.

sudo make install 

Arch Linux

On Arch Linux, you will need to build the software from scratch like any other Linux distribution. However, Gammy is in the AUR, so you will be able to generate an installable Arch package from the source code and automate the installation.

To start the installation process for Arch Linux, open up a terminal window and use the commands below to install the Trizen AUR helper tool. 

sudo pacman -S git base-devel

git clone https://aur.archlinux.org/trizen.git

cd trizen

makepkg -sri

Fedora

Sadly, Fedora Linux doesn’t have any way to get Gammy built, as the developer hasn’t indicated what packages to install for non-Ubuntu/Debian distributions. If you use Fedora and want to use Gammy, head over to the website, and compile it yourself.

OpenSUSE

OpenSUSE is the one Linux distribution that has Gammy as a pre-built package. To install the software on your computer, open up a terminal window and execute the commands below.

Tumbleweed

sudo zypper addrepo https://ftp.lysator.liu.se/pub/opensuse/repositories/multimedia:/apps/openSUSE_Tumbleweed/ multimedia-apps-x86_64

sudo zypper install gammy

LEAP 15.2

sudo zypper addrepo https://ftp.lysator.liu.se/pub/opensuse/repositories/multimedia:/apps/openSUSE_Leap_15.2/ multimedia-apps-x86_64

sudo zypper install gammy

Change color temperature with Gammy

To change the color temperature with Gammy, you need to use the temperature feature. To use this feature on your Linux desktop, follow the step-by-step instructions below. 

Step 1: Launch the Gammy application on your Linux desktop by searching for “Gammy” in the app menu. If you cannot find it there, you can launch the program via the quick-launcher.

To launch the app via quick-launcher, press Alt + f2 and enter the command gammy.

Step 2: Once Gammy is open, an icon will appear in the system tray. Click on it. After clicking on it, a control window will appear. In this control window, look for “Temperature.”

Step 3: After locating “Temperature,” you’ll notice a slider beneath it. Drag this slider left or right to adjust your color temp. 

Alternatively, if you want Gammy to change your screen’s color temp (s) automatically, locate the “Auto” button, and click on it. By selecting this, it will automatically adjust the color.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.