fonts configuration warning

Hello,

On my new system, when I start anything from a shell, I get the
following warning (although whatever I am starting seems to run without
a problem). In this example I just started kwrite:


> kwrite
Fontconfig warning: "/etc/fonts/conf.d/56-user.conf", line 14: reading
configurations from ~/.fonts.conf is deprecated. please move it to
/home/george/.config/fontconfig/fonts.conf manually

So I looked at that font configuration file, and here is what it shows:


> cat /etc/fonts/conf.d/56-user.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
Load per-user customization files where stored on XDG Base
Directory
specification compliant places. it should be usually:
$HOME/.config/fontconfig/conf.d
$HOME/.config/fontconfig/fonts.conf
-->
<include ignore_missing="yes"
prefix="xdg">fontconfig/conf.d</include>
<include ignore_missing="yes"
prefix="xdg">fontconfig/fonts.conf</include>
<!-- the following elements will be removed in the future -->
<include ignore_missing="yes"
deprecated="yes">~/.fonts.conf.d</include>
<include ignore_missing="yes"
deprecated="yes">~/.fonts.conf</include>
</fontconfig>

So, what exactly is the right thing to do with this error? When it says
“please move it to … manually”, what exactly am I supposed to move?

Does this mean to change the line in /etc/fonts/conf.d/56-user.conf that
points to “~/.fonts.conf” and change it so that it points to
“/home/george/.config/fontconfig/fonts.conf”?

Or does it mean that I make some kind of change in the fonts.conf file?

So basically, do I change the 56-user.conf file or the fonts.conf file?


G.O.
Box #1: 13.1 | KDE 4.12 | AMD Phenom IIX4 | 64 | 16GB
Box #2: 13.1 | KDE 4.12 | AMD Athlon X3 | 64 | 4GB
Laptop #1: 13.1 | KDE 4.12 | Core i7-2620M | 64 | 8GB
Laptop #2: 13.2 | KDE 4.14 | Core i7-4710HQ | 64 | 16GB

golson765 wrote:

> Hello,
>
> On my new system, when I start anything from a shell, I get the
> following warning (although whatever I am starting seems to run without
> a problem). In this example I just started kwrite:
>
>


>  > kwrite
> Fontconfig warning: "/etc/fonts/conf.d/56-user.conf", line 14: reading
> configurations from ~/.fonts.conf is deprecated. please move it to
> /home/george/.config/fontconfig/fonts.conf manually
> 

>
>
If ~/.fonts.conf exists, move it to
/home/george/.config/fontconfig/fonts.conf

Providing that your home is /home/george
If the directory /home/george/.config/fontconfig/ dosn’t exist, create it.

On 02/18/2015 02:46 AM, graham wrote:

>>
> If ~/.fonts.conf exists, move it to
> /home/george/.config/fontconfig/fonts.conf
>
> Providing that your home is /home/george
> If the directory /home/george/.config/fontconfig/ dosn’t exist, create it.
>
The directory and file already exist.


~> cd .config/fontconfig/
~/.config/fontconfig> ls
fonts.conf
~/.config/fontconfig>

So if I move ~/.fonts.conf to ~/.config/fontconfig/fonts.conf, it will
overwrite the fonts.conf file that is already there.

R u sure that this is what I am supposed to do?


G.O.
Box #1: 13.1 | KDE 4.12 | AMD Phenom IIX4 | 64 | 16GB
Box #2: 13.1 | KDE 4.12 | AMD Athlon X3 | 64 | 4GB
Laptop #1: 13.1 | KDE 4.12 | Core i7-2620M | 64 | 8GB
Laptop #2: 13.2 | KDE 4.14 | Core i7-4710HQ | 64 | 16GB

golson765 wrote:

> On 02/18/2015 02:46 AM, graham wrote:
>
>>>
>> If ~/.fonts.conf exists, move it to
>> /home/george/.config/fontconfig/fonts.conf
>>
>> Providing that your home is /home/george
>> If the directory /home/george/.config/fontconfig/ dosn’t exist, create
>> it.
>>
> The directory and file already exist.
>
>


> ~> cd .config/fontconfig/
> ~/.config/fontconfig> ls
> fonts.conf
> ~/.config/fontconfig>
> 

>
> So if I move ~/.fonts.conf to ~/.config/fontconfig/fonts.conf, it will
> overwrite the fonts.conf file that is already there.
>
> R u sure that this is what I am supposed to do?
>
>
Delete ~/.fonts.conf if it exists.
If it dosn’t exist you are on your own.

On 02/20/2015 03:56 AM, graham wrote:

>> The directory and file already exist.
>>
>>


>> ~> cd .config/fontconfig/
>> ~/.config/fontconfig> ls
>> fonts.conf
>> ~/.config/fontconfig>
>> 

>>
>> So if I move ~/.fonts.conf to ~/.config/fontconfig/fonts.conf, it will
>> overwrite the fonts.conf file that is already there.
>>
>> R u sure that this is what I am supposed to do?
>>
>>
> Delete ~/.fonts.conf if it exists.
> If it dosn’t exist you are on your own.
>

Great! That got rid of the problem! No more warning when I start things
from the shell. Thanks!


G.O.
Box #1: 13.1 | KDE 4.12 | AMD Phenom IIX4 | 64 | 16GB
Box #2: 13.1 | KDE 4.12 | AMD Athlon X3 | 64 | 4GB
Laptop #1: 13.1 | KDE 4.12 | Core i7-2620M | 64 | 8GB
Laptop #2: 13.2 | KDE 4.14 | Core i7-4710HQ | 64 | 16GB