Problem with "gnome-terminal" on Gnome 3.12.2
I have Ubuntu-Gnome 14.04 (Gnome 3.12.2).
When I try to run gnome-terminal
by following command :
$ gnome-terminal
Error constructing proxy for org.gnome.Terminal: /org/gnome/Terminal/Factory0:
Error calling StartServiceByName for org.gnome.Terminal:
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited:
Process /usr/lib/gnome-terminal/gnome-terminal-server exited with status 8
You have to add LANG=en_US.UTF-8
to /etc/default/locale
and reboot your system. (Solution from this Arch Linux forum post.)
Here is the list of commands which helps me:
sudo apt install dconf-cli
# Reinstalling terminal
dconf reset -f /org/gnome/terminal
sudo apt-get remove gnome-terminal
sudo apt-get install gnome-terminal
# Reconfiguring locale
sudo locale-gen --purge
sudo dpkg-reconfigure locales
reboot
As you can see I just reconfigured the locale
and reinstall gnome-terminal
This is a winner for me:
/usr/bin/dbus-launch /usr/bin/gnome-terminal &
as learned here
This might be an issue with your locales. Either add LANG=en_US.UTF-8
to /etc/locale.conf
and reboot or delete that file altogether (sudo rm /etc/locale.conf && sudo locale-gen en_US.UTF-8 && sudo dpkg-reconfigure locales
) and reboot.