I deleted the etc/X11 folder and now the UI doesn't work when I log with nvidia drivers installed

by Paulo Lucas   Last Updated September 13, 2019 15:02 PM

I was trying to change some configs of my GPU (Nvidia MX150) and I did something that made the screen freezes after login screen, so I deleted the folder with one of the files that I edited (xorg.conf), I thought if I delete this folder it was going to be rebuild somehow, but it doesn't happen. Now I'm only able to use the UI when I purge nvidia drivers. How can I recover this folder?

I know that I did something really stupid, but I appreciate any tips you can give me.

Related Questions

Updated November 25, 2017 17:02 PM

Updated May 03, 2015 00:00 AM

Updated August 22, 2017 17:02 PM

Updated August 13, 2017 12:02 PM

Updated March 27, 2015 10:00 AM