On 2016-03-07 10:48, Tim wrote: > >> Then I suppose that replacing >> >> "$XDG_CURRENT_DESKTOP" != 'GNOME' >> >> with >> >> "${XDG_CURRENT_DESKTOP%%-*}" != 'GNOME' >> >> takes care of it. > > well that assumes that there is a hyphon in the name, while that is > the case for the ones I know of, its not necessarily guaranteed. > Thus: > > "${XDG_CURRENT_DESKTOP##*:}" should be safer, GNOME (or Unity) should > always be last since its essentially a fallback value
I proposed 'the hyphen way' to include GNOME Flashback. An alternative, until it has been changed for Flashback, would be: "${XDG_CURRENT_DESKTOP##*:}" != 'GNOME' and "${XDG_CURRENT_DESKTOP%%:*}" != 'GNOME-Flashback' >> (I failed to change the display language with Region & Language, >> and had to do it manually. However, using Region & Language for the >> purpose worked after I had used gnome-language-selector to switch >> language once, and thus created ~/.pam_environment and set the >> "Language" and "FormatsLocale" values in >> /var/lib/AccountsService/users/gunnar!? But that's a separate >> issue.) > > Does gnome-control-center need to create ~/.pam_environment? No, that is done by accountsservice (the Ubuntu version of it). l-s doesn't write to ~/.pam_environment directly - no reason why g-c-c would either. I haven't digged deep into the reason why it fails when there are no user specific settings previously. But when I started g-c-c from command line, I noticed an incorrect error message which said something like "ja_JP.UTF-8 is not installed" ... Probably there is a subtle bug in the current patch. > It would be good to allow users the option of using fcitx (even if > poorly integrated), however lets just get the default session working > for now! Right. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-session in Ubuntu. https://bugs.launchpad.net/bugs/1551283 Title: ibus/im-config in Ubuntu GNOME Status in Ubuntu GNOME: New Status in gnome-control-center package in Ubuntu: Invalid Status in gnome-session package in Ubuntu: New Status in im-config package in Ubuntu: In Progress Status in language-selector package in Ubuntu: In Progress Bug description: In the gnome-language-selector one is able to set the "Keyboard input method system". For instance on my system I can either set it to "none", "IBus", or "fcitx". However there is no such option in the gnome-control-center's Region & Language section, though I think that there should be. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-gnome/+bug/1551283/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp