Bug 268174 - .kde4/share/config/kgammarc resets to default on logout/reboot
Summary: .kde4/share/config/kgammarc resets to default on logout/reboot
Status: RESOLVED DUPLICATE of bug 218668
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kgamma (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-11 00:14 UTC by Nils Martin
Modified: 2012-11-11 00:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Martin 2011-03-11 00:14:08 UTC
Version:           unspecified (using KDE 4.6.1) 
OS:                Linux

After setting gamma to 0.85, kgammarc looks like this:
[ConfigFile]
use=kgammarc

[Screen 0]
bgamma=0.85
ggamma=0.85
rgamma=0.85

[SyncBox]
sync=no

After logout or reboot the file is reset (no gamma information) and gamma is set to the default value (1.0 1.0 1.0) acording to xgamma and the systemsettings module.

Removing write permission from .kde4/share/config/kgammarc after setting gamma to 0.85 fixes the problem.


Reproducible: Always

Steps to Reproduce:
1. Set gamma to 0.85 using systemsettings.
2. rebot
3. Check gamma in systemsettings.

Actual Results:  
Gamma was back to 1.0 after reboot.

Expected Results:  
Gamma at 0.85 after reboot.
Comment 1 Nils Martin 2011-03-12 19:03:34 UTC
The overwrite of kgammarc occurs on logout/reboot, not during login. 
When removing write permission on kgammarc and rebooting, system settings reports the gamma value from kgammarc (0.85), but "xgamma -gamma" reports 1.0 and based on the actual brigthnes the gamma apears to be 1.0.
Comment 2 Christoph Feck 2012-11-11 00:49:03 UTC

*** This bug has been marked as a duplicate of bug 218668 ***