On 09/07/11 19:23, Gunnar Hjalmarsson wrote: > 1. For users who change display language once in a while - for whatever > reason - it provides a more convenient way for doing so than doing it > from the Language Support UI or its successor. There is a fresh bug > report about it, btw: https://launchpad.net/bugs/803858 If we can define "for whatever reason" and it is appropriate then we should support this feature. This is what we are missing. There are thousands of features we could add because they can be used for whatever reason, but that doesn't mean we add them. > Storing of language settings > ---------------------------- > As an input to the suggested code refactoring, I believe it's > appropriate to talk about where the user language settings are stored. > The primary place in Natty is /var/cache/gdm/$USER/dmrc, which file both > GDM and language-selector read from and write to. language-selector also > writes to ~/.profile, but as long as GDM is the dm, the language > settings in ~/.profile are ignored. > > One advantage with using /var/cache/gdm/$USER/dmrc in this way is that > the user language is dealt with correctly even if $HOME is not > available, e.g. because it's stored on a separate device that is not > mounted or because it's encrypted. > You really really shouldn't write to /var/cache/gdm/$USER/dmrc - it is a _cache_, which means it's a mirrored copy of ~/.dmrc. It is the responsibility of GDM to keep this synchronised and mirror any changes that are made to ~/.dmrc.
-- ubuntu-desktop mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-desktop
