← Back to team overview

ubuntu-vn team mailing list archive

[Bug 875435] Re: iBus indicator does not show on the panel

 

I've done a quick-and-dirty backport for im-switch based on Aron Xu's
patch.

1.
sudo mv 80im-switch /usr/bin/im-launch

2.1
Add the following code at the beginning of im-launch:
######
if [ "x$1" = "x-h" ] || [ "x$1" = "x--help" ] || [ "x$1" = "x" ]; then
    echo "Unknown option: $1"
    echo "Usage: $0 SESSION-PROGRAM"
    exit 1
fi

IM_START_SESSION="$@"
######

2.2
Add the following code at the end of im-launch:
######
exec $IM_START_SESSION
######

3.
sudo cp /path/to/70im-config_launch /etc/X11/Xsession.d/70im-switch_launch

I guess the equivalence between im-config 0.18 and backported im-switch
is obvious.

I haven't done any serious test yet; it works for my several sessions.
( If you test it and find your LightDM unusable then, move 70im-switch_launch out of /etc/X11/Xsession.d)

-- 
You received this bug notification because you are a member of Ubuntu
Việt Nam, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/875435

Title:
  iBus indicator does not show on the panel

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/875435/+subscriptions