You are not logged in.

#1 2015-02-18 17:32:46

Vamp898
Member
Registered: 2009-01-03
Posts: 1,032
Website

iBus Autostart not working with Plasma 5

If you follow this steps

https://wiki.archlinux.org/index.php/IBus#Initial_setup

Your plasma5 will no longer startup anymore, it will cause multiple crashes until the ibus-daemon command gets removed again.

Beside the crashes i see this in the xsession-errors

Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon

If you put ibus-daemon in the KDE Autostart, it simply just wont run.

So afaik right now there is no proper way to autostart ibus on KDE5, can anyone confirm this?

Last edited by Vamp898 (2015-02-18 17:39:06)

Offline

#2 2015-02-18 18:20:02

Vamp898
Member
Registered: 2009-01-03
Posts: 1,032
Website

Re: iBus Autostart not working with Plasma 5

Also i noticed if i run an Konsole after ibus it started, ibus works in this konsole fine. If i kill ibus now, the konsole crashes...

Offline

#3 2015-02-18 20:24:25

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

Re: iBus Autostart not working with Plasma 5

Hi Vamp898,

currently ibus has some problems with the new KF5/Plasma5 inteface. You can try to start ibus with the following command (that should not crash but it will not provide a system tray icon):

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

If you want a version compatible with Plasma5 instead, you have to apply a patch and recompile it yourself (see https://bbs.archlinux.org/viewtopic.php … 1#p1504371)

I hope it helps.

EDIT: upsteam pacth merged into master

Last edited by mauritiusdadd (2015-02-19 19:08:45)


About me - github

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

Offline

#4 2015-02-18 20:42:09

Vamp898
Member
Registered: 2009-01-03
Posts: 1,032
Website

Re: iBus Autostart not working with Plasma 5

I dont need the Tray icon, but

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

sadly doesnt help.

KDE again gets stucked on the splash screen while several errors from KWin and other crashing KDE applications get written to .xsessions-errors.

Is it possible to start ibus without any panel at all?

Last edited by Vamp898 (2015-02-18 20:42:26)

Offline

#5 2015-02-19 14:50:05

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

Re: iBus Autostart not working with Plasma 5

I'm sorry, for what I know it is not possible to start ibus without a panel interface.
However it is strange that ibus works after KDE is started, so it would be helpful if you can provide some information:

  1. How do you start KDE? Do you use a display manager or do you use startx and .xinitrc?

  2. If you use startx, can you post your ~/.xinitrc?

  3. Can you post the content of ~/.xprofile ?

  4. Can you post the output of the following commands?

    ls ~/.config/autostart
    ls ~/.kde/Autostart
    ls ~/.kde4/Autostart
  5. You said that several errors from KWin and KDE are written to .xsessions-errors: can you post your .xsessions-errors?

-- EDIT --

Vamp898 wrote:
ibus-daemon --xim --replace --panel=/usr/lib/ibus/ibus-ui-gtk3

sadly doesnt help.

KDE again gets stucked on the splash screen while several errors from KWin and other crashing KDE applications get written to .xsessions-errors.

Ooops, forgive me but it seems I missed an option in the command above, the correct one is the following

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

Last edited by mauritiusdadd (2015-02-19 19:15:57)


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