[Pkg-ime-devel] Bug#649036: Start fcitx before set Var ?
- Subject: [Pkg-ime-devel] Bug#649036: Start fcitx before set Var ?
- From: osamu@debian.org (Osamu Aoki)
- Date: Tue, 13 Dec 2011 00:45:44 +0900
- Message-id: <[🔎] 20111212154544.GB23234@goofy.lan>
- In-reply-to: <CAKiDycFb6rdvSVhvuyh4BDRp1U9qGJifeQK_S2Ly5qb=iYUj9A@mail.gmail.com>
- References: <CAKcpw6UBXH51MnysRJ5mKLGf-oZFd1T77+DnyOx9eQDyH6+nNw@mail.gmail.com> <20111117122704.GB3473@goofy.lan> <CAKiDycFb6rdvSVhvuyh4BDRp1U9qGJifeQK_S2Ly5qb=iYUj9A@mail.gmail.com>
On Thu, Nov 17, 2011 at 09:15:09PM +0800, Weng Xuetian wrote:
> Hi,
> The root cause is fcitx cannot found session's dbus-daemon is running.
>
> Basically fcitx has a walkaround for this, and retry 5 times, with 1
> second sleep. But YuQiang Su's desktop startup is quite slow that
> still didn't catch up the dbus test.
>
> And even I try to add eval `dbus-launch --sh-syntax
> --exit-with-session`, it still not work for him. Seems GNOME don't
> reuse existing dbus-daemon? (Not sure, because such walkaround works
> on opensuse.)
>
> Well, a quick and dirty walkaround will be add "-s 5" to
> /usr/bin/fcitx & delay more 5 second.
You mean
(sleep 5; /usr/bin/fcitx ) &
in start up code?
Is not it simpler to try 10 times by patching fcitx?
Osamu
Reply to: