To change the display gamma on Linux Mint, you can use the xgamma
utility. Follow these steps:
Step 1: Install xgamma (if not already installed)
Open a terminal and install xgamma
if it is not already installed:
sudo apt update sudo apt install x11-xserver-utils
Step 2: Adjust the Gamma Value
You can adjust the gamma value using the xgamma
command. The gamma value can be set for red, green, and blue channels individually or together. The default gamma value is usually 1.0. Adjusting this value will change the brightness of the display.
To set gamma for all channels equally:
xgamma -gamma 2.2
Step 3: Make the Changes Permanent
The changes made with xgamma
will be reset after a reboot. To make them permanent, you can add the xgamma
command to your startup applications or add it to your ~/.xprofile
file.
Adding to Startup Applications:
- Open the Menu and search for “Startup Applications”.
- Click “Add” to create a new startup program.
- Enter a name (e.g., “Set Gamma”), and in the command field, enter the
xgamma
command you used (e.g.,xgamma -gamma 1.2
). - Click “Add” to save the entry.
Adding to ~/.xprofile:
- Open a terminal.
- Edit the
~/.xprofile
file (create it if it does not exist):nano ~/.xprofile
- Add the
xgamma
command you used (e.g.,xgamma -gamma 1.2
). - Save the file and exit the editor (in nano, you can do this by pressing
Ctrl+X
, thenY
, andEnter
).
Now, the gamma settings should be applied every time you log in.
Step 4: Verify the Changes
To verify the current gamma settings, simply run xgamma
without any arguments:
xgamma
This will display the current gamma settings for red, green, and blue channels.
By following these steps, you should be able to adjust and maintain your desired display gamma settings on Linux Mint.