Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
On 28 Apr 2022, at 11:00, David H wrote: > > https://lists.gnucash.org/search/?idxinfo=gnucash-user > Thanks, David, Here’s a link into the thread I was looking for: https://lists.gnucash.org/pipermail/gnucash-user/2021-January/094869.html Michael ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
https://lists.gnucash.org/search/?idxinfo=gnucash-user On Thu, 28 Apr 2022 at 19:41, Michael Hendry wrote: > In the process of examining a bug in the MRU a couple of years ago, I > asked about adjusting the maximum number of files in the MRU, and was told > (by John Ralls?) how to do this on my iMac - I now have 6. > > Unfortunately, I can’t trace the correspondence now, and no doubt the > configuration of “maxfiles” varies depending on the operating system, but > it occurs to me that setting maxfiles to zero might force GC to open > without a data file, and help resolve Chris Green’s problem. It would, of > course, be necessary to use File=>Open to choose the relevant file. > > Regards, > > Michael > > PS Is there a way to search the list for past threads now that Nabble > isn’t working for GC any more? > ___ > 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
In the process of examining a bug in the MRU a couple of years ago, I asked about adjusting the maximum number of files in the MRU, and was told (by John Ralls?) how to do this on my iMac - I now have 6. Unfortunately, I can’t trace the correspondence now, and no doubt the configuration of “maxfiles” varies depending on the operating system, but it occurs to me that setting maxfiles to zero might force GC to open without a data file, and help resolve Chris Green’s problem. It would, of course, be necessary to use File=>Open to choose the relevant file. Regards, Michael PS Is there a way to search the list for past threads now that Nabble isn’t working for GC any more? ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
On 4/27/22 02:13, Chris Green wrote: On Tue, Apr 26, 2022 at 07:49:02PM -0600, brad wrote: On 4/26/22 09:25, Chris Green wrote: I have several gnucash accounts files (sqlite databases in my case) spread around my system. When I go to a specific directory and run GnuCash I just want it to see only the database[s] in that directory. Is there a way I can tell gnucash to forget about all previous files it has opened? As it is I get presented with a 'memory' of other accounts which can be very confusing unless I'm very careful with file naming. The --nofile option tells gnucash not to open the last accounts database, it helps a little, but I really want it to forget more! I'm not clear on what the problem is (unless you're on a Mac). On my system (linux), In the file manager, navigate to the folder, find the file you want to open, and double click it. It only opens that database. What's confusing? I don't use GUI file manager (well, very rarely), I tend to 'cd' in a terminal window to the directory where the files I want to use are and then run the various programs I need to do things to those files. The GnuCash file is just one of those files. Then just run 'gnucash filename' , filename is the one you want to open? ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
I have lots of other information associated with the GnuCash data which I keep in the same directory. E.g. there are copies of cheques deposited and GiftAid records. So my way of working is to go (in a terminal window) to that directory and then run programs as needed from there. That is not actually relevant to the discussion (except that you have some sense of "current directory"). Indeed, in my case there would be lots in the directory devoted to the organization for which the books being kept, the exported reports, their finished versions, Gov't filings etc. In other words, there would actually be sub directories devoted to some of these things << and ONE of these would have the books file and associated log files making it easier to maintain how many kept >> But that has NOTHING to do with how I open gnucash. I open the application (nofile) and select which I am working with today. The ones I work with frequently will be on the MRU list, the others not << but this is actually SEASONAL -- thus an organization which has little financial activity 10 months of the year and then a lot when putting on an annual event might for two month of the year be on the MRU list but then drop off it. I do not usually open files (we aren't talking just about gnucash) by "click on object". That is because with my decades in the cypher mines, I don't think of objects that way (as things that can be opened by only one application). For example, my "hex editor" can open ANYTHING. Therefore I usually open an application and tell it what I want it to open. Please note, "click on object" only works for objects that have an "extension" associated with an application. It doesn't work when you have several applications which COULD (usefully) open the object so that part of the process is selecting which. Objects (like a gnucash data file) represent a special case of "only one application COULD be usefully used to open". I don't know about what's on your computers, but on mine, the number of "objects" that could be usefully opened by more than one application on my computer outnumbers the ones like gnucash files that cannot hundreds or thousands to one. OK, I do tend to have favorites for these file types and set the associations that way (let's me open by clicking) BUT I often have to check/test (before sending off) that other folks will be able to use the file on their computer with their favorites. Michael D Novack ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
My ideal would be for GnuCash to look for account files in the current directory, if there is only one then open that one, if there are more then offer me a list to choose from. Are you serious? Assume this was a different application, say a "word processor". You are saying that when you started the word processor you would want to search the "current directory" (we'd need to come back to discuss what THAT might mean) and: if there was only one file in that directory which the application COULD open open that one, else if more than one present a selection list? How about if there didn't happen to be any? Yes of course, --nofile means just that, don't open any (the application simply starts at a place allowing you to open the file of your choice. I believe what you want (should perhaps request) if that is the case, is a DIFFERENT runtime parameter that causes the behavior " open the file name supplied instead of the last one opened. POSSIBLY this could be as simple as the behavior "if a file name is supplied as parameter, open that instead of last one open" Michael D Novack ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash? databases)?
There is a MacOS / MS-Windows -centric concept of organizing a user's file space by file *types* (I don't know for sure if Steve Jobs or some brainiac at M$ came up with this notion). So most (all?) GUI desktops initialize a user's file space with a set of "folders": Documents, Pictures, Movies, Music, Downloads, and a few others and the various desktop apps default to storing / finding files in one of these folders. Some of us (old school UNIX users?) find this file space organization silly / strange / counter-useful. Instead we have top-level directories ("folder" is a strange term) that represent specific jobs or projects or something like that and then gather all of the various *different* files that relate to that job, project, etc. togther. So instead of the documents living under Documents and the pictures living under Pictures, etc. the documents (eg letters) and pictures, and so on for a partitular job, project, or whatever, would all be collected together in a directory for the job, project, or whatever. At Wed, 27 Apr 2022 09:10:49 +0100 Chris Green wrote: > > On Tue, Apr 26, 2022 at 06:10:21PM -0400, Michael or Penny Novack wrote: > > On 4/26/2022 11:25 AM, Chris Green wrote: > > > > The --nofile option tells gnucash not to open the last accounts > > > database, it helps a little, but I really want it to forget more! > > > > > It may be confusing things slightly when you shorten "book of accounts" to > > "accounts" instead of "books" << we usually refer to the financial records > > of an entity as "its books" --- in days of yore when the records were kept > > pen and ink on paper the "journal" and "ledgers" WERE books (bound volumes > > of accounting paper) >> > > > Yes, I never quite know what to call a GnuCash data file. As you say > 'account' is confusing because GnuCash has multiple 'accounts' within > one file/database. > > > > Why is remembering in what directory the records for an entity are kept > > easier than remembering the name of the entity? > > Because it makes a whole lot more sense (for me anyway) to keep > everything to do with one set of books in one place. So, for my > church accounts for one particular year I have a directory:- > > ~/pcc/2022 > > This is very simple to remember and find. (PCC is Parochial Church > Council). I have the GnuCash accounts files there, and copies of > letters I have sent, and copies of incoming cheques and records for > GiftAid plus anything else relevant. > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software-- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services hel...@deepsoft.com -- Webhosting Services ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
On Wed, Apr 27, 2022 at 06:35:50AM -0400, David T. wrote: >You could always link those files to transactions in GnuCash, and >they'd be accessible from within gnucash... > They don't necessarily have any connection with a transaction, letters for example may just be about church business and nothing to do with money. I still want to keep them in the same place. -- Chris Green ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
On Wed, Apr 27, 2022 at 07:11:58PM +1000, davidcousen...@gmail.com wrote: > Chris, > > If you start multiple programs from the directory a set of bash scripts which > change to the appropriate directory and run the set of programs for each set > of > books you work on might be useful. You could launch the scipts from either > the > Ubuntu menu or from desktop launchers. > Yes, I do have quite a few 'wrapper' bash scripts (and functions) to handle this sort of thing. I don't want to have a different script for each year's accounts though. I have a prototype script for GnuCash now that I run when I'm in the appropriate directory to open the GnuCash file there. It's still a bit 'messy' with all the log files that GnuCash leaves there, I'm working on that as well! :-) -- Chris Green ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
You could always link those files to transactions in GnuCash, and they'd be accessible from within gnucash... On April 27, 2022 4:02:24 AM EDT, Chris Green wrote: >On Tue, Apr 26, 2022 at 03:58:06PM -0600, Bruce Irving wrote: >> I have 3 separate gnucash data files. I never open gnucash rather I click >> on (or have link/shortcut to the data file. That way, I can have the data >> file links where they are easy to get to. >> >I have lots of other information associated with the GnuCash data >which I keep in the same directory. E.g. there are copies of cheques >deposited and GiftAid records. So my way of working is to go (in a >terminal window) to that directory and then run programs as needed >from there. > >-- >Chris Green >___ >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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
Chris, If you start multiple programs from the directory a set of bash scripts which change to the appropriate directory and run the set of programs for each set of books you work on might be useful. You could launch the scipts from either the Ubuntu menu or from desktop launchers. David Cousens On Wed, 2022-04-27 at 09:13 +0100, Chris Green wrote: > On Tue, Apr 26, 2022 at 07:49:02PM -0600, brad wrote: > > On 4/26/22 09:25, Chris Green wrote: > > > I have several gnucash accounts files (sqlite databases in my case) > > > spread around my system. When I go to a specific directory and run > > > GnuCash I just want it to see only the database[s] in that directory. > > > > > > Is there a way I can tell gnucash to forget about all previous files > > > it has opened? As it is I get presented with a 'memory' of other > > > accounts which can be very confusing unless I'm very careful with file > > > naming. > > > > > > The --nofile option tells gnucash not to open the last accounts > > > database, it helps a little, but I really want it to forget more! > > > > > I'm not clear on what the problem is (unless you're on a Mac). > > On my system (linux), In the file manager, navigate to the folder, find the > > file you want to open, and double click it. It only opens that database. > > What's confusing? > > > I don't use GUI file manager (well, very rarely), I tend to 'cd' in a > terminal window to the directory where the files I want to use are and > then run the various programs I need to do things to those files. The > GnuCash file is just one of those files. > ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
On Tue, Apr 26, 2022 at 07:49:02PM -0600, brad wrote: > > On 4/26/22 09:25, Chris Green wrote: > > I have several gnucash accounts files (sqlite databases in my case) > > spread around my system. When I go to a specific directory and run > > GnuCash I just want it to see only the database[s] in that directory. > > > > Is there a way I can tell gnucash to forget about all previous files > > it has opened? As it is I get presented with a 'memory' of other > > accounts which can be very confusing unless I'm very careful with file > > naming. > > > > The --nofile option tells gnucash not to open the last accounts > > database, it helps a little, but I really want it to forget more! > > > I'm not clear on what the problem is (unless you're on a Mac). > On my system (linux), In the file manager, navigate to the folder, find the > file you want to open, and double click it. It only opens that database. > What's confusing? > I don't use GUI file manager (well, very rarely), I tend to 'cd' in a terminal window to the directory where the files I want to use are and then run the various programs I need to do things to those files. The GnuCash file is just one of those files. -- Chris Green ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
On Tue, Apr 26, 2022 at 06:10:21PM -0400, Michael or Penny Novack wrote: > On 4/26/2022 11:25 AM, Chris Green wrote: > > The --nofile option tells gnucash not to open the last accounts > > database, it helps a little, but I really want it to forget more! > > > It may be confusing things slightly when you shorten "book of accounts" to > "accounts" instead of "books" << we usually refer to the financial records > of an entity as "its books" --- in days of yore when the records were kept > pen and ink on paper the "journal" and "ledgers" WERE books (bound volumes > of accounting paper) >> > Yes, I never quite know what to call a GnuCash data file. As you say 'account' is confusing because GnuCash has multiple 'accounts' within one file/database. > Why is remembering in what directory the records for an entity are kept > easier than remembering the name of the entity? Because it makes a whole lot more sense (for me anyway) to keep everything to do with one set of books in one place. So, for my church accounts for one particular year I have a directory:- ~/pcc/2022 This is very simple to remember and find. (PCC is Parochial Church Council). I have the GnuCash accounts files there, and copies of letters I have sent, and copies of incoming cheques and records for GiftAid plus anything else relevant. -- Chris Green ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
On Tue, Apr 26, 2022 at 03:58:06PM -0600, Bruce Irving wrote: > I have 3 separate gnucash data files. I never open gnucash rather I click > on (or have link/shortcut to the data file. That way, I can have the data > file links where they are easy to get to. > I have lots of other information associated with the GnuCash data which I keep in the same directory. E.g. there are copies of cheques deposited and GiftAid records. So my way of working is to go (in a terminal window) to that directory and then run programs as needed from there. -- Chris Green ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
I'm not clear on what the problem is (unless you're on a Mac). On my system (linux), In the file manager, navigate to the folder, find the file you want to open, and double click it. It only opens that database. What's confusing? On 4/26/22 09:25, Chris Green wrote: I have several gnucash accounts files (sqlite databases in my case) spread around my system. When I go to a specific directory and run GnuCash I just want it to see only the database[s] in that directory. Is there a way I can tell gnucash to forget about all previous files it has opened? As it is I get presented with a 'memory' of other accounts which can be very confusing unless I'm very careful with file naming. The --nofile option tells gnucash not to open the last accounts database, it helps a little, but I really want it to forget more! ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
That was exactly what I meant. As I said, it wasn't clear what your issue was. It sounded like you were concerned that other files showed inside the app; my suggestion was based on that. Gnucash is hard coded to open the last file. You can rewrite the code if you like, or you could do as another person suggested, and create shortcuts that explicitly open specific data files. That's not particularly complicated. On April 26, 2022 1:36:13 PM EDT, Chris Green wrote: >On Tue, Apr 26, 2022 at 12:24:32PM -0400, David T. wrote: >>On April 26, 2022 11:25:02 AM EDT, Chris Green wrote: >> > I have several gnucash accounts files (sqlite databases in my case) >> > spread around my system. When I go to a specific directory and run >> > GnuCash I just want it to see only the database[s] in that directory. >> > Is there a way I can tell gnucash to forget about all previous files >> > it has opened? As it is I get presented with a 'memory' of other >> > accounts which can be very confusing unless I'm very careful with file >> > naming. >> > The --nofile option tells gnucash not to open the last accounts >> > database, it helps a little, but I really want it to forget more! >> >>I'm not certain what has you confused, but if you need each file to >>have its own existence, you might have to create separate OS logins for >>each. >> >Seriously?! Do you really mean that I should create a different user >for each GnuCash account? That seems a very clumsy way to handle more >than one account. > >What 'has me confused' is the way that GnuCash by default opens the >last account I was looking at. In nine cases out of ten that's just >what I don't want it to do, why else would I have exited GnuCash and >moved to another directory? > >My ideal would be for GnuCash to look for account files in the current >directory, if there is only one then open that one, if there are more >then offer me a list to choose from. I can write myself a little >wrapper script to do this but I don't find other programs need this. >Many other programs do have a 'recently opened' option but they don't >automatically open the last opened file. ... and, as I pointed out, >using the --nofile option prevents GnuCash from opening any file, you >have to select the file after starting GnuCash. > > >-- >Chris Green >___ >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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
On 4/26/2022 11:25 AM, Chris Green wrote: I have several gnucash accounts files (sqlite databases in my case) spread around my system. When I go to a specific directory and run GnuCash I just want it to see only the database[s] in that directory. Is there a way I can tell gnucash to forget about all previous files it has opened? As it is I get presented with a 'memory' of other accounts which can be very confusing unless I'm very careful with file naming. The --nofile option tells gnucash not to open the last accounts database, it helps a little, but I really want it to forget more! It may be confusing things slightly when you shorten "book of accounts" to "accounts" instead of "books" << we usually refer to the financial records of an entity as "its books" --- in days of yore when the records were kept pen and ink on paper the "journal" and "ledgers" WERE books (bound volumes of accounting paper) >> Why is remembering in what directory the records for an entity are kept easier than remembering the name of the entity? I would find it much more difficult to keep track if the books for each of the entities were named just "books" and what made the difference was WHERE they were. Thus when I was using gnucash to handle :the books" for several entities besides myself I named each of the files for the entity. So the books for MA Chapter of TACF might have been called MATACF.gnucash, those of the local chapter of CoG Weavers.gnucash, etc. They were in fact living in different directories, but that was beside the point. The little MRU (most recently used) list in gnucash made it easier to select any of the ones "most popular" but I could file=>open whichever I wanted to work on. Michael D Novack ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
I have 3 separate gnucash data files. I never open gnucash rather I click on (or have link/shortcut to the data file. That way, I can have the data file links where they are easy to get to. Bruce On Tue, Apr 26, 2022 at 11:37 AM Chris Green wrote: > On Tue, Apr 26, 2022 at 12:24:32PM -0400, David T. wrote: > >On April 26, 2022 11:25:02 AM EDT, Chris Green wrote: > > > I have several gnucash accounts files (sqlite databases in my case) > > > spread around my system. When I go to a specific directory and run > > > GnuCash I just want it to see only the database[s] in that directory. > > > Is there a way I can tell gnucash to forget about all previous files > > > it has opened? As it is I get presented with a 'memory' of other > > > accounts which can be very confusing unless I'm very careful with file > > > naming. > > > The --nofile option tells gnucash not to open the last accounts > > > database, it helps a little, but I really want it to forget more! > > > >I'm not certain what has you confused, but if you need each file to > >have its own existence, you might have to create separate OS logins > for > >each. > > > Seriously?! Do you really mean that I should create a different user > for each GnuCash account? That seems a very clumsy way to handle more > than one account. > > What 'has me confused' is the way that GnuCash by default opens the > last account I was looking at. In nine cases out of ten that's just > what I don't want it to do, why else would I have exited GnuCash and > moved to another directory? > > My ideal would be for GnuCash to look for account files in the current > directory, if there is only one then open that one, if there are more > then offer me a list to choose from. I can write myself a little > wrapper script to do this but I don't find other programs need this. > Many other programs do have a 'recently opened' option but they don't > automatically open the last opened file. ... and, as I pointed out, > using the --nofile option prevents GnuCash from opening any file, you > have to select the file after starting GnuCash. > > > -- > Chris Green > ___ > 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
On 2022-04-26 13:49, davidcousen...@gmail.com wrote: > Unfortunately GnuCash doesn't work that way AFAIK. Depending on your OS you > may > be able to create separate launchers in the Desktop menufor each specific file > and name them accordingly. I know this will work on Linux Mint and likely > Ubuntu > variants but not sure on other OS. That's a yes for Windows 7, 8.1, and 1 with GC 2.6.x. I've seen other people post here that it also works in Windows with later GC versions. > The command issued by the launcher is > "gnucash %f". If you change the "%f" to a specific path/filename it will open > that specific file or at least it did several years ago when I used to work on > multiple files. > Then you just choose the launcher for the file you want to work on. If you > are a > terminal user you could create separate aliases for the commands with > different > filenames. Or ... set up a menu in a script or batch file (whatever your OS calls it). Then instead of having one shortcut for each set of books, you'll have one that you can launch to be presented with all choices. -- Stan Brown Tehachapi, CA, USA https://BrownMath.com ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
Unfortunately GnuCash doesn't work that way AFAIK. Depending on your OS you may be able to create separate launchers in the Desktop menufor each specific file and name them accordingly. I know this will work on Linux Mint and likely Ubuntu variants but not sure on other OS. The command issued by the launcher is "gnucash %f". If you change the "%f" to a specific path/filename it will open that specific file or at least it did several years ago when I used to work on multiple files. Then you just choose the launcher for the file you want to work on. If you are a terminal user you could create separate aliases for the commands with different filenames. David Cousens On Tue, 2022-04-26 at 16:25 +0100, Chris Green wrote: > I have several gnucash accounts files (sqlite databases in my case) > spread around my system. When I go to a specific directory and run > GnuCash I just want it to see only the database[s] in that directory. > > Is there a way I can tell gnucash to forget about all previous files > it has opened? As it is I get presented with a 'memory' of other > accounts which can be very confusing unless I'm very careful with file > naming. > > The --nofile option tells gnucash not to open the last accounts > database, it helps a little, but I really want it to forget more! > ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash??? databases)?
At Tue, 26 Apr 2022 11:44:57 -0700 stephen.m.butle...@gmail.com wrote: > > On 4/26/22 11:33, Robert Heller wrote: > > At Tue, 26 Apr 2022 19:21:46 +0100 Chris Green wrote: > > > > On Tue, Apr 26, 2022 at 02:00:22PM -0400, Robert Heller wrote: > >>> Under Linux, gnucash's "recent file memory" is in ~/.gnucash/books/. > >>> Maybe if > >>> that directory is removed or made to be an empty "read-only" directory, > >>> you > >>> might be able to "enforce" gnucash to have a memory loss... > >>> > >>> rm ~/.gnucash/books/* > >>> chmod -w ~/.gnucash/books > >>> > >> Yes, it seems a bit drastic though! :-) > >> > >> It's actually /home/chris/.local/share/gnucash/books (or, strictly, > >> some system variable specifies the directory I believe). > > Probably depends on the version. I'm still using 2.6.19-1 on my Ubuntu > > 18.04 > > system. > > > > Even opening GnuCash from a menu or icon (rather than the command > > line) I'd really prefer that it didn't default to the last set of > > accounts opened. > > Yeah, that is unfortunate. And really unfriendly. > > > > I happen to really like that it opens the last set of books.ÃÂ Yes, I > have three (3) separate sets of books with each in a different folder > (directory). > > And having the list of recent opened files makes it really handy to > switch between the three sets as desired. I have no objection to the recent opened files. But applications that automagically opening the last opened can be obnoxious and awkward for some workflows. There should be preferences settings for that -- eg what is in the recent opened files list and what to do when opened without a filename on the command line (open nothing, open last, something else, etc.). > > --Steve > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software-- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services hel...@deepsoft.com -- Webhosting Services ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash?? databases)?
On 4/26/22 11:33, Robert Heller wrote: At Tue, 26 Apr 2022 19:21:46 +0100 Chris Green wrote: On Tue, Apr 26, 2022 at 02:00:22PM -0400, Robert Heller wrote: Under Linux, gnucash's "recent file memory" is in ~/.gnucash/books/. Maybe if that directory is removed or made to be an empty "read-only" directory, you might be able to "enforce" gnucash to have a memory loss... rm ~/.gnucash/books/* chmod -w ~/.gnucash/books Yes, it seems a bit drastic though! :-) It's actually /home/chris/.local/share/gnucash/books (or, strictly, some system variable specifies the directory I believe). Probably depends on the version. I'm still using 2.6.19-1 on my Ubuntu 18.04 system. Even opening GnuCash from a menu or icon (rather than the command line) I'd really prefer that it didn't default to the last set of accounts opened. Yeah, that is unfortunate. And really unfriendly. I happen to really like that it opens the last set of books. Yes, I have three (3) separate sets of books with each in a different folder (directory). And having the list of recent opened files makes it really handy to switch between the three sets as desired. --Steve -- 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash?? databases)?
At Tue, 26 Apr 2022 19:21:46 +0100 Chris Green wrote: > > On Tue, Apr 26, 2022 at 02:00:22PM -0400, Robert Heller wrote: > > > > Under Linux, gnucash's "recent file memory" is in ~/.gnucash/books/. Maybe > > if > > that directory is removed or made to be an empty "read-only" directory, you > > might be able to "enforce" gnucash to have a memory loss... > > > > rm ~/.gnucash/books/* > > chmod -w ~/.gnucash/books > > > Yes, it seems a bit drastic though! :-) > > It's actually /home/chris/.local/share/gnucash/books (or, strictly, > some system variable specifies the directory I believe). Probably depends on the version. I'm still using 2.6.19-1 on my Ubuntu 18.04 system. > > Even opening GnuCash from a menu or icon (rather than the command > line) I'd really prefer that it didn't default to the last set of > accounts opened. Yeah, that is unfortunate. And really unfriendly. > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software-- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services hel...@deepsoft.com -- Webhosting Services ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash? databases)?
On Tue, Apr 26, 2022 at 02:00:22PM -0400, Robert Heller wrote: > > Under Linux, gnucash's "recent file memory" is in ~/.gnucash/books/. Maybe if > that directory is removed or made to be an empty "read-only" directory, you > might be able to "enforce" gnucash to have a memory loss... > > rm ~/.gnucash/books/* > chmod -w ~/.gnucash/books > Yes, it seems a bit drastic though! :-) It's actually /home/chris/.local/share/gnucash/books (or, strictly, some system variable specifies the directory I believe). Even opening GnuCash from a menu or icon (rather than the command line) I'd really prefer that it didn't default to the last set of accounts opened. -- Chris Green ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
On Tue, Apr 26, 2022 at 01:43:00PM -0400, Dan Black wrote: >Using the nofile option means to open Gnucash without any file. If you >specify a filename on the command line without the nofile, it should >open the file specified. Well that isn't what the man page says, it says " Do not load the last file opened". To me that says don't open the last file GnuCash had opened when I exited. As I said I can, of course, write wrapper scripts (or desktop files) to make GnuCash open specific files. However I wish it *didn't* open the last file I was editing by default. -- Chris Green ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash? databases)?
At Tue, 26 Apr 2022 18:36:13 +0100 Chris Green wrote: > > On Tue, Apr 26, 2022 at 12:24:32PM -0400, David T. wrote: > >On April 26, 2022 11:25:02 AM EDT, Chris Green wrote: > > > I have several gnucash accounts files (sqlite databases in my case) > > > spread around my system. When I go to a specific directory and run > > > GnuCash I just want it to see only the database[s] in that directory. > > > Is there a way I can tell gnucash to forget about all previous files > > > it has opened? As it is I get presented with a 'memory' of other > > > accounts which can be very confusing unless I'm very careful with file > > > naming. > > > The --nofile option tells gnucash not to open the last accounts > > > database, it helps a little, but I really want it to forget more! > > > >I'm not certain what has you confused, but if you need each file to > >have its own existence, you might have to create separate OS logins for > >each. > > > Seriously?! Do you really mean that I should create a different user > for each GnuCash account? That seems a very clumsy way to handle more > than one account. > > What 'has me confused' is the way that GnuCash by default opens the > last account I was looking at. In nine cases out of ten that's just > what I don't want it to do, why else would I have exited GnuCash and > moved to another directory? > > My ideal would be for GnuCash to look for account files in the current > directory, if there is only one then open that one, if there are more > then offer me a list to choose from. I can write myself a little > wrapper script to do this but I don't find other programs need this. > Many other programs do have a 'recently opened' option but they don't > automatically open the last opened file. ... and, as I pointed out, > using the --nofile option prevents GnuCash from opening any file, you > have to select the file after starting GnuCash. In the GUI world there really isn't anything like a "current directory". GUI apps don't know anything about the current directory, *esp* if they are fired up from a launcher menu or desktop icon. I understand that under MS-Windows (and maybe Linux) you can bind desktop *file* icons to fire up gnucash with the specified file. I have heard that this does not work under MacOSX -- something is "broken" there. From the (evil?) command line, gnucash will take a filename on the command line (at least for XML/Compressed XML files -- I have not used a version of gnucash that supports SQL). Under Linux, gnucash's "recent file memory" is in ~/.gnucash/books/. Maybe if that directory is removed or made to be an empty "read-only" directory, you might be able to "enforce" gnucash to have a memory loss... rm ~/.gnucash/books/* chmod -w ~/.gnucash/books > > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software-- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services hel...@deepsoft.com -- Webhosting Services ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
Using the nofile option means to open Gnucash without any file. If you specify a filename on the command line without the nofile, it should open the file specified. Setup a shortcut for each of your files. On April 26, 2022 1:36:42 PM Chris Green wrote: On Tue, Apr 26, 2022 at 12:24:32PM -0400, David T. wrote: On April 26, 2022 11:25:02 AM EDT, Chris Green wrote: > I have several gnucash accounts files (sqlite databases in my case) > spread around my system. When I go to a specific directory and run > GnuCash I just want it to see only the database[s] in that directory. > Is there a way I can tell gnucash to forget about all previous files > it has opened? As it is I get presented with a 'memory' of other > accounts which can be very confusing unless I'm very careful with file > naming. > The --nofile option tells gnucash not to open the last accounts > database, it helps a little, but I really want it to forget more! I'm not certain what has you confused, but if you need each file to have its own existence, you might have to create separate OS logins for each. Seriously?! Do you really mean that I should create a different user for each GnuCash account? That seems a very clumsy way to handle more than one account. What 'has me confused' is the way that GnuCash by default opens the last account I was looking at. In nine cases out of ten that's just what I don't want it to do, why else would I have exited GnuCash and moved to another directory? My ideal would be for GnuCash to look for account files in the current directory, if there is only one then open that one, if there are more then offer me a list to choose from. I can write myself a little wrapper script to do this but I don't find other programs need this. Many other programs do have a 'recently opened' option but they don't automatically open the last opened file. ... and, as I pointed out, using the --nofile option prevents GnuCash from opening any file, you have to select the file after starting GnuCash. -- Chris Green ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
On Tue, Apr 26, 2022 at 12:24:32PM -0400, David T. wrote: >On April 26, 2022 11:25:02 AM EDT, Chris Green wrote: > > I have several gnucash accounts files (sqlite databases in my case) > > spread around my system. When I go to a specific directory and run > > GnuCash I just want it to see only the database[s] in that directory. > > Is there a way I can tell gnucash to forget about all previous files > > it has opened? As it is I get presented with a 'memory' of other > > accounts which can be very confusing unless I'm very careful with file > > naming. > > The --nofile option tells gnucash not to open the last accounts > > database, it helps a little, but I really want it to forget more! > >I'm not certain what has you confused, but if you need each file to >have its own existence, you might have to create separate OS logins for >each. > Seriously?! Do you really mean that I should create a different user for each GnuCash account? That seems a very clumsy way to handle more than one account. What 'has me confused' is the way that GnuCash by default opens the last account I was looking at. In nine cases out of ten that's just what I don't want it to do, why else would I have exited GnuCash and moved to another directory? My ideal would be for GnuCash to look for account files in the current directory, if there is only one then open that one, if there are more then offer me a list to choose from. I can write myself a little wrapper script to do this but I don't find other programs need this. Many other programs do have a 'recently opened' option but they don't automatically open the last opened file. ... and, as I pointed out, using the --nofile option prevents GnuCash from opening any file, you have to select the file after starting GnuCash. -- Chris Green ___ 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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
I'm not certain what has you confused, but if you need each file to have its own existence, you might have to create separate OS logins for each. On April 26, 2022 11:25:02 AM EDT, Chris Green wrote: >I have several gnucash accounts files (sqlite databases in my case) >spread around my system. When I go to a specific directory and run >GnuCash I just want it to see only the database[s] in that directory. > >Is there a way I can tell gnucash to forget about all previous files >it has opened? As it is I get presented with a 'memory' of other >accounts which can be very confusing unless I'm very careful with file >naming. > >The --nofile option tells gnucash not to open the last accounts >database, it helps a little, but I really want it to forget more! > >-- >Chris Green >___ >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.
Re: [GNC] How to manage multiple accounts (as in separate gnucash databases)?
On Tue, Apr 26, 2022 at 04:25:02PM +0100, Chris Green wrote: > I have several gnucash accounts files (sqlite databases in my case) > spread around my system. When I go to a specific directory and run > GnuCash I just want it to see only the database[s] in that directory. > > Is there a way I can tell gnucash to forget about all previous files > it has opened? As it is I get presented with a 'memory' of other > accounts which can be very confusing unless I'm very careful with file > naming. > > The --nofile option tells gnucash not to open the last accounts > database, it helps a little, but I really want it to forget more! > ... and the --nofile option doesn't appear to do what it says it does. The man page says:- --nofile Do not load the last file opened However with the --nofile option gnucash doesn't even open a file whose name you give it on the command line! -- Chris Green ___ 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.
[GNC] How to manage multiple accounts (as in separate gnucash databases)?
I have several gnucash accounts files (sqlite databases in my case) spread around my system. When I go to a specific directory and run GnuCash I just want it to see only the database[s] in that directory. Is there a way I can tell gnucash to forget about all previous files it has opened? As it is I get presented with a 'memory' of other accounts which can be very confusing unless I'm very careful with file naming. The --nofile option tells gnucash not to open the last accounts database, it helps a little, but I really want it to forget more! -- Chris Green ___ 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.