From f5eb2e648d9eda4887d29fd6583352b90fbcc0d1 Mon Sep 17 00:00:00 2001 From: RP1 Date: Sat, 11 Jan 2025 13:35:13 +0100 Subject: [PATCH] fixed main monitor on login screen --- 3progs.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/3progs.sh b/3progs.sh index b0f3f9a..e1b3630 100755 --- a/3progs.sh +++ b/3progs.sh @@ -612,13 +612,14 @@ fi if [[ $user_choice = *"Csak a FO Monitoron jelenjen meg a Login Screen - Tobb monitoros setupoknal"* ]]; then echo echo --------------------------------------------- - echo Installing ${bold}${yellow}Only main monitor on login${normal} + echo Setting ${bold}${yellow}Only main monitor on login${normal} zenity --warning --text='!! SWITCH TO PRIMARY MONITOR ONLY !!' --width='300' --height='100' - sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config/monitors.xml - sudo chown gdm:gdm /var/lib/gdm3/.config/monitors.xml + sudo mkdir -p /var/lib/gdm/.config/ + sudo cp ~/.config/monitors.xml /var/lib/gdm/.config/monitors.xml + sudo chown gdm:gdm /var/lib/gdm/.config/monitors.xml - echo ${bold}${yellow}Only main monitor on login ${normal}installed. + echo ${bold}${yellow}Only main monitor on login ${normal}set. echo --------------------------------------------- echo fi