GNOME Bugzilla – Bug 637780
Cannot permenantly update settings for the gdm user login session
Last modified: 2011-09-12 17:11:54 UTC
From Steve on the Orca list: --------------------- I'm seeing another problem with the new settings deal. It seems that if one uses gdm, it keeps overlaying the settingss. I will list below my steps to demonstrate what I mean. 1. Sart up gdm by whatever means perscribed by your distro. 2. Assuming your gdm has been preconfigured to launch orca, Orca should begin speaking. Note that the settings dialog will not come up automatically but can be started with the Orca+Space-bar key. I believe this is by design for gdm session. 3. Go ahead and make whatever changes you wish to Orca; for me, I turn off some of the keyboard echo stuff. 4. Save the settings; hit Apply or OK to commit the changes and then get out of the gdm session without logging into a normal user session. 5. From a console, kill and restart gdm. 6. Notice that Orca reverts back to factory settings. Further observations show me that in /var/lib/gdm, my home directory for gdm, the file .local/share/orca/user-settings.conf is getting overwritten every time orca starts. So it overlays previously committed changes. I even saved the default profile with my new preferences in case that might make a difference but That had no effect. I even turned off all write permissions on user-settings.conf but then starting Orca caused some errors with no speech so I don't know the errors. Bottom line: I cannot permenantly update settings for the gdm user login session. ---------------------
Ale, you're becoming a GDM ninja. ;-) Assigning this one to you with a target of 2.91.5. Hope you don't mind. If you don't have time, please re-assign it to me and I'll add it to my list. Thanks either way!
I should add that if one starts orca by starting gnome withe 'startx' command, Orca saves the settings just fine. In this case the settings are being saved under the normal user's home directory, of course. So it is just the gdm user where this problem persists.
Created attachment 182684 [details] [review] Adding bypassSetup check at start time Here's my proposal patch for this issue. PLease take a look, it works for me. Regards!
Created attachment 182689 [details] [review] Fix for bug #637780
Created attachment 182691 [details] [review] Fix for bug #637780 Replacing "isProfileLoad" by "skipReloadMessage"
Created attachment 182692 [details] [review] Fix for bug #637780 I hope this is the definitive patch ... ;)
Comment on attachment 182692 [details] [review] Fix for bug #637780 http://git.gnome.org/browse/orca/commit/?id=3e59e40daf95c3f5aeef0189d54d1bb59f1dc7ac