[argyllcms] Re: Calibration of my colormunki

  • From: Jean-Pierre Vial <vialups@xxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Wed, 28 Apr 2010 16:58:05 +0200

Le 28/04/2010 13:13, Graeme Gill a écrit :
> Richard Hughes wrote:
>> spotread doesn't seem to store anything in the CWD for me, and looking
>> at strace it seems to try to store the value in
>> /usr/bin/.mk_2023111.cal -- which for a user obviously won't work (and
>> argyll seems to ignore EACCES without a warning). 
> 
> Yes, you're right, it saves it in the same dir as the executable.
> (I went and looked for this possibility, but missed it.)
> It ignores a failure to open the file for reading because
> it's not necessary for correct functioning.
> 
>> By bodging PATH and
>> arg[0] to something more reasonable I could probably get the
>> calibration file to be saved somewhere else, although this is a giant
>> hack and probably not a good idea.
> 
> I'm open to other suggestions. An "ARGYLL_HOME" environment path to
> override the default ?

why not a
.ARGYLL
directory in the HOME directory of the user, as many other programs
do


-- 
Jean-Pierre Vial

Other related posts: