Re: reading configurations from ~/.fonts.conf is deprecated.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi..

I think just moving those files may be a cleaner/intended solution than
editing the default config files which are distributed with every new
version of fontconfig.

So just move your config from the deprecated location to the new xdg
location..

mv ~/.fonts.conf.d ${XDG_CONFIG_HOME}/fontconfig/fonts.conf
mv ~/.fonts.conf   ${XDG_CONFIG_HOME}/fontconfig/conf.d

where XDG_CONFIG_HOME is by default $HOME/.config
(http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html)
and results in:

mv ~/.fonts.conf.d ~/.config/fontconfig/fonts.conf
mv ~/.fonts.conf   ~/.config/fontconfig/conf.d

After moving the files, the warning should be gone (at least if you are
using fontconfig >= 2.10)

bye marius..


On 08/27/12 09:10, Akira TAGOH wrote:
> On Sun, Aug 26, 2012 at 4:57 AM, Behdad Esfahbod <behdad@xxxxxxxxxx> wrote:
>> I find the warning in the Subject line pretty annoying.  Can we please remove it?
> 
> You can get rid of it after removing the attribute, deprecated="yes"
> from <include> in /etc/fonts/conf.d/50-user.conf though, I'd obsolete
> reading $HOME/.fonts.conf in the future. I have no idea to notice the
> transition without it. if you have any suggestion for that, that would
> be nice.
> 
> Thanks,
> 


-- 
Dipl.-Inf. Marius Tolzmann <marius.tolzmann@xxxxxxxxxxxxx>
----------------------------------.------------------------------
MPI f. molekulare Genetik         |
Ihnestrasse 63-73, D-14195 Berlin |   ==> MarIuX GNU/Linux <==
Phone: +49 (0)30 8413 1709        |
----------------------------------^------------------------------
God put me on earth to accomplish a certain number of things.
Right now I am so far behind..
   ..I will never die.         <by calvin from calvin&hobbes ;)>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux