Have you tried without the extra directory info? 
man defaults says that the -app flag specifies the name of the app, not a 
directory. I haven’t tested it myself, and the manfile is a bit vague on 
details here. But since defaults write is writing to the pfile in Library, it 
doesn’t have to know the location of Gnucash. Gnucash reads the pfile on 
launch, so it shouldn’t matter where the app is stored.
--
Dave Reiser
dbrei...@icloud.com





> On Jan 16, 2021, at 5:54 PM, David H <hell...@gmail.com> wrote:
> 
> Hi David,
> 
> Been playing around with that exact same setting for a while now but it
> doesn't seem to work on my Big Sur / Gnucash 4.4 system.
> 
> My setup is slightly different in that I installed Gnucash in
> /Applications/GnuCash as opposed to /Applications itself, so I've been
> tinkering with
> 
> defaults write -app GnuCash/Gnucash "/org/gnucash/history/maxfiles" 5 but
> no luck so far....
> 
> Cheers David H.
> 
> On Sun, 17 Jan 2021 at 07:52, David Carlson <david.carlson....@gmail.com>
> wrote:
> 
>> Searching the archives of this list I found a thread a year ago.  This
>> suggestion was part way through the thread: <
>> https://lists.gnucash.org/pipermail/gnucash-user/2020-January/089080.html>
>> It seems to be only for Mac computers so there is no info that I could find
>> for Linux or Windoze.  For either it might be an OS or workspace setting.
>> 
>> On Sat, Jan 16, 2021 at 12:51 PM Stephen M. Butler <
>> stephen.m.butle...@gmail.com> wrote:
>> 
>>> On 1/16/21 9:15 AM, Michael Hendry wrote:
>>>>> On 15 Jan 2021, at 03:30, David Carlson <david.carlson....@gmail.com>
>>> wrote:
>>>>> 
>>>>> Maybe I searched for the wrong term.  I would never have guessed to
>>> search
>>>>> for plist or mru, for example.
>>>> I’ve found the relevant file here:
>>>> 
>>>> ~/Library/Preferences/org.gnucash.Gnucash.plist
>>>> 
>>>> but I can’t locate the Key that defines the maximum number of
>>> recently-used files for display (hereinafter called “MRU_MAX"), which
>>> defaults to 4 on my iMac Catalina running 4.4.
>>>> 
>>>> I notice that the Keys org.gnucash.history.file0 to
>>> org.gnucash.history.file9 contain fully qualified filenames for the ten
>>> books I have opened most recently, which suggests that MRU_MAX up to 10
>>> could be supported if the default of 4 were changed.
>>>> 
>>>> There seems not to ba a way of adjusting MRU_MAX using GnuCash’s
>>> Preferences, so I’m stuck!
>>>> 
>>>> Regards,
>>>> 
>>>> Michael
>>> Check the recent archives as I remember a discussion that if the key
>>> entry doesn't exist, it defaults to 4.  You have to create the entry
>>> name/value pair in order to change it.  They gave the key name in that
>>> discussion.
>>> 
>>> 
>>> --
>>> Stephen M Butler, PMP, PSM
>>> stephen.m.butle...@gmail.com
>>> kg...@arrl.net
>>> 253-350-0166
>>> -------------------------------------------
>>> GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
>>> 
>>> _______________________________________________
>>> gnucash-user mailing list
>>> gnucash-user@gnucash.org
>>> To update your subscription preferences or to unsubscribe:
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>> If you are using Nabble or Gmane, please see
>>> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>>> -----
>>> Please remember to CC this list on all your replies.
>>> You can do this by using Reply-To-List or Reply-All.
>>> 
>> 
>> 
>> --
>> David Carlson
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user@gnucash.org
>> To update your subscription preferences or to unsubscribe:
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> If you are using Nabble or Gmane, please see
>> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
>> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see 
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to