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