While installing a package from ROS on Ubuntu 16.04 ARM, I first configure the repositories , set up locale , setup sources.list, setup the keys, install the package , initialize rosdep and setup environmental variables. ( http://wiki.ros.org/jade/Installation/UbuntuARM )
The locale has been set to LANG=C LANGUAGE=C LC_ALL=C LC_MESSAGES=POSIX
After the package has been installed, I restart my system and try to open the terminal to run commands, it just won't open. I click on the icon but the terminal GUI doesn't appear on the screen. How do I resolve this? Thank you in advance.
I faced a similar issue while installing some packages that modify the locale files. Had to google and roam around SO pages a lot until I found the solution here.
Basically, the issue is that the LANG or LC_ALL properties need to be set properly for many GUI apps like Terminal to work. Some package changes might corrupt these properties.
You need to inspect the output of
locale
command and make sure that at least the LANG property is set to your preferred locale language. Mine isen_US.UTF-8
oren_IN.UTF-8
.You can do the following steps to resolve the problem:
1.) generate a locale if it's not already available using the command,
locale-gen <locale_name>
You can get the names of available locales by using
locale -a
. I would suggestlocale-gen en_US.UTF-8
if you are not sure about your locale value.
2.) update the desired locale for
LANG
property. Use the commandupdate-locale <locale_name>
You may need to use sudo if necessary.
3.) Restart the PC and then try opening terminal.
If this doesn't work, please post the output of
locale
,locale -a
and contents ofetc/default/locale
for more info.