[Bug 1551283] Re: ibus/im-config in Ubuntu GNOME
Gunnar Hjalmarsson
1551283 at bugs.launchpad.net
Tue Mar 8 13:06:10 UTC 2016
On 2016-03-08 08:34, Tim wrote:
> However not really sure if the Flashback stuff is correct (edubuntu
> guys maintain that), but note on flashback is now using
>
> XDG_CURRENT_DESKTOP=GNOME-Flashback:Unity
Understood.
> It is still using unity-settings-daemon/unity-control-center and
> presumably language-selector-gnome, so I guess it just uses the same
> config as Unity does? Now I wouldnt be surprised if there are
> snippets of code all over the place that don't support the above
> format, since they never broke on core ubuntu desktop.
>
> Otherwise
> + if os.environ.get('XDG_CURRENT_DESKTOP')[-5:] in ['Unity',
> 'MATE', 'GNOME'] \
> + or locale.getlocale(locale.LC_CTYPE)[0][:3] in ['zh_',
> 'ja_', 'ko_', 'vi_']:
>
> os.environ.get('XDG_CURRENT_DESKTOP').split(':')[-1]
>
> Would seem a little safer with the know use-cases
Yeah, your code is better. At the same time I now realize that this
includes GNOME Flashback, which was not intended, so I just uploaded a
new language-selector version to the PPA.
> ++if [ "$XDG_CURRENT_DESKTOP" = 'Unity' -o "$XDG_CURRENT_DESKTOP" =
> 'MATE' -o "${XDG_CURRENT_DESKTOP##*:}" = 'GNOME' ]; then
>
> that won't match for Flashback (I don't know if its meant to
> though?)
Right, it's deliberately.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to language-selector 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
More information about the foundations-bugs
mailing list