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