[Pkg-ime-devel] Bug#862721: ibus-daemon should start automatically

Ralf Jung post at ralfj.de
Tue May 16 18:53:14 UTC 2017


Hi,

thanks for the quick response!

> On Tue, May 16, 2017 at 10:00:24AM +0200, Ralf Jung wrote:
>> Package: ibus
>> Version: 1.5.14-2
>> Severity: important
>>
>> Dear Maintainer,
>>
>> Right now, just installing ibus and setting it up (im-config, ibus-setup)
>> results in a broken system (keyboard not working) after logging back out and in.
> 
> Hmmm??? If properly logging back out and in, ibus should start!

That is good news!
How is this happening, i.e., which place is responsible for starting
ibus-daemon?

> Did you add particular keyboard method or IM activated?
> 
> Did you follow /usr/share/doc/ibus/README.Debian.gz

I followed some tutorial on the web, but that seems very similar.  I do
not understand this part:

>     - The system wide keyboard setting is in /etc/default/keyboard. Change it:
>       $ sudo dpkg-reconfigure keyboard-configuration

"Change it", it says.  Change it to *what*?  I went over it and changed
nothing because it all looked all right.

(Btw, the prompt appearing when I do "reportbug ibus" refers to a file
"/usr/share/doc/ibus/README.Debian" which does not exist.  I assume it
means "/usr/share/doc/ibus/README.Debian.gz".)

>> The problem is that ibus sets the environment variables to make ibus the input
>> method, but it fails to start ibus-daemon automatically.
> 
> You need to restart complete GDM session which is non-trivial.  That's
> why I recommend reboot for most people in the above linked DOC.

The doc does not contain the word "reboot".  It says

> * Always restart ibus if you changes its settings.
>   If you are not sure how, exit your desktop environment and relogin to the
>   user account to have a refreshed X session.

which I did.  I will try rebooting later.

> These may worked for you since they start ibus daemon.  But these may be
> good for some apps but do they make ibus work on process started by the
> dbus etc. (Some telephony program) How much test did you do to assert
> this?

So the daemon needs to be started before all applications?  Hm.
My testing consisted of:  Logging out and back in; things do not work.
Adding an autostart file, now many things do work.  Maybe some don't, I
didn't notice any yet.  I don't think I have any UI stuff started by
dbus though.

> If you properly restart X session's start up code, this script starts
> ibus daemon.
> 
> I agree the way we need to configure ibus is ugly.

Well, it has generally worked fine for me -- install stuff, and
re-login.  im-config told me things were all right, but from all I can
tell, it did not do anything.  When I went to im-setup, IIRC it already
contained the German keyboard layout (could be wrong though).  So apart
from the autostart issue, things were all right.

; Ralf



More information about the Pkg-ime-devel mailing list