1
0
Fork 0
forked from RP1/RaveOS-arch

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 if [[ $user_choice = *"Csak a FO Monitoron jelenjen meg a Login Screen - Tobb monitoros setupoknal"* ]]; then
echo echo
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' zenity --warning --text='!! SWITCH TO PRIMARY MONITOR ONLY !!' --width='300' --height='100'
sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config/monitors.xml sudo mkdir -p /var/lib/gdm/.config/
sudo chown gdm:gdm /var/lib/gdm3/.config/monitors.xml 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 ---------------------------------------------
echo echo
fi fi