Problems trying to get currency separator correct for CAD

John Ralls jralls at ceridwen.us
Fri Jul 22 09:21:54 EDT 2011


On Jul 22, 2011, at 9:00 AM, John Ralls wrote:

> 
> On Jul 21, 2011, at 5:58 PM, bunk3m wrote:
> 
>> Thank you, John.
>> 
>> In the earlier part of my post which I guess got lost, I mentioned that
>> I had already tried to do this using the wiki post.
>> 
>> In the FAQ it says to do the following command to customize: "defaults
>> write -app Gnucash AppleLocale = "en_US at currency=CAD" "
>> 
>> This command should actually be:
>> 
>>   defaults write -app /Applications/Gnucash/Gnucash.app
>> AppleLocale="en_US at currency=CAD"
>> 
>> But I get an error:
>>  2011-07-20 13:42:44.553 defaults[4877:10b]
>>  Rep argument is not a dictionary
>>  Defaults have not been changed.
>> 
>> Can you help me with understanding why the command didn't work?
> 
> Apparently not; it isn't working for me on my MBA, either. 
> 
> The syntax *is* correct in the FAQ article. See "Specifying Domains" in the defaults manpage. I'll have to figure out why it doesn't work for Gnucash.

Well,,, the syntax was *almost* correct in the Wiki article (it's fixed now, with a note).
The command is:

 defaults write -app Gnucash AppleLocale 'en_US at currency=CAD'

Note the single quotes. It's the double quotes that were causing the error.

Regards,
John Ralls


More information about the gnucash-user mailing list