From 0eac86dfcae2a3573e1927fdda1d7511066e35d1 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 9 May 2026 08:55:43 +0200 Subject: startx if in tty1 --- .profile | 3 +++ 1 file changed, 3 insertions(+) (limited to '.profile') diff --git a/.profile b/.profile index 1037781..67f84e9 100644 --- a/.profile +++ b/.profile @@ -52,3 +52,6 @@ n() { mshow .+1 | templess; } # Session cookies are kept in .ssh [ -f $HOME/.ssh/sessions ] && . $HOME/.ssh/sessions + +# startx if in tty1 +[ "$(tty)" = "/dev/tty1" ] && startx -- cgit v1.3