Ubuntu – Terminal won’t open after localectl command change


I had problem, I have followed this advice, but after the restart terminal can not be opened.

If I run gnome-terminal from xterm:

Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Tactory0:Error calling StartServiceByName for org.name.Terminal:GDBUs

What should I do now?

Best Answer

First let's see which locales are enabled on your Ubuntu:

grep -v '^#' /etc/locale.gen

you should get something similar to:

en_US.UTF-8 UTF-8

use an editor to disable unnecessary locales by commenting them, also if your output does not contains en_US.UTF-8 UTF-8 then uncoment that line to enable it.

Now run:

sudo locale-gen
sudo localectl set-locale LANG=en_US.utf8

then reboot the system.

Related Question