After upgrading from 17.10 to 18.04 I can't open a terminal by any method.
After reinstalling and updating the problem is still unsolved.
What can I do to fix this?
This mostly happens if the language setting on your system got messed up, to fix this simply re-set your language settings (see Screenshot).
After this your terminal should work as expected.
So I came across the same issue and no language settings seemed to help. Turnout the issue was with my PPA. I had recently upgraded my python3 to 3.7.5 from 3.6. This would have been fine but then I make my default python3 to be 3.7 which made some issues. So the solution to this is: Run this command
sudo gedit /usr/bin/gnome-terminal
and than change #! /usr/bin/python3 to #! /usr/bin/python3.6 This seems to solve my isuue. Thanks!
pkexec your program
or sudo -H your program
. It would be better to set python3 version back to the ubuntu one.
sudo update-alternatives --config python3
and then pick the line for python3.6. It completely blows me away that installing Python3.7 or 3.8 and setting it as the default breaks terminal! And there is ZERO warning against this. To get a terminal, and enter the command, right click desktop and "open terminal" or install xterm.
Apr 17, 2021 at 17:32
Open XTerm and run the following code
sudo locale-gen
sudo localectl set-locale LANG="en_US.UTF-8"
And then reboot
This fix seemed to work for me. But did not survive a reboot.
When running localectl some entries showed as "n/a" - this seems to be key.
Any command-line activity can be run in xterm (Alt-F2, xterm).
Actual fix (for me):
(Credits to this thread: https://bbs.archlinux.org/viewtopic.php?id=180103)
I was facing the same problem, but accidently resolved it.
So try this one...
Right Click anywhere on the Desktop and select "Open Terminal". It is working for me, at least. Just to let you know, I am still unable to open terminal by clicking on the Terminal icon or through the Keyboard Shortcut.