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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1551283

Title:
  ibus/im-config in Ubuntu GNOME

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-gnome/+bug/1551283/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to