Re: [GNC] Recent list in file menu

2021-01-18 Thread David H
Thanks John, that made all the difference, now to clean out all the history files I bodged up to test this :-) Cheers David H. On Tue, 19 Jan 2021 at 05:02, John Ralls wrote: > And that turns out to be necessary: Unless you tell defaults -int it > writes a string and GSettings decides that's

Re: [GNC] Recent list in file menu

2021-01-18 Thread David H
My Gnucash.app is in /Applications/GnuCash and I found GnuCash/Gnucash as in "defaults read -app GnuCash/Gnucash" was sufficient however if it's not under Applications you're probably correct :-) Cheers David H. On Tue, 19 Jan 2021 at 00:35, w...@theprescotts.com wrote: > Note: If you have

Re: [GNC] Recent list in file menu

2021-01-18 Thread Michael Hendry
> On 18 Jan 2021, at 16:32, Chris Graves wrote: > > If you open the plist file with Xcode or bbedit or ... you may see that the > maxfiles key is of type string, instead of integer. It may look like: > /org/gnucash/history/maxfiles > 6 > > Instead of >

Re: [GNC] Recent list in file menu

2021-01-18 Thread w...@theprescotts.com
It is maybe worth mentioning that the Gnucash preferences plist on Mac OS is stored in: ~/Library/Preferences/org.gnucash.Gnucash.plist Will On 2021 Jan 18, at 01-18 12:55:51, John Ralls wrote: And that turns out to be necessary: Unless you tell defaults -int it writes a string and

Re: [GNC] Recent list in file menu

2021-01-18 Thread John Ralls
And that turns out to be necessary: Unless you tell defaults -int it writes a string and GSettings decides that's the wrong type and won't use it. Incidentally, someone wondered how to do this on other OSes. In Linux you'd just use the DConf tool to create the key /org/gnucash/history/maxfiles.

Re: [GNC] Recent list in file menu

2021-01-18 Thread John Ralls
You can also use the domain directly, e.g. defaults read org.gnucash.Gnucash Regards, John Ralls > On Jan 18, 2021, at 6:08 AM, w...@theprescotts.com wrote: > > Note: If you have Gnucash in a non-standard location like I do, you probably > will have to give the full path to the

Re: [GNC] Recent list in file menu

2021-01-18 Thread Chris Graves
If you open the plist file with Xcode or bbedit or ... you may see that the maxfiles key is of type string, instead of integer. It may look like: /org/gnucash/history/maxfiles 6 Instead of /org/gnucash/history/maxfiles 6 You can manually change string to integer

Re: [GNC] Recent list in file menu

2021-01-18 Thread w...@theprescotts.com
Note: If you have Gnucash in a non-standard location like I do, you probably will have to give the full path to the application. e.g. defaults read -app /Applications/Gnucash/Gnucash-4.4/Gnucash.app On 2021 Jan 18, at 01-18 04:20:33, Michael Hendry wrote: > On 17 Jan 2021, at 20:11, David H

Re: [GNC] Recent list in file menu

2021-01-18 Thread Michael Hendry
> On 17 Jan 2021, at 20:11, David H wrote: > > You can easily check the mru details by doing the following... > > defaults read -app Gnucash > > or > > defaults read -app Gnucash | grep history > > Cheers David H Yes, I discovered how to read and write the relevant plist using “defaults”,

Re: [GNC] Recent list in file menu

2021-01-17 Thread David H
You can easily check the mru details by doing the following... defaults read -app Gnucash or defaults read -app Gnucash | grep history Cheers David H. On Mon, 18 Jan 2021 at 04:48, Peter S. Shenkin wrote: > Hmm could that be because there were only four files stored so far in >

Re: [GNC] Recent list in file menu

2021-01-17 Thread Peter S. Shenkin
Hmm could that be because there were only four files stored so far in mystery-memory because of the previous setting? What happens if you open a fifth file, exit the program and then restart? Do you see five? -P. On Sun, Jan 17, 2021 at 1:31 PM Michael Hendry wrote: > > On 17 Jan 2021, at

Re: [GNC] Recent list in file menu

2021-01-17 Thread Michael Hendry
> On 17 Jan 2021, at 18:03, Michael Hendry wrote: > >> On 17 Jan 2021, at 16:07, Chris Graves wrote: >> >> defaults write -app Gnucash "/org/gnucash/history/maxfiles” 6 > > Well spotted! > > I think I tried every other possible combination I could find in the man page > for “defaults”. > >

Re: [GNC] Recent list in file menu

2021-01-17 Thread Michael Hendry
> On 17 Jan 2021, at 16:07, Chris Graves wrote: > > defaults write -app Gnucash "/org/gnucash/history/maxfiles” 6 Well spotted! I think I tried every other possible combination I could find in the man page for “defaults”. Thanks, Michael ___

Re: [GNC] Recent list in file menu

2021-01-17 Thread Chris Graves
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 wrote: > >> On 16 Jan 2021, at 21:50, David Carlson wrote: >> >> Searching the archives of this list I found a thread a year

Re: [GNC] Recent list in file menu

2021-01-17 Thread Michael Hendry
> On 16 Jan 2021, at 21:50, David Carlson 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

Re: [GNC] Recent list in file menu

2021-01-16 Thread Peter S. Shenkin
Hi, FWIW, I don't think anything I said was Big-Sur-specific, but I thought I'd specify it, well, just because  -P. On Sat, Jan 16, 2021 at 11:32 PM Peter West wrote: > I don’t have Big Sur, but I can just drag the icon from the Applications > folder opened in FInder, onto the Dock. Then

Re: [GNC] Recent list in file menu

2021-01-16 Thread Peter West
I don’t have Big Sur, but I can just drag the icon from the Applications folder opened in FInder, onto the Dock. Then I can start Gnucash by double-clocking the icon in the dock. I suppoe it depends how busy you Dock is already. peter > On 17 Jan 2021, at 1:41 pm, Peter S. Shenkin wrote: > >

Re: [GNC] Recent list in file menu

2021-01-16 Thread Peter S. Shenkin
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 /Gnucash.app. Once it opens,

Re: [GNC] Recent list in file menu

2021-01-16 Thread David H
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.

Re: [GNC] Recent list in file menu

2021-01-16 Thread David Reiser via gnucash-user
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

Re: [GNC] Recent list in file menu

2021-01-16 Thread David H
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

Re: [GNC] Recent list in file menu

2021-01-16 Thread David Carlson
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

Re: [GNC] Recent list in file menu

2021-01-16 Thread Stephen M. Butler
On 1/16/21 9:15 AM, Michael Hendry wrote: On 15 Jan 2021, at 03:30, David Carlson 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

Re: [GNC] Recent list in file menu

2021-01-16 Thread Michael Hendry
> On 15 Jan 2021, at 03:30, David Carlson 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

Re: [GNC] Recent list in file menu

2021-01-14 Thread David Carlson
Maybe I searched for the wrong term. I would never have guessed to search for plist or mru, for example. On Thu, Jan 14, 2021 at 6:53 PM Adrien Monteleone < adrien.montele...@lusfiber.net> wrote: > It is a hidden preference/setting. (not normally accessible) > > In MacOS, there is a plist file

Re: [GNC] Recent list in file menu

2021-01-14 Thread Adrien Monteleone
It is a hidden preference/setting. (not normally accessible) In MacOS, there is a plist file you can edit, not sure about Windows or Linux. There was a thread within the last month or two with the solution. (and it might be on the Wiki. Did you check?) Regards, Adrien On 1/14/21 7:32 AM,

Re: [GNC] Recent list in file menu

2021-01-14 Thread David Carlson
I seem to recall that question came up recently but I cannot find the answer for releases after 2.3.x, which is incredibly stale. At any rate, the answer probably varies depending on which release of GnuCash you are using and which operating system you have on your machine. If you tell us that

[GNC] Recent list in file menu

2021-01-14 Thread d16pmg
Is it possible to extend this list so that there is more than 4 items in the file menu Thanks Peter ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: