LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Display Color/Gamma settings not persistent (https://www.linuxquestions.org/questions/linux-desktop-74/display-color-gamma-settings-not-persistent-661713/)

azgs 08-10-2008 12:56 AM

Display Color/Gamma settings not persistent
 
Mandriva i686 Pentium4 865G i810 based driver installed by default.

KDE has display graphics option on clicking right on desktop.

You can set/configure gamma/RGB etc. from there.

The problem is that the settings configured manually go away on logging out and do not remain on next login. It returns to default gamma/RGB/Grayscale etc. which is not suitable on the monitor used.


azgs

jschiwal 08-10-2008 02:01 AM

Did you click the box to save the settings to xf86 config? Did you enter the root password to allow the xorg.config file to be modified?

If yes, the look in /etc/X11/xorg.conf. Check if it was changed. Maybe your version of KDE is a bit retarted and created a config file for the old server. Look in the Monitor section for a line that starts with "gama". If there isn't one, you can add one yourself with the line:
gamma <red-gamma> <green-gamma> <blue-gamma>

When I tried it in KDE, it modified my xorg.conf:
Code:

Section "Monitor"
    Identifier    "Monitor[0]"
    VendorName    "--> LCD"
    ModelName      "800X600@60HZ"
    UseModes      "Modes[0]"
    DisplaySize    305    230
    HorizSync      30.0 - 38.0
    VertRefresh    30.0 - 61.0
    Option        "CalcAlgorithm" "XServerPool"
    Option        "DPMS"
    Option        "PreferredMode" "800x600"
  Gamma  1.05  1.05  1.05  # created by KGamma
EndSection

You could edit in the Gamma line yourself. Note that some drivers won't support a gamma setting.

Please see the xorg.conf manpage. You can also have a single gamma entry if you need to adjust the black-white gamma (i.e. all red, green and blue gammas are the same).

azgs 08-11-2008 10:26 AM

jschiwal has the point
 
yes jschiwal, I do save that to it with root password box asking for password. But what you have pointed is true that I should look into that when I feel little bit less lazier :)...

going ahead...

thanks!! lets keep moving.

azgs 08-11-2008 11:54 AM

what do yu say about the below I found in that file on my box.

Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName ""
HorizSync 30-70
VertRefresh 50-160

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1152x768_120" 156.44 1152 1240 1368 1584 768 769 772 823 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1152x768_100" 127.64 1152 1232 1360 1568 768 769 772 814 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1152x768_85" 106.46 1152 1224 1352 1552 768 769 772 807 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1152x768_75" 92.39 1152 1224 1344 1536 768 769 772 802 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1152x768_60" 71.74 1152 1208 1328 1504 768 769 772 795 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1152x768_50" 58.85 1152 1200 1320 1488 768 769 772 791 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "720x480_120" 59.33 720 760 840 960 480 481 484 515 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "720x480_100" 48.05 720 760 832 944 480 481 484 509 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "720x480_85" 39.83 720 752 824 928 480 481 484 505 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "720x480_75" 34.94 720 752 824 928 480 481 484 502 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "720x480_60" 26.72 720 736 808 896 480 481 484 497 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "720x480_50" 21.78 720 728 800 880 480 481 484 495 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "360x240_120" 14.12 360 368 408 456 240 241 244 258 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "360x240_100" 11.22 360 368 400 440 240 241 244 255 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "360x240_85" 9.12 360 360 392 424 240 241 244 253 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "360x240_75" 7.98 360 360 392 424 240 241 244 251 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "360x240_60" 5.86 360 344 376 392 240 241 244 249 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "360x240_50" 4.66 360 336 368 376 240 241 244 248 -HSync +Vsync
EndSection

Section "Device"
Identifier "device1"
VendorName "Intel Corporation"
BoardName "Intel 810 and later"
Driver "intel"
Option "DPMS"
Option "XaaNoOffscreenPixmaps" "1"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16

Subsection "Display"
Depth 8
Modes "1152x768" "720x480" "360x240"
EndSubsection

Subsection "Display"
Depth 15
Modes "1152x768" "720x480" "360x240"
EndSubsection

Subsection "Display"
Depth 16
Modes "1152x768" "720x480" "360x240"
EndSubsection

Subsection "Display"
Depth 24
Modes "1152x768" "720x480" "360x240"
EndSubsection
EndSection

Section "ServerLayout"

jschiwal 08-11-2008 01:01 PM

It doesn't have a Gamma line in it. Are you running a service that protects certain files from being altered? You could manually edit your xorg.conf file adding a gamma line with the values you tried out earlier.

azgs 08-13-2008 06:06 PM

thanks jschiwal for your genius. Finally the work is almost done.

I have dissected into many of those /etc/files and learnt a few new things too. Any how, at this time the problem seems to be soothed.

Lets look into another one ;)

to get :Pengy: fly


All times are GMT -5. The time now is 05:51 PM.