How to adjust screen contrast in manjaro

Hi, I would like to know How to adjust screen contrast in manjaro?
Thanks!

As you have left no clues - generally speaking - that is something you do hardware wise.

Every monitor has a menu used to adjust screen brightness and contrast.

1 Like

i use a laptop! Dell vostro
And I mean how to decrease contrast with software of course, in windows i have the intel graphic panel, but in manjaro i dont know how ?

Hello @Karlos :wink:

After installing xorg-xgamma you could adjuste it with xgamma -gamma 0.3

or with xrandr:

xrandr --output <screen> --gamma red[:green:blue]

like this:

xrandr --output HDMI-0 --gamma 0.8:0.8:0.8
1 Like

@megavolt thank you ! ik works!

@megavolt but when you restart your pc it turns like it it is before!
is there any solution? for these!?

@Karlos Yes… you can add it in the Xorg.conf manually (which you have to create before not there):

Create a file in /etc/X11/xorg.conf.d/40-gamma.conf and put this into it:

Section "Monitor"
    Identifier "HDMI-0"
    Gamma "0.8 0.8 0.8"
EndSection

or add the command in ~/.xinitrc before exec $(get_session) like this:

xrandr --output HDMI-0 --gamma 0.8:0.8:0.8 &
exec $(get_session)

@megavolt I did’nt understand !!!

And what did you not understand, @Karlos ?

i did’nt understand this,mr @megavolt

Create a file called 40-gamma.conf on the path /etc/X11/xorg.conf.d/ and put the text into it. Save it. Then it will be set permanently on every boot.

sudo nano /etc/X11/xorg.conf.d/40-gamma.conf

then copy&paste the text into it. Save it with CTRL + S and close it with CTRL + X.

After reboot it be should set.

About the numbers: 99 = lowest priority, 00 = highest priority. So if there are other files in /etc/X11/xorg.conf.d/ or the file xorg.conf is available in /etc/X11/ with the same “Monitor” Section it could be skipped.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.