GNOME Bugzilla – Bug 585263
Graceful handling of bad user keyboard layout
Last modified: 2009-06-15 16:18:08 UTC
If a user puts some broken keyboard layout in ~/.dmrc, then bad things can happen (worst case, it can end up in his gconf config if it was empty, and he'll get some xkb error dialog on each login). We can easily handle this, see the attached patch.
Created attachment 136215 [details] [review] Fallback to initial X config if user config is invalid
looks good s/init_layout/default_layout/
Thanks, I fixed the name as suggested. I also fixed a bug in the patch (layout with a variant were considered invalid).