From 8c6bd13b6ecb5757a8f52c30eec648d7f94a4da2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 26 Mar 2017 10:52:25 +0200 Subject: Automatically start xserver on tty1 --- profile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'profile') diff --git a/profile b/profile index eff00a8..b175d9b 100644 --- a/profile +++ b/profile @@ -7,3 +7,5 @@ pulseaudio --start 2>/dev/null mpd ~/.config/mpd/mpd.conf # Start email synchronization ~/.local/sbin/syncemail +# And if we are on first terminal also automatically start x server +[ "$(tty)" = "/dev/tty1" ] && startx -- cgit v1.2.3