forked from RP1/RaveOS-arch
fixed main monitor on login screen
This commit is contained in:
parent
08c2845eae
commit
f5eb2e648d
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue