From 862ba1bd67ec85b5784d3e8809a405f1845b1c43 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mar 20 2015 02:42:34 +0000 Subject: manager: add hack to quit plymouth after a delay Right now wayland sessions register with GDM before they're actually ready, so we quit plymouth too soon. Until we can fix that, this commit adds a sleep 5 hack to quit plymouth a little after registration. https://bugzilla.gnome.org/show_bug.cgi?id=746498 --- diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c index 8c36e06..e9ed29d 100644 --- a/daemon/gdm-manager.c +++ b/daemon/gdm-manager.c @@ -189,7 +189,7 @@ plymouth_quit_with_transition (void) GError *error; error = NULL; - res = g_spawn_command_line_async ("/bin/plymouth quit --retain-splash", &error); + res = g_spawn_command_line_async ("sleep 2; /bin/plymouth quit --retain-splash", &error); if (! res) { g_warning ("Could not quit plymouth: %s", error->message); g_error_free (error);