[GNC] Recent list in file menu

Peter S. Shenkin shenkin at gmail.com
Sat Jan 16 22:41:28 EST 2021


On Big Sur, I have Gnucash installed directly under /Applications, which is
the default Installer option.

I either double-click the icon, or, in a Terminal window, type "open
/Applications/Gnucash.app".

If you have Gnucash.app installed somewhere else, just type open <full path
to>/Gnucash.app. Once it opens, the icon will appear in the side bar. You
can then right click on it and select Options > Keep in dock. From then on,
you can just click the icon.

FWIW (for geeks), I have a function set up in my .bashrc. The declaration
says:

appo() {
    # "appo Foo" will recite "open /Applications/Foo.app"
    open /Applications/$1.app
}


The comment (beginning with the # sign) tells how I start an app that's in
/Applications from a Terminal session. For Gnucash, I just say "appo
Gnucash". (The mnemonic is "app open".)

I hope the above helps.

-P.


On Sat, Jan 16, 2021 at 9:05 PM David H <hellvee at gmail.com> wrote:

> Hi David,
>
> Yes tried it without and get "Couldn't find an application named "Gnucash";
> defaults unchanged" so it definitely seems to need the folder name in
> addition to the app name.  Might uninstall on my Macbook Pro later and
> re-install to apps folder only and see if it makes any difference.
>
> Cheers David H.
>
>
> On Sun, 17 Jan 2021 at 09:30, David Reiser <dbreiser at icloud.com> wrote:
>
> > 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
> > dbreiser at icloud.com
> >
> >
> >
> >
> >
> > > On Jan 16, 2021, at 5:54 PM, David H <hellvee at 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.417 at 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.Butler51 at gmail.com> wrote:
> > >>
> > >>> On 1/16/21 9:15 AM, Michael Hendry wrote:
> > >>>>> On 15 Jan 2021, at 03:30, David Carlson <
> david.carlson.417 at 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.Butler51 at gmail.com
> > >>> kg7je at arrl.net
> > >>> 253-350-0166
> > >>> -------------------------------------------
> > >>> GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
> > >>>
> > >>> _______________________________________________
> > >>> gnucash-user mailing list
> > >>> gnucash-user at 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 at 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 at 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 at 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.
>


More information about the gnucash-user mailing list