Blame SOURCES/clear-screen.patch

75a7a3
From ff7510f5594fe62b82c811c166713eecd916c27b Mon Sep 17 00:00:00 2001
01018b
From: Ray Strode <rstrode@redhat.com>
01018b
Date: Fri, 14 Mar 2014 11:04:49 -0400
75a7a3
Subject: [PATCH] systemd: clear terminal after starting
01018b
01018b
This helps with flicker when the X server shuts down.
01018b
---
1e501a
 data/gdm.service.in | 1 +
1e501a
 1 file changed, 1 insertion(+)
01018b
01018b
diff --git a/data/gdm.service.in b/data/gdm.service.in
75a7a3
index fb0ffdcf..9c876c70 100644
1e501a
--- a/data/gdm.service.in
1e501a
+++ b/data/gdm.service.in
1e501a
@@ -1,33 +1,34 @@
1e501a
 [Unit]
1e501a
 Description=GNOME Display Manager
1e501a
 
1e501a
 # replaces the getty
1e501a
 Conflicts=getty@tty@GDM_INITIAL_VT@.service
1e501a
 After=getty@tty@GDM_INITIAL_VT@.service
1e501a
 
1e501a
 # replaces plymouth-quit since it quits plymouth on its own
75a7a3
 Conflicts=@PLYMOUTH_QUIT_SERVICE@
75a7a3
 After=@PLYMOUTH_QUIT_SERVICE@
1e501a
 
1e501a
 # Needs all the dependencies of the services it's replacing
75a7a3
 # pulled from getty@.service and @PLYMOUTH_QUIT_SERVICE@
1e501a
 # (except for plymouth-quit-wait.service since it waits until
1e501a
 # plymouth is quit, which we do)
1e501a
 After=rc-local.service plymouth-start.service systemd-user-sessions.service
1e501a
 
1e501a
 # GDM takes responsibility for stopping plymouth, so if it fails
1e501a
 # for any reason, make sure plymouth still stops
1e501a
 OnFailure=plymouth-quit.service
1e501a
 
1e501a
 [Service]
1e501a
 ExecStart=@sbindir@/gdm
75a7a3
+ExecStartPost=-/bin/bash -c "TERM=linux /usr/bin/clear > /dev/tty1"
75a7a3
 KillMode=mixed
1e501a
 Restart=always
1e501a
 IgnoreSIGPIPE=no
1e501a
 BusName=org.gnome.DisplayManager
1e501a
 StandardOutput=syslog
1e501a
 StandardError=inherit
1e501a
 EnvironmentFile=-@LANG_CONFIG_FILE@
01018b
 
01018b
 [Install]
01018b
 Alias=display-manager.service
01018b
-- 
75a7a3
2.11.1
01018b