I recently made a big mistake by upgrading ubuntu from 16.04 to 18.04. After the upgradation to 18.04, like many I also had the same high memory/cpu problems. My system started to lag and memory usage of gnome-shell increased as I work on the ubuntu. Because reinstallation was not an option, I followed this blog post to remove gnome-shell and install unity desktop. So far its working fine and unity become the default desktop environment.
I removed gnome using
sudo apt remove gnome-shell but when I try
locate gnome I still can see many files and folders associated with gnome. What is the safest way to completely remove gnome and its associated packages from ubuntu 18.04 without bricking the system?