If I try to run rofi in the terminal, I get this error:
Failed to set locale.
sudo locale-gen and that produced this output:
The above looks correct to me but am I missing something?
The output of
locale -a is:
I have also followed the guide here and I still get the error.
What am I doing wrong here?
Can we see the output of
Adding to above
You have the en_GB UTF-8 enabled twice in /etc/locale.gen - not that it makes much difference - but you may be expecting somthing else.
Here is an output of
locale: Cannot set LC_ALL to default locale: Invalid argument
LC_ADDRESS=en_GB.UTF-8/UTF-8\ LC_IDENTIFICATION=en_GB.UTF-8/UTF-8\ LC_MEASUREMENT=en_GB.UTF-8/UTF-8\ LC_MONETARY=en_GB.UTF-8/UTF-8\ LC_NAME=en_GB.UTF-8/UTF-8\ LC_NUMERIC=en_GB.UTF-8/UTF-8\ LC_PAPER=en_GB.UTF-8/UTF-8\ LC_TELEPHONE=en_GB.UTF-8/UTF-8\ LC_TIME=en_GB.UTF-8/UTF-8\
LC_ALL part may be a variable I tried to set to get it to work. I have tried
unset LC_ALL and that didn’t have any effect.
Now that is not how it should look - It looks very much like a Plasma fart
Edit that line in /etc/locale.conf to look like this
That might be because I explicitly uncommented a line in
/etc/locale.gen just to see if it helped.
Did I format it badly in the Markdown?
I don’t think so - please check the file
/etc/locale.conf in a terminal editor
sudo nano /etc/locale.conf
Here is the output from nano:
GNU nano 7.0 /etc/locale.conf
Leave only the first line (LANG=en_GB.UTF-8) in locale.conf.
I’ve just tried that and I still get the error. I will restart to see if that helps.
That was it. Thank you for helping me out
May it be coming with the username @Polymorphism to have duplicate entries in locale?
this looks also wrong the linebreaks should not be there… but you removed them so no issue anymore…
should be like so…
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.