I replaced the default dynamic gallery - with Jammy jellies and other default wallpapers - by my own (probably erroneously composed) .xml. I did it in the GNOME tweaks app. Now I can't do anything: It logs me out and upon login it says that the system crashed and can't recover.
How to repair it from the TTY, starting from the step of entering it at all?
Ctrl+ Alt+ F2 worked before a reboot and now does not anymore.
UPD: I "solved" it by booting from a live USB and sudo rm /media/DISK-ID/home/USERNAME/.config/dconf/user. It hard-reset my GNOME settings and now it's fine again! But I am wondering nevertheless what would be the right algorithm.