[gdm] manager: add hack to quit plymouth after a delay

commit 862ba1bd67ec85b5784d3e8809a405f1845b1c43
Author: Ray Strode <rstrode redhat com>
Date:   Thu Mar 19 22:38:15 2015 -0400

    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.

 daemon/gdm-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
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);

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]