You are not logged in.

#1 2015-07-07 23:00:07

saleem
Member
Registered: 2011-09-21
Posts: 101

locale setting

Hi, How do I set locale on my system ? Im getting this error

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MONETARY = "en_PK.UTF-8",
    LC_MEASUREMENT = "en_PK.UTF-8",
    LC_TIME = "en_PK.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MONETARY = "en_PK.UTF-8",
    LC_MEASUREMENT = "en_PK.UTF-8",
    LC_TIME = "en_PK.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").

I followed wiki steps and forums thread instructions from page https://bbs.archlinux.org/viewtopic.php?id=139981 but the locale setting on my system is still messed up.

Offline

#2 2015-07-07 23:04:32

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: locale setting

https://wiki.archlinux.org/index.php/Be … ide#Locale
https://wiki.archlinux.org/index.php/Lo … the_locale

You may also want to share the command that lead to that error and the diagnostic output requested in the very thread you linked to.  And please use code tags.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2015-07-08 10:28:51

saleem
Member
Registered: 2011-09-21
Posts: 101

Re: locale setting

Thanks for the reply ,

I tried some more fixes but did not find a fix . No command brings this error , its just the terminal when I open terminal it pops out these errors along with routine cowsay stuff

            +               
               #               
              ###               
             #####             
             ######             
            ; #####;            User: saleem
           +##.#####            Hostname: home-pc
          +##########           Distro: Arch Linux
         #############;         Kernel: 4.0.7-2-ARCH
        ###############+        Uptime: 0:12
       #######   #######        Window Manager:
     .######;     ;###;`".      Desktop Environment: KDE
    .#######;     ;#####.       Shell: /bin/bash
    #########.   .########`     Terminal: xterm
   ######'           '######    Packages: 955
  ;####                 ####;   CPU: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
  ##'                     '##   RAM: 1232 MB / 3890 MB
#'                         `#  Disk: 8GB / 21GB

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MONETARY = "en_PK.UTF-8",
    LC_COLLATE = "C",
    LC_MEASUREMENT = "en_PK.UTF-8",
    LC_TIME = "en_PK.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_MONETARY = "en_PK.UTF-8",
    LC_COLLATE = "C",
    LC_MEASUREMENT = "en_PK.UTF-8",
    LC_TIME = "en_PK.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").

Offline

#4 2015-07-08 10:35:00

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: locale setting

Trilby wrote:

You may also want to share ... the diagnostic output requested in the very thread you linked to.

Really.

Trilby wrote:

please use code tags.

Really.

Don't bother thanking me for my reply if you are just going to ignore everything in it.

As for that output, there is no "routine" cowsay anything.  This is something you have added to you shellrc or other configuration.  So please share what that is.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2015-07-08 10:37:00

saleem
Member
Registered: 2011-09-21
Posts: 101

Re: locale setting

I think I found the reason a bit more , it has something to do with locale setting in KDE set time format settings

Offline

#6 2015-07-08 17:15:01

sesese9
Member
From: California, United States
Registered: 2015-04-01
Posts: 75
Website

Re: locale setting

Did you not set the locale setting when you installed Arch? Just wondering because that could be the problem...


Just trying to figure things out in this world

Offline

Board footer

Powered by FluxBB