LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-10-2008, 12:56 AM   #1
azgs
LQ Newbie
 
Registered: Aug 2007
Posts: 22

Rep: Reputation: 15
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
 
Old 08-10-2008, 02:01 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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).
 
Old 08-11-2008, 10:26 AM   #3
azgs
LQ Newbie
 
Registered: Aug 2007
Posts: 22

Original Poster
Rep: Reputation: 15
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.
 
Old 08-11-2008, 11:54 AM   #4
azgs
LQ Newbie
 
Registered: Aug 2007
Posts: 22

Original Poster
Rep: Reputation: 15
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"
 
Old 08-11-2008, 01:01 PM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.
 
Old 08-13-2008, 06:06 PM   #6
azgs
LQ Newbie
 
Registered: Aug 2007
Posts: 22

Original Poster
Rep: Reputation: 15
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 fly
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
soudcard settings not persistent in SuSE 9.2 piratu SUSE / openSUSE 4 04-01-2005 02:47 AM
Gamma settings? Curt6000 Linux - General 2 11-22-2004 11:14 AM
gamma-settings in Mandrake 9.1/KDE Joe Belmaati Linux - Newbie 4 11-05-2004 11:20 AM
Gamma settings c0d1f1ed Linux - Hardware 5 03-20-2004 02:51 PM
tft display & gamma elektrohirn Linux - Hardware 0 05-18-2003 04:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration