From 06f8d003825509b591e132dfb65fcaed41773967 Mon Sep 17 00:00:00 2001 From: Jarno Rantanen Date: Fri, 10 Aug 2018 23:45:33 +0300 Subject: [PATCH] Redirect X startup messages to /dev/null. --- home/.bash_profile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/.bash_profile b/home/.bash_profile index df3fa39..03d63e4 100644 --- a/home/.bash_profile +++ b/home/.bash_profile @@ -2,5 +2,6 @@ # If this is a tty, and the one where we want to run X, do so if [ "$(tty)" == "/dev/tty1" ]; then - exec startx + # Redirect any output so it doesn't briefly appear when starting X + exec startx >/dev/null 2>&1 fi