fixed main monitor on login screen

This commit is contained in:
RP1 2025-01-11 13:35:13 +01:00
parent 08c2845eae
commit f5eb2e648d

View file

@ -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