[GNC] maxfiles not changing list in app
Adrien Monteleone
adrien.monteleone at lusfiber.net
Wed Jan 21 11:08:40 EST 2026
I would think instead that you need to find that history file in the
flatpak path and change it there.
Perhaps, if you have the repo version installed, remove it and any
associated settings info in your home directory.
Regards,
Adrien
On 1/21/26 8:31 AM, Jared Squires via gnucash-user wrote:
> Just did that, here is the output:
>
> jared at jared-MS-7E26:~$ dconf dump /org/gnucash/GnuCash/history/
> [/]
> file0='/media/jared/Jared_s Files/GnuCash/xx1.gnucash'
> file1='/media/jared/Jared_s Files/GnuCash/xx2.gnucash'
> file2='/media/jared/Jared_s Files/GnuCash/xx3.gnucash'
> file3='/media/jared/Jared_s Files/GnuCash/xx4.gnucash'
> file4='/media/jared/Jared_s Files/GnuCash/xx5.gnucash'
> jared at jared-MS-7E26:~$ dconf write /org/gnucash/GnuCash/history/maxfiles 8
> jared at jared-MS-7E26:~$ dconf dump /org/gnucash/GnuCash/history/
> [/]
> file0='/media/jared/Jared_s Files/GnuCash/xx1.gnucash'
> file1='/media/jared/Jared_s Files/GnuCash/xx2.gnucash'
> file2='/media/jared/Jared_s Files/GnuCash/xx3.gnucash'
> file3='/media/jared/Jared_s Files/GnuCash/xx4.gnucash'
> file4='/media/jared/Jared_s Files/GnuCash/xx5.gnucash'
> maxfiles=8
> jared at jared-MS-7E26:~$
>
> That did not change the files in the list... I will say, that the first
> "dump" command lists the files in a different order than what was in the
> Recent Files list in GnuCash.
>
> I installed VER 5.14 from the Flathub repository, not the Mint Software
> Manager. When I go to About GnuCash I get this:
>
> GNC_DATA_HOME: /home/jared/.var/app/org.gnucash.GnuCash/data/gnucash
> (User modifiable)
> GNC_CONFIG_HOME: /home/jared/.var/app/org.gnucash.GnuCash/config/gnucash
> (User modifiable)
> GNC_BIN: /app/bin
> GNC_LIB: /app/lib/gnucash
> GNC_CONF: /app/etc/gnucash
> GNC_DATA: /app/share/gnucash
>
> I'm wondering if it's reading the recent files from a different place?
>
> In the
> /var/lib/flatpak/app/org.gnucash.GnuCash/x86_64/stable/9241a2690470b7cd8f995c29f1e2554b8cc7342e103e6fc4b7908e3f943bd188/files/etc/gnucash/environment
> file it does say:
>
> # GnuCash was not installed in the default location.
> # XDG_DATA_DIRS will be set so that our documentation
> # and gsettings schema are found.
> XDG_DATA_DIRS={GNC_HOME}/share;{XDG_DATA_DIRS};/usr/local/share;/usr/share
>
> Do I need to uninstall everything, delete any GnuCash file I find and
> install it again?
>
> Jared
>
> On 1/20/26 4:51 PM, Maf. King wrote:
>> Hi Jared.
>>
>> what output do you get from the command
>>
>> dconf dump /org/gnucash/GnuCash/history/
>>
>> it should return a list of the recently opened files and one integer parameter,
>> maxfiles=n
>>
>> if that is not set to your liking, a command like
>>
>> dconf write /org/gnucash/GnuCash/history/maxfiles 8
>>
>> might help. plus restart GC, of course.
>>
>> HTH,
>> Maf.
>>
>>
>> On Tuesday, 20 January 2026 19:25:18 GMT Jared Squires via gnucash-user wrote:
>>> I'm running Linux Mint 22.3, I have used the dconf editor and edited the
>>> file
>>> /usr/share/glib-2.0/schemas/org.gnucash.GnuCash.history.gschema.xml. I
>>> confirmed the default number is now 8.
>>>
>>> <schemalist gettext-domain="gnucash">
>>> <schema id="org.gnucash.GnuCash.history"
>>> path="/org/gnucash/GnuCash/history/">
>>> <key name="maxfiles" type="i">
>>> <default>8</default>
>>> <summary>Number of files in history</summary>
>>> <description>This setting contains the number of files to keep in
>>> the Recently Opened Files menu. This value may be set to zero to disable
>>> the file history. This number has a maximum value of 10.</description>
>>>
>>> However, the menu only lists 4 files.
>>>
>>> If I check the config/glib-2.0/setting/keyfile it lists the last 6 files
>>> I opened.
>>>
>>> [org/gnucash/GnuCash/history]
>>> file0='/media/jared/Jared_s Files/GnuCash/xx1.gnucash'
>>> file2='/media/jared/Jared_s Files/GnuCash/xx2.gnucash'
>>> file4='/media/jared/Jared_s Files/GnuCash/xx3.gnucash'
>>> file1='/media/jared/Jared_s Files/GnuCash/xx4.gnucash'
>>> file3='/media/jared/Jared_s Files/GnuCash/xx5.gnucash'
>>> file5='/media/jared/Jared_s Files/GnuCash/xx6.gnucash'
>>>
>>> I changed the file names to xx#
>>>
>>> Any help would be appreciated.
>>>
>>> Jared
>>>
>>>
>>> _______________________________________________
>>> 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.
>>
>>
>>
>
> _______________________________________________
> 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