Skip to content

Commit

Permalink
setup: Start ibus-daemon with the --daemonize option
Browse files Browse the repository at this point in the history
When starting ibus-daemon from IBus Preferences, it's started
with the command "ibus-daemon --xim". However, ibus-daemon is
killed once you close IBus Preferences.

This commit adds the "--daemonize" option, so ibus-daemon keeps
running also after IBus Preferences has been closed.

BUG=#2316
  • Loading branch information
gunnarhj authored and fujiwarat committed Aug 18, 2021
1 parent 32d54e0 commit e465011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def __init_bus(self):
GLib.timeout_add_seconds(timeout, lambda *args: main_loop.quit())
self.__bus.connect("connected", lambda *args: main_loop.quit())

os.spawnlp(os.P_NOWAIT, "ibus-daemon", "ibus-daemon", "--xim")
os.spawnlp(os.P_NOWAIT, "ibus-daemon", "ibus-daemon", "--xim", "--daemonize")

main_loop.run()

Expand Down

0 comments on commit e465011

Please sign in to comment.