You are not logged in.

#1 2015-01-22 01:22:02

blah1898
Member
Registered: 2013-04-22
Posts: 14

IBus not showing tray icon on KF 5 [SOLVED]

I just reinstalled arch and decided to try KDE frameworks. Just installed IBus and configured it to run at startup. However, the IBus icon is not appearing on the system tray even when "Show icon on system tray" is checked in IBus preferences. The daemon seems to be running though, as when I do <Super>space the keyboard layout does change to the layout the selected input method uses.

My .xprofile is configured according to the wiki:

$ cat ~/.xprofile
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
ibus-daemon -drx

Which is properly being picked up by X on login

$ echo "GTK_IM_MODULE=$GTK_IM_MODULE \ 
> QT_IM_MODULE=$QT_IM_MODULE \
> XMODIFIERS=$XMODIFIERS"
GTK_IM_MODULE=ibus QT_IM_MODULE=ibus XMODIFIERS=@im=ibus

Any idea on how to get the ibus icon?

Last edited by blah1898 (2015-02-12 07:14:35)

Offline

#2 2015-01-28 08:36:38

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: IBus not showing tray icon on KF 5 [SOLVED]

Hi blah1898,

this is a bug in ibus https://code.google.com/p/ibus/issues/detail?id=1749.
The upstream has already released a patch that now is under testing, we just have to wait until the next release.

-- EDIT ---

I updated the Troubleshooting section of the ibus Archwiki page.

Last edited by mauritiusdadd (2015-01-28 09:33:14)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#3 2015-01-29 04:01:29

blah1898
Member
Registered: 2013-04-22
Posts: 14

Re: IBus not showing tray icon on KF 5 [SOLVED]

Thanks for the reply. I will mark this as solved when the update comes.

Update: I could get it to work with the kimpanel widget.

Last edited by blah1898 (2015-02-12 07:14:23)

Offline

#4 2015-02-19 14:55:39

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: IBus not showing tray icon on KF 5 [SOLVED]

Upstream merged the patch into the master branch. Until a stable release is out, a version of IBus fully compatible with Plasma5 can be built using the following instructions:

  1. Download the package sources with ABS

    ABSROOT=. extra/ibus
  2. Modifying the source array and the build function according to the following code

    source=("git+https://github.com/ibus/ibus.git")
    
    build() {
      cd ${pkgbase}
      ./autogen.sh \
        --prefix=/usr \
        --libexecdir=/usr/lib/ibus \
        --sysconfdir=/etc \
        --disable-gconf \
        --enable-dconf \
        --enable-wayland \
        --enable-gtk-doc \
        --disable-memconf \
        --enable-ui \
        --enable-python-library \
        --enable-appindicator \  # enables appindicator support
        --with-python=python3
      make
    }
  3. run makepkg and install the resulting packages (both ibus and libibus)

Now you can start ibus normally or (if it does not work) you can use the following command:

ibus-daemon --xim --replace --daemonize --panel=/usr/lib/ibus/ibus-ui-gtk3

EDIT: typo

Last edited by mauritiusdadd (2015-02-20 09:31:10)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

Board footer

Powered by FluxBB