Learn how to reset Ubuntu to default settings on Unity and GNOME Shell desktops. Run this command to get back to factory settings in Ubuntu 18.04 and above.
If you want to reset Ubuntu desktop to default try Resetter, a new app for Ubuntu & Linux Mint that helps you perform a 'factory reset' of sorts.