[Bug 1076975] Re: Please port input method function to use im-config

Gunnar Hjalmarsson ubuntu at gunnar.cc
Mon Dec 10 19:39:51 UTC 2012


Comments at the im-config merge proposal, posted for the record
---------------------------------------------------------------

osamu (osamu) wrote on 2012-12-01:

Hi,

This cjkv is almost as an example code for me and it is not meant to be
default. Thai, India, ... many other locale may wish to enable IM.

Whoever install im-config with some IM packages has some needs to enable
IM. That is the official thought behind the current choice in Debian.

You can call this selfish choice because the other reason was that I use
en_US.UTF-8 but I need ibus-mozc :-)

If Ubuntu thinks that cjkv mode is better for its audience, please go
ahead with cjkv mode as default.

Since under normal install of Debian system, im-config and IM packages
are installed only under CJK... my current default is good one for
Debian situation. But Ubuntu being one install image for many locales,
you may wish to differ from Debian here.

(Somehow my post to Ubuntu sometimes rejected. If it does not show up
there, plese forward this to Ubuntu site.)


Gunnar Hjalmarsson (gunnarhj) wrote on 2012-12-01:

Thanks for your comment, osamu!

Please note that even if standard Ubuntu is a global distribution, and
most of its users don't use input methods, Ubuntu is/will be shipped
with IBus + im-switch/im-config. It would not be good IMO to use "auto"
as default, since then Ubuntu would suddenly start launching IBus for
users who don't even know what an input method is.

im-switch defaults to launch IBus for CJK languages only, and I
concluded that "cjkv" is a reasonable im-config default for Ubuntu. Yes,
I think it's motivated that we differ from Debian in this respect.

Of course, if you could add further appropiate locales to the list of
locales that trigger launch of an input method in the "cjkv" mode, it
would be even better. ;-)


osamu (osamu) wrote on 2012-12-02:

On Sat, Dec 01, 2012 at 04:50:33PM -0000, Gunnar Hjalmarsson wrote:
> Thanks for your comment, osamu!
>
> Please note that even if standard Ubuntu is a global distribution, and
> most of its users don't use input methods, Ubuntu is/will be shipped
> with IBus + im-switch/im-config. It would not be good IMO to use
> "auto" as default, since then Ubuntu would suddenly start launching
> IBus for users who don't even know what an input method is.

I agree your assessment. No objection here.

> im-switch defaults to launch IBus for CJK languages only, and I
> concluded that "cjkv" is a reasonable im-config default for Ubuntu.
> Yes, I think it's motivated that we differ from Debian in this
> respect.

I see.

> Of course, if you could add further appropiate locales to the list of
> locales that trigger launch of an input method in the "cjkv" mode, it
> would be even better. ;-)

I do not know which locale to activate. Please file wishlist bug to
Debian on which locales to activate under cjkv mode. Since this will be
Ubuntu default, I will listen to your decision on this matter.

Osamu
PS: Please repost this to your bug list so this message is in public
eyes if this does not show up in LP.


Gunnar Hjalmarsson (gunnarhj) wrote on 2012-12-02:

Your messages show up in Launchpad just fine.

On 2012-12-02 01:07, osamu wrote:
> On Sat, Dec 01, 2012 at 04:50:33PM -0000, Gunnar Hjalmarsson wrote:
>> Of course, if you could add further appropiate locales to the list
>> of locales that trigger launch of an input method in the "cjkv"
>> mode, it would be even better. ;-)
>
> I do not know which locale to activate.  Please file wishlist bug to
> Debian on which locales to activate under cjkv mode.  Since this will
> be Ubuntu default, I will listen to your decision on this matter.

I thought you were the expert. :) (I'm certainly not.)

I'll check it out and get back to you with a bug. Thanks!

-- 
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/1076975

Title:
  Please port input method function to use im-config

Status in Ubuntu Seeds:
  Fix Released
Status in “im-config” package in Ubuntu:
  Fix Released
Status in “language-selector” package in Ubuntu:
  Fix Released

Bug description:
  im-config is the successor of im-switch, featuring a much more elegant
  implementation and better handling of many details when launching
  input methods. Debian has moved to im-config for two years, and im-
  switch has been abandoned for such a long time.  There aren't, and
  won't get any update from Debian anymore, and we are preparing the
  removal of im-switch from Debian.

  Porting the function from im-switch to im-config won't be a pain, as
  im-config itself provides similar command line for setting input
  methods. All the work needed are about adapting current code to the
  new situation. Please don't waste time on fixing im-switch anymore,
  the more you fix it the more delta get generated, and the more it gets
  into a badly maintained status, IMHO.

  This topic has been discussed in https://lists.ubuntu.com/archives
  /ubuntu-devel/2012-October/036055.html

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




More information about the foundations-bugs mailing list