Page 1 of 1

config location

Posted: 2011-07-14T17:12:06-07:00
by gregory

I've updated IM from 6.6.6 to 6.7.1. After that I tried to modify policy.xml file but didn't find it.
The old one was located at "/usr/local/lib/ImageMagick-6.6.6/config" but there is no "config" folder at "/usr/local/lib/ImageMagick-6.7.1/config" at all.
I copied old "config" folder to "/usr/local/lib/ImageMagick-6.7.1" folder but don't know if it's okay. At least configure.xml has an old data about IM version, etc.
Where I can find policy.xml for IM 6.7.1? Or it's okay to copy the old config files from 6.6.6 to 6.7.1 folder?

Thanks for help and advices.


Re: config location

Posted: 2011-07-14T17:24:25-07:00
by fmw42
try this:

find /usr | grep "policy.xml"


Re: config location

Posted: 2011-07-14T18:03:54-07:00
by anthony
Due to requirements by Ubuntu package management, specifically where things should be placed in the filesystem, many 'system dependant' configuration files was moved to /etc instead of /usr/lib.

For example

You can however still add to these configuration files by creating your own in your personal ".magick" sub-directory of your home. I do this all the time for the font "type.xml" file and even the "delegate.xml"

See my font type generation script ... k_type_gen
which has includes some notes about creating a personal "type.xml" file