[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)

Similar Messages

  • [Solved] Gtk-WARNING **: Locale not supported by C library

    Hi all,
    Since the gnome 3.2 update I have the following error while working on the terminal:
    "Gtk-WARNING **: Locale not supported by C library"
    I have follow the wiki but nothing change, any idea?
    Regards,
    Last edited by sweetthdevil (2011-10-07 16:48:52)

    fixed - the problem was with the system settings > Region and language
    All needed to be set there...

  • Gtk-WARNING **: Locale not supported by C library.

    Hi, I'm pretty new to Linux and I could really use some help on this one! This is my second Arch install. After the first, which I installed to learn about Linux,  I figured there'd be more user-friendly and complete distro's (like SUSE, Debian, etc.). I was wrong
    Anyway, this is my second install, but ever since I installed it (and X11, ati-fglrx, gnome and gnome-extra) certain apps give my this error when run from a console. All of them start and work perfectly, except one: gnome-keyboard-properties. I fails to run and starts a bug buddy report window, while outputting the following messages on the console:
    [***@*** ~]$ gnome-keyboard-properties
    (gnome-keyboard-properties:4727): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
    (gnome-keyboard-properties:4727): Gdk-WARNING **: locale not supported by C library
    (gnome_segv2:4728): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
    (gnome_segv2:4728): Gdk-WARNING **: locale not supported by C library
    (bug-buddy:4729): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
    (bug-buddy:4729): Gdk-WARNING **: locale not supported by C library
    ** (bug-buddy:4729): WARNING **: Couldn't load icon for Open Folder
    Failed to read a valid object file image from memory.
    I've generated the en_US.utf8 locale using locale-gen, edited rc.conf accordingly and I used the hwd-generated keyboard entry for xorg.conf that worked on my previous install.
    I've been trying things with my xorg.conf. I used to leave XkbLayout and XkbVariant empty, like in the hwd-generated example, but now I'm using this:
    Section "InputDevice"
    Identifier "Cherry"
    Driver "keyboard"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option "XkbVariant" "intl"
    EndSection
    This has a noticable effect: both ' and " require an extra spacebar hit. Pretty anoying, but this at least shows is had effect on gnome. Also, the Keyboard Indicator Applet shows the layout correctly.
    I've tried other things, like uninstalling gnome and gnome-extra using pacman -Rnd as to leave no trace, and reïnstalling it. And I can't find anything on Google...
    PS I'm running this on an athlon64 with a radeon x700, ftp-install from a 0.7.2 i686 base CD.

    I've done a total reïnstall - again. gnome-keyboard-properties works again! However, I still get these errors when opening Gtk-apps:
    (gksu:4669): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
    I've left xorg.conf's XkbLayout emply, which defaults to "us". There's a related option called "KEYMAP" in rc.conf, which has "us" as default, too. As I said, gnome-keyboard-properties now works and correctly displays "Generic 105-key.." etc. and "U.S. English".
    I think I now have /etc/hosts' loopback correctly setup:
    127.0.0.1 localhost.localdomain myhostname
    192.168.x.xxx myhostname.localdomain myhostname
    I'm really out of ideas here. Does anyone know whether this is normal or harmful?
    [[ EDIT ]]
    Solved. I actually forgot to generate the locales this time. I don't know what it was last time...
    Last edited by ppvg (2007-02-05 21:21:21)

  • 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)

  • Gdk-WARNING **: locale not supported by C library

    How I can set LC_CTYPE in ArchLinux.
    When I try to run apps with. I get warning and not get unicode support.
    $ env LC_CTYPE=en_US.UTF-8 some_app   
    (process:1256): Gdk-WARNING **: locale not supported by C library
    (process:1256): Gtk-WARNING **: Locale not supported by C library.
            Using the fallback 'C' locale.

    phrakture wrote:The "locale not supported" message means you did not generate the locale info for the locale you're running under.
    For my information, where its said to do this? When installing a fresh install and all packages updated, the locale problem is there. Is this a bug or something what everyone supposed to know?
    Why the default locale configure is not enough in /etc/rc.conf, why to bother about /etc/locale.gen?
    rc.conf wrote:LOCALE="en_US.utf8"
    EDIT:
    I took a look at /etc/locale.gen. I don't know what to uncomment, its like reading a foreign language.

  • [solved]Fontconfig problems (Ugly GTK Apps)

    So I just installed the LCD filter patched packages on my new comp, but I'm trying to determine why some of my GTK apps still look really bad..
    Firefox looks great, but pretty much any other app looks like crap, the fonts are barely readable. Below is my font configuration..
    My .fonts.conf
    <?xml version="1.0"?>
    <fontconfig>
    <match target="font" >
    <edit mode="assign" name="rgba"><const>rgb</const></edit>
    <edit mode="assign" name="hinting"><bool>true</bool></edit>
    <edit mode="assign" name="hintstyle"><const>hintslight</const></edit>
    <edit mode="assign" name="antialias"><bool>true</bool></edit>
    <edit mode="assign" name="lcdfilter"><const>lcddefault</const></edit>
    </match>
    </fontconfig>
    /etc/fonts/conf.d directory:
    # ls -l /etc/fonts/conf.d
    lrwxrwxrwx 1 root root 30 Mar 3 16:01 10-autohint.conf -> ../conf.avail/10-autohint.conf
    lrwxrwxrwx 1 root root 32 Mar 3 16:01 10-lcd-filter.conf -> ../conf.avail/10-lcd-filter.conf
    lrwxrwxrwx 1 root root 35 Mar 3 16:01 10-sub-pixel-rgb.conf -> ../conf.avail/10-sub-pixel-rgb.conf
    lrwxrwxrwx 1 root root 42 Mar 3 16:01 29-replace-bitmap-fonts.conf -> ../conf.avail/29-replace-bitmap-fonts.conf
    lrwxrwxrwx 1 root root 27 Mar 3 16:01 45-latin.conf -> ../conf.avail/45-latin.conf
    lrwxrwxrwx 1 root root 31 Mar 3 16:01 49-sansserif.conf -> ../conf.avail/49-sansserif.conf
    lrwxrwxrwx 1 root root 26 Mar 3 16:02 50-user.conf -> ../conf.avail/50-user.conf
    lrwxrwxrwx 1 root root 27 Mar 3 16:02 60-latin.conf -> ../conf.avail/60-latin.conf
    I feel like I'm missing one, but I've attempted to link all the configurations from conf.avail and it still doesn't look good. Anyone?
    Edit: Heres a screenshot:
    Last edited by brenix (2010-03-04 04:39:30)

    Hey there.
    When I first installed arch, x11, xmonad, and gtk, the fonts looked like crap on my screen too. I ran over a ~/.Xdefaults setup that included:
    ! Xft settings ---------------------------------------------------------------
    Xft.dpi: 96
    Xft.antialias: true
    Xft.rgba: rgb
    Xft.hinting: true
    Xft.hintstyle: hintslight
    After restarting X, the ugly fonts were gone. I also switched the fonts used in gtk (using lxappearance) to the microsoft cleartype fonts (yeah yeah freedom hater). Don't forget you have to source ~/.Xdefaults from ~/.xinitrc like so:
    # make sure the X Defaults gets loaded
    xrdb ~/.Xdefaults
    Also note, lxappearance is a great app for changing gtk+ themes.

  • 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)

  • [SOLVED]X server locale issues

    Ok so I had this common issue with the glibc update (deleted everything but modules in /lib) and I had to manually unzip an older glibc package in my / folder. After that I rebooted my system, updated fully (latest glibc & symlinked /lib to /usr/lib properly). I then started X normaly but I noted this:
    http://pastebin.com/xfd3tXB7
    So although X boots fine, i have this minor locale issues. I guess it has to do with the fact that I am using greek language. I have installed a greek-Inconsolata font back then and now it is not displaying properly on the urxvt (just some weird chars). I can however switch keyboard layouts just fine and type in both languages (greek/english)
    rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # See 'man 5 rc.conf' for more details
    # LOCALIZATION
    HARDWARECLOCK="UTC"
    TIMEZONE="Europe/Athens"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    LOCALE="en_US.UTF-8"
    DAEMON_LOCALE="yes"
    USECOLOR="yes"
    # HARDWARE
    MODULES=(fglrx snd-usb-audio)
    USEDMRAID="no"
    USEBTRFS="no"
    USELVM="no"
    # NETWORKING
    HOSTNAME=GliderVillage
    interface=wlan0
    address=
    netmask=
    broadcast=
    gateway=
    NETWORK_PERSIST="no"
    # DAEMONS
    DAEMONS=(dbus syslog-ng wicd crond xkbevd wireless-regdom mpd)
    Edit: Btw there is no locale.conf file in my system Oo
    Last edited by Crone (2012-08-24 13:58:25)

    Hmm i did not use locale-gen. I used it now .Do I need to reboot after that? Because restarting X doesn't work
    locale -a: (before and after locale-gen without reboot)
    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_COLLATE to default locale: No such file or directory
    C
    POSIX
    locale: (same)
    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=
    Last edited by Crone (2012-07-28 17:24:08)

  • 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...

  • 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'?

  • [Solved] UTF-8 locale-gen not working

    $ cat /etc/locale.conf
    Lang=en_CA.UTF-8
    $ locale -a
    C
    POSIX
    en_CA.utf8
    $ locale
    LANG=C
    LC_CTYPE="C"
    LC_NUMERIC="C"
    LC_TIME="C"
    LC_COLLATE="C"
    LC_MONETARY="C"
    LC_MESSAGES="C"
    LC_PAPER="C"
    LC_NAME="C"
    LC_ADDRESS="C"
    LC_TELEPHONE="C"
    LC_MEASUREMENT="C"
    LC_IDENTIFICATION="C"
    LC_ALL=
    $ cat /etc/profile.d/locale.sh
    #!/bin/sh
    unset LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES \
    LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT"LC_IDENTIFICATION
    if [ -n "$XDG_CONFIG_HOME" ] && [ -r "XDG_CONFIG_HOME/locale.conf" ]; then
    . "$XDG_CONFIG_HOME/locale.conf"
    elif [ -n $HOME ] && [ -r $HOME/.config/locale.conf ]; then
    . "$HOME/.config/locale.conf"
    elif [ -r /etc/locale.conf ]; then
    . /etc/locale.conf
    elif [ -r /etc/rc.conf ]; then
    LANG=$(. /etc/rc.conf 2>/dev/null; echo "$LOCALE")
    fi
    export LANG="${LANG:-C}"
    [ -n "$LC_CTYPE" ] $$ export LC_CTYPE
    [ -n "$LC_NUMERIC" ] $$ export LC_NUMERIC
    [ -n "$LC_TIME" ] $$ export LC_TIME
    [ -n "$LC_COLLATE" ] $$ export LC_COLLATE
    [ -n "$LC_MONETARY" ] $$ export LC_MONETARY
    [ -n "$LC_MESSAGES" ] $$ export LC_MESSAGES
    [ -n "$LC_PAPER" ] $$ export LC_PAPER
    [ -n "$LC_NAME" ] $$ export LC_NAME
    [ -n "$LC_ADDRESS" ] $$ export LC_ADDRESS
    [ -n "$LC_TELEPHONE" ] $$ export LC_TELEPHONE
    [ -n "$LC_MEASUREMENT" ] $$ export LC_MEASUREMENT
    [ -n "$LC_IDENTIFICATION" ] $$ export LC_IDENTIFICATION
    So how to get en_CA.UTF-8 in effect? And why isn't in effect automatically? I installed recently and followed the locale-gen procedure. Only graphical stuff installed is i3, qupzilla & smplayer, no gnome or anything. I guess it's not related, but Dvorak layout is working as per vconsole.conf. Thanks
    Last edited by stozi (2013-09-30 14:33:29)

    stozi wrote:thanks I have read it, didn't find anything that would help. still want to know how my /etc/locale.conf could have the wrong formating when it's never been manually edited.
    Asked and answered.  You need to edit that file - this is described in the Beginners guide and installation guide (edit: and several times on the locale page).
    Last edited by Trilby (2013-09-30 14:29:04)

  • [SOLVED] FontConfig Update and Anti-Aliasing

    After doing upgrade of fontconfig exactly like explained on news here;
    http://www.archlinux.org/news/fontconfi … -required/
    Font became too thin, I think anti-aliasing is working wrong now. I've even added this:
    https://wiki.archlinux.org/index.php/Fo … igurations
    Also, my appearance settings is:
    Default Font: Sans / Size: 10
    Rendering: Enabled anti-aliasing
    Hinting: Full
    Sub-pixel order: None
    DPI: Custom DPI setting 96
    Here is few examples:
    ArchLinux.org -- http://i.imgur.com/O7ZEC.png
    Google.com -- http://i.imgur.com/TaY5S.png
    Slashdot.org -- http://i.imgur.com/U8Oto.png
    Digg.com -- http://i.imgur.com/TtgsM.png
    Is there anyhting else I can do to fix this ?
    Last edited by TuxLyn (2012-09-08 04:41:23)

    My fonts were also looking bad after the upgrade (the same as in your screenshots), what I did:
    mv .fontconfig .config/fontconfig
    mv .fonts.conf .config/fontconfig/fonts.conf
    mkdir .config/fontconfig/conf.d
    ln -s /etc/fonts/conf.avail/10-sub-pixel-rgb.conf .config/fontconfig/conf.d ## Though this wasn't really necessary.
    Moved all cache files from .config/fontconfig (formerly ~/.fontconfig) to ~/.cache, as suggested in the wiki.
    And I copied this in my fonts.conf (.config/fontconfig/fonts.conf), examples you can also find in the wiki:
    <?xml version='1.0'?>
    <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
    <fontconfig>
    <match target="font" >
    <edit mode="assign" name="autohint"> <bool>true</bool></edit>
    <edit mode="assign" name="hinting"> <bool>false</bool></edit>
    <edit mode="assign" name="lcdfilter"> <const>lcddefault</const></edit>
    <edit mode="assign" name="hintstyle"> <const>hintslight</const></edit>
    <edit mode="assign" name="antialias"> <bool>true</bool></edit>
    <edit mode="assign" name="rgba"> <const>rgb</const></edit>
    </match>
    <match target="font">
    <test name="pixelsize" qual="any" compare="more"><double>15</double></test>
    <edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit>
    <edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
    </match>
    <match target="font">
    <test name="weight" compare="more"><const>medium</const></test>
    <edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
    <edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit>
    </match>
    <match target="font">
    <test name="slant" compare="not_eq"><double>0</double></test>
    <edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
    <edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit>
    </match>
    <match target="font">
    <edit name="antialias" mode="assign"><bool>true</bool></edit>
    <edit name="hinting" mode="assign"><bool>true</bool></edit>
    <edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
    <edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
    <edit name="rgba" mode="assign"><const>rgb</const></edit>
    </match>
    </fontconfig>
    Now my fonts look like before, and Chromium looks even better, thanks to one of the examples found.

  • 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] Cannot set locale (at first)

    I don't think this is due to some trivial mistake (but then again, I've been wrong before). Anyway, I moved my system to systemd, and in /etc/locale.conf I have the following:
    LANG=en_US.UTF-8
    LC_TIME=en_US.UTF-8
    LC_COLLATE=C
    In /etc/locale.gen I have the following locales selected:
    en_US.UTF-8 UTF-8
    en_US ISO-8859-1
    pt_PT.UTF-8 UTF-8
    pt_PT ISO-8859-1
    pt_PT@euro ISO-8859-15
    When running locale-gen, I get the following output:
    Generating locales...
    en_US.UTF-8... done
    en_US.ISO-8859-1... done
    pt_PT.UTF-8... done
    pt_PT.ISO-8859-1... done
    pt_PT.ISO-8859-15@euro... done
    Generation complete.
    However, after rebooting (I boot to console, no display manager), and logging in console, the locale that is set is POSIX! I start X with the following command (aliased in .bashrc):
    . /etc/locale.conf ; export LANG ; exec nohup startx > /dev/null &vlock
    And after doing that, the locale, both in X and in console, is set to the correct one! (en_US.UTF-8)
    Am I making a newbie mistake somewhere?
    Last edited by gauthma (2013-05-16 19:31:28)

    Just a 2 cent coin from me -- maybe it helps someone...
    After the filesystem upgrade, the /etc/profile.d/locale.sh file disappeared from my hdd (nothing fishy here: sometimes odd things happen and it's enough to re-run update to fix them). Before I realized that, I lost my default locales (en_US.UTF-8) and after issuing 'locale', I got the same output as the OP ("POSIX" from top to bottom). I was trying to use $HOME/.config/locale.conf file, but nothing expected ever happened, and the only way to make things work my way was to export LANG="en_US.UTF-8" in good old $HOME/.profile. When I eventually updated the filesystem correctly and /etc/profile.d/locale.sh was brought back, I realized that $HOME/.config/locale.conf won't work without it as this is where the relevant variable is set:
    if [ -n "$XDG_CONFIG_HOME" ] && [ -r "$XDG_CONFIG_HOME/locale.conf" ]; then
    . "$XDG_CONFIG_HOME/locale.conf"
    elif [ -n $HOME ] && [ -r $HOME/.config/locale.conf ]; then
    . "$HOME/.config/locale.conf"
    elif [ -r /etc/locale.conf ]; then
    . /etc/locale.conf
    elif [ -r /etc/rc.conf ]; then
    LANG=$(. /etc/rc.conf 2>/dev/null; echo "$LOCALE")
    fi
    Ergo: if your system hasn't been informed to use $HOME/.config/locale.conf anywhere in a system-wide context, the local file won't work. Simple and logical.
    Last edited by bohoomil (2012-08-31 13:04:37)

  • [SOLVED] vsftpd on Local Mirror, running but not working

    I'm building a Local Mirror on a vm (vbox) with bridged adapter and fix-ip by following this wiki.
    http://wiki.archlinux.org/index.php/Loc … cal_mirror
    After the painful rsync and those setup, I tried pacman -Syu from another Arch vm (no firewall).  I received the following error.
    :: Synchronizing package databases...
    error: failed retrieving file 'core.db.tar.gz' from 192.168.100.100 : Service not available, closing control connection
    I've tried by nmap on the hosting PC and find that the vsftpd should be running.
    Starting Nmap 4.62 ( http://nmap.org ) at 2010-08-27 01:03 HKT
    Interesting ports on 192.168.100.100:
    Not shown: 1714 closed ports
    PORT   STATE SERVICE
    21/tcp open  ftp
    MAC Address: 08:00:27:76:33:1C (Cadmus Computer Systems)
    Nmap done: 1 IP address (1 host up) scanned in 1.318 seconds
    In the wiki, it suggests to use "ftp" to replace "mirror" for ftp_username & nopriv_user.  I tried both.
    I also find that there is no "archlinux" under my /home/mirror/files as "suggested" by the following statement in vsftpd.conf
    # Chroot directory for anonymous user
    anon_root=/home/mirror/files/archlinux
    I tried both (1) amend the vsftpd.conf to remove the "archlinux", and (2) manually add that directory with owner/group=mirror.
    Meanwhile, I only find under /home/mirror/files 6 items - community core extra community.lastsync core.lastsync extra.lastsync.  Have I completed the rsync successfully?  Or, something is missing.  Is the directory structure correct?
    Is the sample vsftpd.conf in the Local Mirror wiki updated?  I've cross reference it with the vsftpd wiki but I'm not knowledgable enough to find things useful.
    What else should I check?
    I love ArchLinux so much that I really hope that it can work.
    Please help.
    Thanks.
    Last edited by dboat (2010-08-27 15:38:14)

    I have tried couple of Linux distro to learn Linux/Network.  I like ArchLinux's "simple" concept, light weight, updated packages, nice document and fast bootup/shutdown.  I have installed over ten times ArchLinux in different virtualmachines and netbook in the past week.  I will keep some, delete some and create more.  I don't have a fast internet connection and that's why I would like to set up my local mirror.  I am a newbie here, so please feel free to let me know if I am taking too much (bandwidth) from the community, and it is not encouraged for my case.  And sorry if I have already created any trouble.
    Well, back to my problem.
    1. After the rsync, including everything, the / now occupies 14G harddisk space.  Is it a normal size for a local mirror?
    2. I have inserted "Server = file:///home/mirror/files/$repo/os/i686" as the first line in its /etc/pacman.d/mirrorlist
        pacman -Syy  looks fine.
        pacman -Syu  gives a list of warning (xxx: local is newer than core), end with "there is nothing to do"
        pacman -S mplayer  starts installtion normally, but need mirrors on internet cause a large portion of software is missing/inaccessible on my local mirror.
    3. I have tried to login by FileZilla from an Ubuntu vm, and receive this error message (on FileZilla)
    Status:    Connecting to 192.168.100.100:21...
    Status:    Connection established, waiting for welcome message...
    Response:    421 Service not available.
    Error:    Could not connect to server
    Seems I have issues on both the mirror and the vsftpd.  I prefer to resolve the vsftpd problem first, but all suggestion/comment are very welcome.
    Lastly, did I post my question in a wrong place?  If yes, please let me know.

Maybe you are looking for

  • Grid binding throws error.

    Hi Experts! When I bind a table to a dataprovider. It throws throws the following error. Please help me in soving the problem. Exception Details: org.apache.jasper.JasperException java.sql.SQLException: execute() never called Thanks in advance

  • [Solved] Cannot access non-executable directories

    After I copied some folders and files from CD I had permission denied trying to access as a normal user. So I did sudo chown -R doctor:users folder sudo chmod -R 777 folder After that, the folder and files became executable. So, in directory Music/ I

  • Delete RA in current period

    Hello, All! Standart transaction KKA8 delete all data RA for WBS. Created reverce positon for all period in same period at that time. I want to make a reversal posting data deletion RA cumulatively for the current period. that the data correspond to

  • Numbered paragraphs takes a rocket scientist?

    Hi Guys, I don't get it. Usually when Apple doesn't mention something in help, it's gotta be soooo simple that anyone could get this... But to get paragraph numbering as I want it in pages 09 is beyond me. This is what I try to accomplish: 1. Paragra

  • Trouble with Keynote on MacBookPro - won't open, keeps crashing

    I'm on a MacBook Pro and on OS 10.9.5. I had been using Keynote awhile back when it crashed working with a Powerpoint presentation and trying to save it. Since then I've downloaded Keynote a couple of times and get a message when I try to launch that