I have installed the `nvidia-beta` driver from AUR. My `xorg.conf`, which I have from the Arch Wiki, is as follows:
Section "Module"
Load "modesetting"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "AllowEmptyInitialConfiguration"
EndSection
This works fine when two monitors are connected and I start the laptop.
However, with this xorg.conf X11 does not start when no monitors are connected.
Also, when I unplug the monitors X11 does not detect the laptop screen and I first have to move the xorg.conf to e.g. xorg.conf_bak so that no xorg.conf would exist.
Then I have to restart X11/reboot.
This is very annoying since I have to reboot every time I connect/disconnect the laptop from the monitors.
I searched all wikis but could not find a solution. Can somebody help?