Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

關於 AppIndicator 無法使用的問題 #256

Open
tytsim opened this issue Feb 3, 2012 · 2 comments · Fixed by #466
Open

關於 AppIndicator 無法使用的問題 #256

tytsim opened this issue Feb 3, 2012 · 2 comments · Fixed by #466
Labels

Comments

@tytsim
Copy link
Contributor

tytsim commented Feb 3, 2012

(hime:18359): GLib-WARNING **: In call to g_spawn_sync(), exit status of a child process was requested but SIGCHLD action was set to SIG_IGN and ECHILD was received by waitpid(), so exit status can't be returned. This is a bug in the program calling g_spawn_sync(); either don't request the exit status, or don't set the SIGCHLD action.

(hime:18359): WARNING **: Unable to get the session bus: Abnormal program termination spawning command line `dbus-launch --autolaunch=(blahblahblah) --binary-syntax --close-stderr':

Reproduce step:

  • 使用 im-config
  • 直接把 hime& 塞進 .xinputrc

我救不活。

@caleb-
Copy link
Contributor

caleb- commented Feb 3, 2012

看不懂…dbus 的問題?

@tytsim
Copy link
Contributor Author

tytsim commented Feb 3, 2012

大概... 畢竟 appindicator 在用 dbus
似乎是於.xinputrc時啟動的hime無法正常取得dbus的session
醜陋的workaround:

TMP=`dbus-uuidgen --get`
export DBUS_SESSION_BUS_ADDRESS=`dbus-launch --autolaunch=$TMP --binary-syntax --close-stderr`

letoh added a commit to letoh/hime that referenced this issue Jun 7, 2013
letoh added a commit to letoh/hime that referenced this issue Jun 8, 2013
this patch will fixes hime-ime#256 hime-ime#327 hime-ime#464, and maybe hime-ime#432 (i can't reproduce this issue)
@ghost ghost closed this as completed in #466 Jun 9, 2013
@ghost ghost reopened this Jun 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants