Thanks for taking the time to report this issue! This is the code in accountsservice (user_change_language_authorized_cb() in src/user.c): gchar *profile_path = g_build_path ("/", user->home_dir, ".profile", NULL); if (!g_file_test (profile_path, G_FILE_TEST_IS_REGULAR)) {
/* SetLanguage was probably called from a login greeter, and HOME not mounted and/or not decrypted. Hence don't save anything, or else accountsservice and ~/.pam_environment would become out of sync. */ throw_error (context, ERROR_FAILED, "not access to HOME yet so language not saved"); goto out2; } As you can see, the purpose of the test whether ~/.profile exists is to find out whether HOME is available (please note that /etc/skel includes the file .profile, at least in the latest Ubuntu releases). If there is a safer way to test for the availability of HOME, please let me know, and I'll be happy to submit a suitable merge proposal. ** Changed in: accountsservice (Ubuntu) Status: Triaged => In Progress ** Changed in: accountsservice (Ubuntu) Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1018621 Title: "Language for menus and windows" is not saved if .profile is missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1018621/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs