So I was messing around in the Libre Office settings and enabled Open GL (Hoping for GL acceleration) . Once I restarted Libre office, It would load, but a window would appear briefly and close. I tried apt-get purge and that did not work. As Libre office did the same thing.
So how would I reset my libre office?
(PS: I use Ubuntu 16.04.1)