On Ubuntu 18.04, I uninstalled python* which led to uninstallation of ubuntu-desktop and many other apps. I installed python3.8 and then ubuntu-desktop.
Now I can run command line on ctrl+alt+F3 but I cannot run it under graphical environment. I also tried
cp /etc/skel/.bashrc ~
Followed by logging again and it didn't help.
I also do not know the name of the graphical bash to try reinstalling.
What should I do?
Note: I also set python3.8 as alternative for python. Not sure that makes problem.
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 2
sudo update-alternatives --config python
And still having problem.