Re: [GNC] How to install/load custom report in flatpak, installation *for all users*
Wm Tarr <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.gnucash.user |
|---|---|
| Message-ID | <[email protected]> |
Hmmn. Having played a bit with the Portable Apps version I think unless someone says the all users way is possible with newer versions of gnc I'd go for the per user way which I can confirm works. Wm On 2026-06-10 08:06, rsbrux via gnucash-user wrote: > Sorry, forgot to change the subject line! > > Also, I should have specified: > "This is where the standard reports are located in a flatpak > installation *for all users*." > > On 09.06.2026 19:08, rsbrux wrote: >> It's exactly because of the text you quote below that I chose the >> directory: >> /var/lib/flatpak/app/org.gnucash.GnuCash/current/active/files/share/guile/site/2.2/gnucash/reports/standard/ >> >> >> This is where the standard reports are located in a flatpak >> installation. >> >> This is the report I am trying to use; >> https://github.com/apowell656/gnucash-financial-radar/blob/main/financial-radar-5.15.scm >> >> and it does include >> define-module >> define report-name >> and >> define report-guid >> >> statements >> >> Am I missing something? >> Thanks for your help! >> >> >>> >> >>> Date: Tue, 9 Jun 2026 10:32:35 +0100 >>> From: Wm Tarr<[email protected]> >>> To:[email protected] >>> Subject: Re: [GNC] How to install/load custom report in flatpak >>> installation *for all users* >>> Message-ID:<[email protected]> >>> Content-Type: text/plain; charset=UTF-8; format=flowed >>> >>> I think you're using the wrong directory, double check this bit: >>> >>> === >>> >>> While not recommended you can also copy the report to the installed >>> report directory. Make sure you have included a module definition as >>> shown above. All*.scmfiles from >>> thegnucash/scm/gnucash/report/standard-reports/directory will be loaded >>> automatically. This applies/only/to thestandard-reports/sub-directory, >>> not to any of the other directories with reports. Hence, the easiest >>> way >>> to have your report available to gnucash is to copy your *.scm file >>> into >>> that directory. >>> >>> === >>> >>> >From what you have said I don't think you have a standard-reports >>> sub dir and you still have to make a module definition anyway. >>> >>> Wm >>> >>> >>> On 2026-06-08 19:35, rsbrux via gnucash-user wrote: >>>> Many thanks for your tips. >>>> >>>> 1. I did have a copy under >>>> ~/.var/app/org.gnucash.GnuCash/data/gnucash/ >>>> but deleting it didn't change anything >>>> >>>> 2. I replaced the original guid in the SCM file (which contained >>>> hyphens) with one generated byhttps://www.guidgenerator.com/ as >>>> recommended here; >>>> https://wiki.gnucash.org/wiki/Custom_Reports#Setup_a_prototype_report >>>> however, the behavior remained the same: GC fails to start unless I >>>> remove the new report from: >>>> /var/lib/flatpak/app/org.gnucash.GnuCash/current/active/files/share/gui >>>> >>>> le/site/2.2/gnucash/reports/standard/ >>>> >>>> P.S. this would happen if you had the reports in both a user dir and >>>> the >>>> system wide one >>>> >>>> Wm >>>> >>>> >>>> On 2026-06-07 13:47, Wm Tarr wrote: >>>>> Have you ended up with a duplicate report guid? >>>>> >>>>> see >>>>> >>>>> === >>>>> >>>>> Your report must have a globally unique identifier (guid). GnuCash >>>>> will fail to start if multiple reports have the same unique id. >>>>> >>>>> === >>>>> >>>>> from the same page you linked to in your message. >>>>> >>>>> Wm >>>>> >>>>> >>>>> On 2026-06-03 17:18, rsbrux via gnucash-user wrote: >>>>>> I have installed GnuCash flatpak for *all users* under Ubuntu Studio >>>>>> 24.04.1.LTS. >>>>>> Extrapolatiing from >>>>>> https://wiki.gnucash.org/wiki/Configuration_Locations#System-wide >>>>>> and >>>>>> >>>> https://wiki.gnucash.org/wiki/Custom_Reports#Load_the_report_from_the_installed_report_directory >>>> >>>>>> I tried copying a custom .scm file (the recently announced >>>> financial- >>>>>> radar) into >>>>>> >>>> /var/lib/flatpak/app/org.gnucash.GnuCash/current/active/files/share/gui >>>> >>>>>> le/site/2.2/gnucash/reports/standard/ >>>>>> However, this prevents GnuCash from starting. >>>>>> >>>> https://wiki.gnucash.org/wiki/Custom_Reports#Load_the_report_from_a_user_account >>>> >>>>>> says that I need to declare the report in config.user or >>>>>> config_user.scm. >>>>>> However, I don't want to have to do that for every user. >>>>>> How can I declare the report for all users of the flatpak >>>> installation? >>>>>> _______________________________________________ >>>> << >>>> > _______________________________________________ > gnucash-user mailing list > [email protected] > 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 [email protected] 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.