System ignore locale.conf

hi to everybody,
I have a very annoying problem:
setting up LANG via /etc/locale.conf (because I want system-wide configuration) is ignored
while setting up via ~/.bashrc works ...
this is what I get, without
export LANG=en_GB.UTF-8
in the ~/.bashrc, but with
LANG="en_GB.UTF-8"
in my /etc/locale.conf
[mattia@arch-dekstop ~]$ locale -a
C
POSIX
en_GB.utf8
[mattia@arch-dekstop ~]$ locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
instead with it in my ~/.bashrc, I get:
[mattia@arch-dekstop ~]$ locale -a
C
en_GB.utf8
POSIX
[mattia@arch-dekstop ~]$ locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

I found two similar threads:
https://bbs.archlinux.org/viewtopic.php … 1#p1252841
https://bbs.archlinux.org/viewtopic.php … 5#p1153155
Both blame incorrect sourcing /etc/profile
What's the output of 'localectl list-locales' and 'localectl status'?

Similar Messages

  • System ignores locale/language setting [solved?]

    Hi
    I updated my system a few days ago and since then all gtk2/3 applications ignores language settings. I have set correct locale in /etc/locale.conf, /etc/locale.gen (I haven't changed it since installation), locale command also returns correct values. Even if I force locale from command line (by changing LANG or LC_ALL), apps are still in english.
    When the problem appears I had Cinnamon desktop, but i tried also Gnome and Kde - same effect (in Kde problem affects gtk apps), I also tried to change login manager (lxdm, lightdm, gdm, kdm), also without positive result. Clearing user config also doesn't help. Any ideas?
    Thanks in advance.
    UPDATE: It seems whole system ignores locale (in kde I just can manually select custom locale and then it works in kde/qt apps), including console apps (I just didn't notice that before). Strange thing is that Thunderbird has also correct language settings although it is not kde/qt app (in contrast to e.g firefox, which even ignores general.useragent.locale variable).
    Last edited by Noctivivans (2013-09-16 23:24:36)

    locale-gen
    Generating locales...
    pl_PL.UTF-8... done
    Generation complete.
    locale
    LANG=pl_PL.UTF8
    LC_CTYPE="pl_PL.UTF8"
    LC_NUMERIC="pl_PL.UTF8"
    LC_TIME="pl_PL.UTF8"
    LC_COLLATE="pl_PL.UTF8"
    LC_MONETARY="pl_PL.UTF8"
    LC_MESSAGES="pl_PL.UTF8"
    LC_PAPER="pl_PL.UTF8"
    LC_NAME="pl_PL.UTF8"
    LC_ADDRESS="pl_PL.UTF8"
    LC_TELEPHONE="pl_PL.UTF8"
    LC_MEASUREMENT="pl_PL.UTF8"
    LC_IDENTIFICATION="pl_PL.UTF8"
    LC_ALL=
    locale -a
    C
    pl_PL.utf8
    POSIX
    I tried e.g. invoke
    LANG=pl_PL.UTF8 galculator
    from command line.
    Last edited by Noctivivans (2013-09-15 23:00:47)

  • Cannot set locale (ignored from /etc/locale.conf)

    I just installed Arch on my new machine and I wrote:
    ==> /etc/locale.conf
    LANG=es_CL.utf-8
    # LANG=es_CL.UTF-8 (I've tried with both).
    after uncommenting it on /etc/locale.gen and running # locale-gen
    (I basically followed every step in the wiki).
    No matter what I do when I start any terminal, I found the locale commands output:
    $ ~ locale
    LANG=
    LC_CTYPE="POSIX
    LC_NUMERIC="POSIX"
    LC_TIME="POSIX"
    LC_COLLATE="POSIX"
    LC_MONETARY="POSIX"
    LC_MESSAGES="POSIX"
    LC_PAPER="POSIX"
    LC_NAME="POSIX"
    LC_ADDRESS="POSIX"
    LC_TELEPHONE="POSIX"
    LC_MEASUREMENT="POSIX"
    LC_IDENTIFICATION="POSIX"
    LC_ALL=
    I found that if I open a tty, the /etc/profile.d/locale.sh is ran so, the locales are correct and locale shows the correct output.
    The weirdest thing is that my old machine doesn't load locale.sh, and still the locale it's right.
    I've search a lot through the wiki and bbs and even when there are couple of articles, none of them help me to solve this issue :(.
    I'm running my session through systemd --user (in case it means anything).
    EDIT: Add more info.
    EDIT2: Fix typo
    Last edited by pablox (2013-03-25 13:19:42)

    WorMzy wrote:
    Looks like it is, I removed it from my .zshrc and nothing changed.
    Could you check whether es_CL.UTF-8 is actually listed as an available locale?
    localectl list-locales
    And if so, whether it's correctly set
    localectl status
    $ localectl list-locales
    en_US.utf8
    es_CL.utf8
    $ localectl status
    System Locale: LANG=es_CL.UTF-8
    LC_COLLATE=C
    LC_MESSAGES=C
    VC Keymap: la-latin1
    X11 Layout: n/a
    $ locale
    LANG=
    LC_CTYPE="POSIX"
    LC_NUMERIC="POSIX"
    LC_TIME="POSIX"
    LC_COLLATE="POSIX"
    LC_MONETARY="POSIX"
    LC_MESSAGES="POSIX"
    LC_PAPER="POSIX"
    LC_NAME="POSIX"
    LC_ADDRESS="POSIX"
    LC_TELEPHONE="POSIX"
    LC_MEASUREMENT="POSIX"
    LC_IDENTIFICATION="POSIX"
    LC_ALL=
    $
    Ô_o
    I have removed an empty ~/.zprofile just in case but the issue persist. Running an empty zsh shell (with zsh -f) doesn't work either.
    Last edited by pablox (2013-03-26 23:59:45)

  • KDE and locale.conf

    Since last two months I've been having weird issue with KDE, special characters in files don't display correctly.
    I've upgraded my configuration files as it was told  here
    Now, my locale.conf looks like that:
    LANG="pl_PL.UTF-8"
    LC_MESSAGES=C
    It is working ok when I'm logged on terminal, but in KDE session locale command gives me:
    LANG=
    LC_CTYPE="POSIX"
    LC_NUMERIC="POSIX"
    LC_TIME="POSIX"
    LC_COLLATE="POSIX"
    LC_MONETARY="POSIX"
    LC_MESSAGES="POSIX"
    LC_PAPER="POSIX"
    LC_NAME="POSIX"
    LC_ADDRESS="POSIX"
    LC_TELEPHONE="POSIX"
    LC_MEASUREMENT="POSIX"
    LC_IDENTIFICATION="POSIX"
    LC_ALL=
    I'm not sure why, but KDE does not inherit locale settings, any idea what am I doing wrong?

    Maybe KDE takes the settings from rc.conf rather than locale.conf? I don't have the latter at all and it seems to pick up the settings from rc.conf so that I get LANG set en_GB.UTF-8 and everything else as C (since DAEMON_LOCALE is set to no in rc.conf).
    It definitely doesn't pick some of the locale stuff up, though, since it doesn't show the other generated locales in system preferences...

  • SSO for application systems with local users?

    Hi all,  I'm new to Oracle Identity Management.  My company is going to implement SSO for inhouse applications.  However, some applications have their own local users (e.g. admin, guest, etc.) who have to login to the application system through the same interface.  We put all organization users in an Oracle enterprise Directory server, which is the authentication backend of the Access Manager.   After implementing webgate, such local users can't get authenticated.  I'd like to know if it's possible to configure particular users/applications to bypass SSO and use local authentication?     Thanks.
    Rgds
    /ST wong

    Possible solution is to create a new entry point for local users. Create two proxies one for actual user entry and another for local user. You can restrict n/w access to proxy with local login so that only few hosts based on your requirement who needs to access system with local accounts. This way you will have two web sites for single application.

  • What should I set up in locale.conf to avoid conversion errors?

    When I try to use my Ruby script I always get a "invalid byte sequence in US-ASCII (ArgumentError) exception". I managed to track down that program arguments are passed in US-ASCII encoding. However Ruby scripts are using strings with UTF-8 encoding. Formerly those Ruby scripts worked fine, and I found out they keep working if I explicitly convert program arguments (passed as ARGV[]) to UTF-8 encoding.
    I think I have "locale" problems. Maybe I should set up LC_CTYPE somewhere in the config files.
    When I issue command "locale -a" I see:
    C
    POSIX
    en_US.utf8
    hu_HU.utf8
    /etc/locale.conf
    LANG=en_EN.UTF-8
    LANGUAGE=en_EN.UTF-8
    LC_CTYPE=en_EN.UTF-8
    However I added the last line recently, and I don't know how to "source" this kind of file, to manifest their content.

    As far as I know, the locale / LANG setting en_EN.* does not exist, at least it does not appear in my /etc/locale.gen.
    You probably want en_{US,GB}.UTF-8 (or anything else from /etc/locale.gen)
    Though, I am not sure whether this is related to your problem, since 'locale -a' gives correct output.
    Last edited by respiranto (2015-06-02 20:18:07)

  • OVMRU_002030E Cannot create OCFS2 file system with local file server: Local FS OVMSRVR. Its server is not in a cluster. [Thu Dec 04 01:33:10 EST 2014]

    Hi Guys,
    Im trying to create a repository .I have a single node OVM server and have presented two LUN's (Hitachi  HUS110 direct attached (via FC))
    I've created a server pool and unchecked the clustered server pool. I see the LUN's (physical disk from Oracle Virtual manager) .But when creating the repository i'm having this error
    "OVMRU_002030E Cannot create OCFS2 file system with local file server: Local FS OVMSRVR. Its server is not in a cluster. [Thu Dec 04 01:33:10 EST 2014]"
    Any steps i missed?Appreciate anyone's input
    Regards,
    Robert

    Hi Robert,
    did you actually add the OVS to the server pool, that you created?

  • No local.conf in /etc/fonts

    trying to get additioanl fonts and making everything look great but no local.conf in the above location!!
    Where did it go, how do I generate a new one, or do I have to write it from scratch?

    OK....now you confused me.  is Locale.conf just a simulink to another file/location?  I just pacmaned ttf and would like to utilize them.  On top of this, there are a couple of modifications to the above file that are recommended for LCD monitors to reduce fuzziness.
    Should there be a general unmodified version to work from, or is it written from scratch?

  • [SOLVED] Fontconfig warning: "local.conf"

    Hello Folks,
    every software I run from the terminal shows me a long list of the same message, before to run.
    Here an example:
    skype
    Fontconfig error: "local.conf", line 82: invalid attribute 'target'
    Fontconfig error: "local.conf", line 85: invalid attribute 'target'
    Fontconfig warning: "local.conf", line 181: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 194: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 213: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 229: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 291: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 426: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 530: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 544: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 558: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 614: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 628: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 635: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 229: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 291: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 426: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 530: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 544: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 558: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 614: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 628: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 635: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 642: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 656: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 663: invalid attribute 'name'
    Fontconfig error: "local.conf", line 687: invalid attribute 'name'
    Fontconfig error: "local.conf", line 706: invalid attribute 'name'
    Fontconfig error: "local.conf", line 730: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 742: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 749: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 756: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 776: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 799: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 806: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 813: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 833: invalid attribute 'name'
    Fontconfig error: "local.conf", line 879: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 903: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 916: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 931: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 943: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 959: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 966: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 973: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 992: invalid attribute 'name'
    Fontconfig error: "local.conf", line 1009: invalid attribute 'name'
    Fontconfig error: "local.conf", line 1026: invalid attribute 'name'
    Fontconfig warning: "local.conf", line 1290: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 1293: invalid attribute 'target'
    Fontconfig warning: "local.conf", line 1316: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 1524: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig error: "local.conf", line 1527: invalid attribute 'target'
    Fontconfig warning: "local.conf", line 1537: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 1654: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 1871: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 1905: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 1937: Having multiple values in <test> isn't supported and may not work as expected
    Fontconfig warning: "local.conf", line 1985: Having multiple values in <test> isn't supported and may not work as expected
    How could I solve it?
    Last edited by Astroarch (2014-09-11 17:56:30)

    Then , I solved deleting the file and reinstalling fontconfig.
    Byt he way, I do not post in the forum to be joked, if you mean to answer in such a way, better do not post at all.
    Thanks
    Last edited by Astroarch (2014-09-11 17:56:07)

  • When should SAP system ignore routing?

    If we intend to do a cost estimate (CK11N) for a material; with a procurement key E (in-house production) in MRP Tab 2, which has a valid routing; but no BOM and also no special procurement key maintained in the material master for the material: should system ignore routing during cost estimate?
    Material = M
    Procurement Key = E
    Special Procurement = Blank
    BOM = No valid BOM
    Routing = Yes.
    Should system ignore routing?
    Message was edited by: Nakul Chakoo
            NAKUL CHAKOO

    Thanks Suresh for your reply.
    But the reality is when I am costing the finished material 'M' which has a valid routing and no BOM and procurement key E; cost estimate does consider routing only and costs it. I myself believe that routing must be ignored and system should consider this material as externally procured even though procurement key is E. Even SAP documentation says so !!
    Please refer this document:
    http://help.sap.com/erp2005_ehp_02/helpdata/en/7e/cb938143a311d189ee0000e81ddfac/frameset.htm

  • Cannot GR due to the time difference between System Time & Local Time

    Hi All,
    We are facing any issue where the user can not do the GR as per the scheduling aggreement before 9:00am. We figured out the root cause being the difference btween the system time & local time but we are not sure. The system date is behind a day before 9:00am. For e.g. when it is 1st January 23:59 hrs system time, the local time is 2nd January 08:59 hrs. The system is not allowing GR for the earlier / later date.
    Can anybody tell us what could be the issue?
    Regards,
    Abhijit

    Closed

  • Dbus upgrade clobbering /etc/dbus-1/system.d/hal.conf

    When you upgraded to dbus-1.2.20-1 did your /etc/dbus-1/system.d/hal.conf get clobbered?

    Are you sure the first line in your .conf is required?

  • How to safely remove version of firefox that uses the system default locale?

    I have Firefox with Greek locale due to my location.
    I want to use Firefox in English, so I downloaded the English version and installed (in another HDD).
    I've already set it as a default browser, and thus, clicking at the firefox quick launch icon opens the english locale version.
    Now I would like to clean my system, simply removing the greek locale version (located at C HDD) but without losing any data/extensions/etc.
    How can I do that?
    Thank you for your time.

    Installing the English (en-US or en-GB) version over the top of the Greek version would have been easier as that would have been replaced the Greek language pack (located in the omni.ja archive).
    You can check the general.useragent.locale pref on the <b>about:config</b> page to make sure that it is set to the correct en-US (or en-GB) locale
    If you have the Greek version listed in Control Panel > Programs then you can uninstall this version here.<br />
    Make sure that you aren't removing your personal data when uninstalling as this will remove all Firefox profile folders.

  • KDM ignoring locales

    Hello.
    I have problem with locales after switching from manual loggin and starting X to KDM. It simply ignores exported locales from /etc/profile
    and sets all to POSIX. In other words I have in /etc/profile:
    export LANG="pl_PL.utf8"
    export LC_CTYPE="pl_PL.utf8"
    export LC_NUMERIC="pl_PL.utf8"
    export LC_TIME="en_GB.utf8"
    export LC_COLLATE="pl_PL.utf8"
    export LC_MONETARY="pl_PL.utf8"
    export LC_MESSAGES="en_GB.utf8"
    export LC_PAPER="pl_PL.utf8"
    export LC_NAME="pl_PL.utf8"
    export LC_ADDRESS="pl_PL.utf8"
    export LC_TELEPHONE="pl_PL.utf8"
    export LC_MEASUREMENT="pl_PL.utf8"
    export LC_IDENTIFICATION="pl_PL.utf8"
    unset LC_ALL
    and I end up with:
    [zergu]> locale
    LANG=
    LC_CTYPE="POSIX"
    LC_NUMERIC="POSIX"
    LC_TIME="POSIX"
    LC_COLLATE="POSIX"
    LC_MONETARY="POSIX"
    LC_MESSAGES="POSIX"
    LC_PAPER="POSIX"
    LC_NAME="POSIX"
    LC_ADDRESS="POSIX"
    LC_TELEPHONE="POSIX"
    LC_MEASUREMENT="POSIX"
    LC_IDENTIFICATION="POSIX"
    LC_ALL=
    I know I can add this exports in some-kde/kdm-file, but it changes every KDE update so it is not a good solution. Any ideas?

    KDE locale settings
    In .kde/share/config/kdeglobals
    [Locale]
    Country=in
    Language=hi
    have per lang files & link runtime.
    taken from
    http://www.indlinux.org/wiki/index.php/RangoliDevLog
    there is settings for locale in
    ~.kde/share/config/kdeglobals

  • Download Font file from SAP system to local system

    Hi,
    How to download Font files (.TTF) from SAP to local system.
    Is there any Reports or Tcodes available?
    I need to download font from one SAP system and upload it to another system.
    I am referring to Russian fonts.
    Kindly help me.
    Thanks

    Hi,
    use the FM 'CAT_DOWNLOAD'
    i think this will help
    Thanks

Maybe you are looking for