Looks like there is a typo in the command, it should be: defaults write -app Gnucash "/org/gnucash/history/maxfiles" 6
> On Jan 17, 2021, at 2:55 AM, Michael Hendry <[email protected]> wrote: > >> On 16 Jan 2021, at 21:50, David Carlson <[email protected]> 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. > > Unfortunately, the recommended command-line: > > defaults write --app Gnucash "/org/gnucash/history/maxfiles” 6 > > results in this error message > > 2021-01-17 10:53:30.036 defaults[27141:944194] Unexpected argument 6; leaving > defaults unchanged. > > Michael > > >> On Sat, Jan 16, 2021 at 12:51 PM Stephen M. Butler < >> [email protected]> wrote: >> >>> On 1/16/21 9:15 AM, Michael Hendry wrote: >>>>> On 15 Jan 2021, at 03:30, David Carlson <[email protected]> >>> 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 >>> [email protected] >>> [email protected] >>> 253-350-0166 >>> ------------------------------------------- >>> GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8 >>> >>> _______________________________________________ >>> gnucash-user mailing list >>> [email protected] >>> 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 > [email protected] > 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 [email protected] 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.
