You are not logged in.
Pages: 1
hi, i have a big problem, i have a macbook pro 3,1 running arch with nvidia driver, and i have an extern monitior, which i want to use, if plugged in on dvi.
i want to use the extern monitor only, no macbook screen, i know i can enable the monitor with nvidia-settings, but when i shutdown, disconnect the monitor, and for example have a journey with the train, then my macbook cannot be used, because the configured screen is the extern monitor, and the macbook screen is black. no hotplugging here
if theres no clean solution for this problem, maybe there is a cmd to switch to external monitor only, which i can enter manually every time i need the extern screen, and after reboot it switches back to macbook screen?
i hope someone can help me....
regards chief
Offline
You can try something like this in your .xinitrc
xrandr | grep DVI | grep " connected "
if [ $? -eq 0 ]; then
xrandr --output LVDS1 --off
xrandr --output DVI --auto
fi
Offline
Pages: 1