[GNC] How to install/load custom report in flatpak installation *for all users*
Wm Tarr
wm at ilipsis.net
Tue Jun 9 05:32:35 EDT 2026
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
> gnucash-user at 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.
More information about the gnucash-user
mailing list