Neofetch: LC_ALL: cannot change locale (en_US.UTF-8)

Created on 30 Mar 2016  Â·  8Comments  Â·  Source: dylanaraps/neofetch

usr/bin/neofetch: line 1882: warning: snick@lvxixLC_ALL: cannot change locale (en_US.UTF-8)
----------- .o+ OS: Arch Linux x86_64
ooo/ Kernel: 4.4.5-1-ARCH +oooo: Uptime: up 1 hour, 21 minutes
`+oooooo: Packages: 1086

Bug

Most helpful comment

This worked for me:

echo "LC_ALL=en_US.UTF-8" >> /etc/environment
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
echo "LANG=en_US.UTF-8" > /etc/locale.conf
locale-gen en_US.UTF-8

Enjoy.

All 8 comments

Hi, I'll need some more info:

  • Neofetch version
  • echo "$LC_ALL"
  • locale

aur/neofetch 1.5-1 installed (6.96)

nick@lvxix ~ $ echo "$LC_ALL"

nick@lvxix ~ $ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

strange stuff

On Wed, Mar 30, 2016 at 4:42 PM, Dylan Araps [email protected]
wrote:

Hi, I'll need some more info:

  • Neofetch version
  • echo "$LC_ALL"
  • locale

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/204#issuecomment-203646400

I know what the issue is now, I'll fix it when I get home. :+1:

The issue should be fixed now! :)

Thanks.

sweet

On Thu, Mar 31, 2016 at 1:36 AM, Dylan Araps [email protected]
wrote:

The issue should be fixed now! :)

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/204#issuecomment-203783069

So i'm a retard, I had forgotten to uncomment the locale in locale.conf

sorry for the extra work

On Thu, Mar 31, 2016 at 10:13 AM, Rudy Lorren [email protected] wrote:

sweet

On Thu, Mar 31, 2016 at 1:36 AM, Dylan Araps [email protected]
wrote:

The issue should be fixed now! :)

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/neofetch/issues/204#issuecomment-203783069

All good, Neofetch should work around incorrect locale settings anyway. :)

This worked for me:

echo "LC_ALL=en_US.UTF-8" >> /etc/environment
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
echo "LANG=en_US.UTF-8" > /etc/locale.conf
locale-gen en_US.UTF-8

Enjoy.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Monty picture Monty  Â·  4Comments

pelomedusa picture pelomedusa  Â·  4Comments

Brottweiler picture Brottweiler  Â·  6Comments

dylanaraps picture dylanaraps  Â·  8Comments

dylanaraps picture dylanaraps  Â·  3Comments