AMD laptop with Ubuntu 22.04 Gnome Wayland.
A few days ago I executed this command to change my primary login monitor to my external HDMI monitor:
sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config/
(This command sets the external monitor as the boot login monitor.)
How do I reverse this command? I want to change my primary monitor back to the laptop monitor.
See this page for more details: How to Display Login Screen in External Monitor in Ubuntu 22.04 | 22.10 | UbuntuHandbook