Gunnar Hjalmarsson [2010-11-29 13:52 -0000]: > During our talk in #ubuntu-desktop last friday, you mentioned the > possibility to drop ~/.profile for storing the user language environment > and use /var/cache/gdm/$USER/dmrc instead.
Note that this was just a strawman idea, I haven't looked into this at all. We can also keep this separate from this initial change, in order to avoid putting too many changes into one step. > I think that may be a practicable approach with the advantage that > there is a safe method in place for writing to disk. I added the > keys "Langlist" and "LCMess" to dmrc and rewrote > language-environment.sh (attached). It's an interesting idea indeed. I brought this up in the context of language-selector, to avoid having to parse/change ~/.profile there. Back then I didn't actually think about the gdm integration, but if it can be done in gdm itself, so much the better. This needs to be tested with other window managers, though, that they don't stumble over these new fields. > You mentioned that the "Language" value in dmrc must represent a valid > locale because of other *dms .. and also for backwards compatibility with older gdm. Imagine shared home directories on a network, which folks access from Lucid and Natty boxes. > , but I fear a problem there and don't quite follow you. Aren't we > working with the Ubuntu model for locale environment irrespective of > the desktop GUI? It would be nice, but since $GDM_LANG is specific to gdm, this won't automatically apply to kdm, lxdm, and others. -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing https://bugs.launchpad.net/bugs/553162 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs