[kubuntu-devel] Making IBus usable in Kubuntu

Scott Kitterman ubuntu at kitterman.com
Thu Aug 2 14:51:54 UTC 2012


On Thursday, August 02, 2012 11:27:18 PM AWASHIRO Ikuya wrote:
> On Thu, 02 Aug 2012 09:43:49 -0400
> 
> Scott Kitterman <ubuntu at kitterman.com> wrote:
> > We need to do two things:
> > 
> > For precise, we need to do the minimum change to get things working.  I
> > think your ~ppa1 package represents that and I've included those changes
> > in the KDE SC 4.8.5 packaging I'm working on.
> > 
> > For quantal, there's no need to be minimal.  We can concentrate on making
> > it work well, which it looks like your ~ppa2 pacakges are a good step in
> > the right direction.
> 
> I see.
> 
> > Unlike the other Ubuntu flavors we do try to miminize our GTK
> > dependencies.
> > Since ibus is only needed for some languages, I think it would be more
> > appropriate for Kubuntu to only install it for people selecting languages
> > that need it, but I didn't do any looking into how to do that.
> 
> According to below file, it is hard to do.
> /usr/share/language-selector/data/pkg_depends
> 
> Without dependency for IBus, we should do after install:
> 1. sudo apt-get install ibus
> 2. kde-language-selector
> It is not good user experience.

It looks to me like we can extend pkg_depends to install plasma-widget-
kimpanel-backend-ibus and ibus if appropriate language codes are selected.  
This means (I think - I didn't try it yet) it would just be a matter of 
running the language selector, which I think is reasonable.  Something like 
this would, I think, work:

# Kubuntu IM support
im:ja:kubuntu-desktop:ibus
im:ko:kubuntu-desktop:ibus
im:th:kubuntu-desktop:ibus
im:vi:kubuntu-desktop:ibus
im:zh-hans:kubuntu-desktop:ibus
im:zh-hans:kubuntu-desktop:ibus
im:zh-hant:kubuntu-desktop:ibus
im:zh-hant:kubuntu-desktop:ibus
im:te:kubuntu-desktop:ibus

im:ja:kubuntu-desktop:kimpanel-ibus-panel
im:ko:kubuntu-desktop:kimpanel-ibus-panel
im:th:kubuntu-desktop:kimpanel-ibus-panel
im:vi:kubuntu-desktop:kimpanel-ibus-panel
im:zh-hans:kubuntu-desktop:kimpanel-ibus-panel
im:zh-hans:kubuntu-desktop:kimpanel-ibus-panel
im:zh-hant:kubuntu-desktop:kimpanel-ibus-panel
im:zh-hant:kubuntu-desktop:kimpanel-ibus-panel
im:te:kubuntu-desktop:kimpanel-ibus-panel

We'll have to try it and see though.

Scott K



More information about the kubuntu-devel mailing list