Thank you Micheal and David for your clear answers.

I tried the addition of –nofile to the icon. The first time it did nothing
and when I looked at the properties I saw the nofile was not saved. On the
second trial I clicked the Apply, then Continue and when I used the icon to
call up GNUCash, the data file was vacant. A search on the the hard drive
found it and the data was displayed as usual. Neat.


I have not tried David’s suggestion, I will leave that to another day but
it looks doable and very convenient when I add another set of GNUCash books.


I am using Windows 11 for most data recording and all reports..
Occasionally I will use Linux, on the same computer and also on a laptop.
The Linux Mint Debian Faye on both is preferred over two other Linus
installations on the main computer..


Regards, Myron Schroeder

On Sun, Jan 21, 2024 at 6:02 PM David Cousens <davidcousen...@gmail.com>
wrote:

> Myron
>
> The same strategy can be used to create additional icons which open
> GnuCash with a specific datafile. Copy the icons as
> Michael suggested (one for each datafile) and edit them put in a URI to
> the specific datafile  instead of the --nofile
> option. Give it a name reflecting that it opens that specific datafile.
>
> This is also similarly easy to do in most Linux OS.
>
> David Cousens
>
>
> On Sun, 2024-01-21 at 16:36 -0500, Michael or Penny Novack wrote:
> > On 1/21/2024 11:05 AM, Myron A Schroeder wrote:
> > > Where do I find the " --nofile runtime parameter."
> > >
> > > Looks like an interesting way to have more than one set of books on my
> > > computer.
> > >
> > What operating system are you using? Perhaps as much to the point, if
> > you are getting to gnucash by a "shortcut" (an icon that you click) do
> > you know how to look at what that is actually doing? How to edit that?
> >
> > For example, if you are running under Windows and have an icon for
> > gnucash, and you RIGHT CLICK on that icon you get a drop down list of
> > things you can do with that shortcut. At (or near) the bottom of that
> > list is "properties" (let me look at the properties of this object). If
> > you click on that choice (and the shortcut was to the application
> > gnucash) you'll see those properties. That it is an application (the
> > type of the target), where located (in a binary library) and exactly
> > what the target is (what clicking on the object sends to the command
> > line to execute, since that's what is done for an application.
> >
> > WELL -- you can edit that line to add a runtime parameter, in this case,
> > append --nofile (space in between)
> >
> > Michael D Novack
> >
> > PS --- STRONG SUGGESTION --- Do not simply do this. First make a copy of
> > that object (the same dropdown list where "properties" was) and rename
> > it. THAT is how you can back out a failed attempt. Now try to do the
> > edit of the target (add the --nofile)  Back out and see what happens
> > when you click the icon now. If it works (brings up gnucash without
> > opening any file you are done (delete the backup copy). Otherwise you
> > can use "copy" again to retry.
> >
> >
> > _______________________________________________
> > gnucash-user mailing list
> > gnucash-user@gnucash.org
> > To update your subscription preferences or to unsubscribe:
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > -----
> > 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
> -----
> 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
-----
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