Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like change the contrast and not only the brightness. My brightness can be ajusted in KDE using my Fn key, but I would like do it with the contrast too.

Some commands works like

xbacklight -set 0


xgamma -rgamma 0.1, and derivative

but no one change the contrast. Is there a way to adjust the contrast using the terminal or any tool in KDE?

share|improve this question
I think you can only change the contrast using your graphics card settings, what graphics card do you have? – Bruno Pereira Oct 17 '11 at 23:09
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) as says in lspci – GarouDan Oct 18 '11 at 19:43
up vote 2 down vote accepted

The way to run this from the terminal is to use the command:

kcmshell4 kgamma
share|improve this answer

I have not tried this myself but the package kgamma /1/ has description:

This package contains a settings panel for adjusting the brightness, contrast, 
and gamma-correction of a monitor. Test patterns are shown to help determine 
the settings that accurately display the full range of colors.

Each of the red, green, and blue components can be adjusted individually, 
or all three components can be adjusted together.

This package is part of the KDE graphics module.


share|improve this answer
I had installed the package with sudo apt-get install kgamma but there's no entry in terminal to it and the file xf86gammacfg is undocumented too. I think it crashed because looks it isnt to x64 architechture... – GarouDan Oct 18 '11 at 18:38 repository says amd64 too...but still not working... or I dont know how to call it by terminal – GarouDan Oct 18 '11 at 18:39
Looks like kgamma packages only works in ubuntu 11+, i have 10 lts now – GarouDan Oct 18 '11 at 19:48
Tried kubuntu ppa first...not worked. Waiting a replay from kubuntu in launchpad. – GarouDan Nov 16 '11 at 13:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.