I am using Kubuntu 18.04. I had some trouble with my keyboard layouts which were solved but left some issues behind as a result. More specifically I have some language remnants is some aspects of my system. For example in Konsole I get all messages in Greek. I would like to get them in English. For example this message says (in Greek):
command not found
I tried changing the language but the methods I used did not seem to make a difference.
both on Konsole itself as well as in ~/.bashrc file which as far as I know changes to the default language which should be US English (good enough for me). For some reason my Konsole considers Greek to be my default language.
I tried explicitly setting:
which also did not change much! Messages are in Greek.
LC_ALL is the only one that seems to make a difference (although not a desired one):
export LC_ALL=C $ fdsfdfd
fdsfdfd: \u03b7 \u03b5\u03bd\u03c4\u03bf\u03bb\u03ae \u03b4\u03b5 \u03b2\u03c1\u03ad\u03b8\u03b7\u03ba\u03b5
this returns the messages in Unicode(?).
Some interesting facts are
- previously they were in Spanish (I had added Spanish as 3rd language before)
- The console in other tty are correctly displaying the messages in English.
Any idea how can I resolve this issue?
As @danzel asked the output of
$locale LANG=C LANGUAGE=en_US:es:el LC_CTYPE="C" LC_NUMERIC=el_GR.UTF-8 LC_TIME=el_GR.UTF-8 LC_COLLATE="C" LC_MONETARY=el_GR.UTF-8 LC_MESSAGES="C" LC_PAPER=el_GR.UTF-8 LC_NAME=el_GR.UTF-8 LC_ADDRESS=el_GR.UTF-8 LC_TELEPHONE=el_GR.UTF-8 LC_MEASUREMENT=el_GR.UTF-8 LC_IDENTIFICATION=el_GR.UTF-8 LC_ALL=
Also as @Gunnar Hjalmarsson suggested changing both
$LANGUAGE do seem to finally solve the problem although as this GNU documentation suggest it's probably enough to just change LANGUAGE which take precedence in message printing.