From 42ee4ca7342f2eaa59cf73d705c3cbd6f942219b Mon Sep 17 00:00:00 2001 From: Tian jianyong <11429339@qq.com> Date: Thu, 11 Dec 2025 15:04:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20start.sh=20=E4=B8=AD=20dis?= =?UTF-8?q?play=5Ffound=20=E5=8F=98=E9=87=8F=E7=9A=84=E8=B5=8B=E5=80=BC?= =?UTF-8?q?=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.sh b/start.sh index 4b1997d..c55251a 100644 --- a/start.sh +++ b/start.sh @@ -32,8 +32,8 @@ for pid in $(pgrep Xorg); do if [ -r /proc/$pid/environ ]; then disp=$(tr '\0' '\n' < /proc/$pid/environ | grep '^DISPLAY=' | cut -d'=' -f2-) if [ -n "$disp" ]; then - # display_found="$disp" - echo "Chosen " + display_found="$disp" + echo "Chosen from Xorg process: $disp" break fi fi