From a2730936bf3c9b3faab6493c11b79a88bcaa86c1 Mon Sep 17 00:00:00 2001 From: Ryo Nakano Date: Sat, 14 Mar 2026 09:19:09 +0900 Subject: [PATCH] InputMethod: Run "ibus start" instead of running ibus-daemon directly --- src/InputMethod/InputMethod.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/InputMethod/InputMethod.vala b/src/InputMethod/InputMethod.vala index 4c9c05a2..2331088e 100644 --- a/src/InputMethod/InputMethod.vala +++ b/src/InputMethod/InputMethod.vala @@ -360,7 +360,7 @@ public class Keyboard.InputMethodPage.Page : Gtk.Box { private void spawn_ibus_daemon () { bool is_spawn_succeeded = false; try { - is_spawn_succeeded = Process.spawn_sync ("/", { "ibus-daemon", "-drx" }, Environ.get (), SpawnFlags.SEARCH_PATH, null); + is_spawn_succeeded = Process.spawn_sync ("/", { "ibus", "start" }, Environ.get (), SpawnFlags.SEARCH_PATH, null); } catch (GLib.SpawnError e) { warning (e.message); set_visible_view (e.message); @@ -405,7 +405,7 @@ public class Keyboard.InputMethodPage.Page : Gtk.Box { KeyFileDesktop.GROUP, KeyFileDesktop.KEY_COMMENT, preferred_language, _("Use and manage input methods") ); - keyfile.set_string (KeyFileDesktop.GROUP, KeyFileDesktop.KEY_EXEC, "ibus-daemon -drx"); + keyfile.set_string (KeyFileDesktop.GROUP, KeyFileDesktop.KEY_EXEC, "ibus start"); keyfile.set_string (KeyFileDesktop.GROUP, KeyFileDesktop.KEY_ICON, "ibus-setup"); keyfile.set_string (KeyFileDesktop.GROUP, KeyFileDesktop.KEY_TYPE, "Application"); keyfile.set_boolean (KeyFileDesktop.GROUP, "X-GNOME-Autostart-enabled", enable);