You are not logged in.

#1 2017-03-10 11:48:56

Squiffy
Member
Registered: 2017-03-10
Posts: 18

[SOLVED] uxterm tries unsuccessfully to use locale en_US.UTF-8

I've installed Arch, X and i3 on my Surface pro 4.
Each time i boot up, or press mod+enter on i3, i get a window titled "xmessage" saying the following:

uxterm tries unsuccessfully to use locale en_US.UTF-8
by setting $LANG to "en_US.UTF-8".

To actually use a terminal on i3, I have to run xterm in the dmenu

During instillation, I modified /etc/locale.gen my uncommenting line

en_GB.UTF-8

(this is the language I want to use) then ran

locale-gen

Running

echo $LANG

returns

C

Any help on this would be hugely appreciated, thank you.

Last edited by Squiffy (2017-03-10 12:50:30)

Offline

#2 2017-03-10 12:28:48

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: [SOLVED] uxterm tries unsuccessfully to use locale en_US.UTF-8

It seems that xterm wants to use a locale that is not available, so you can try setting up your locale. See the wiki for that.

Offline

#3 2017-03-10 12:48:24

Squiffy
Member
Registered: 2017-03-10
Posts: 18

Re: [SOLVED] uxterm tries unsuccessfully to use locale en_US.UTF-8

runical wrote:

It seems that xterm wants to use a locale that is not available, so you can try setting up your locale. See the wiki for that.

Thank you! Yes, had to make my /etc/locale.conf file and insert

LANG=en_GB.UTF-8

It now works

Offline

#4 2017-03-10 13:33:12

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: [SOLVED] uxterm tries unsuccessfully to use locale en_US.UTF-8

Sometimes the solution is that simple smile

BTW, you can also set your locale per user and it might be advisable to set the US locale as a fallback, in case someone assumes the US locale for some reason (or there are parts which aren't "translated")

Last edited by runical (2017-03-10 13:35:26)

Offline

Board footer

Powered by FluxBB