Quote:'ve found a control in KDE settings>WorkspaceBehavior>Activities>Privacy where there is an ability to disable "Remember Opened Documents"...is that it?
Might be, never noticed that one. Might be a better bet than my heavy-handed cludge
-----
Delete the .xbel files in the folder ~/.local/share
In ~/.local/share as root make a folder named recently-used.xbel That prevents Gimp writing the file.
If you do not want to do that, make a script deleting those files that accumulate to large size. you might want to look at
~/.thumbnails/normal/*.*
~/.cache/thumbnails/normal/*.*
~/.local/share/*.xbel
~/.local/share/RecentDocuments/*.*
~/.local/share/okular/docdata/*.xml
since you use krita
~/.local/share/krita.log
~/.local/share/krita-sysinfo.log
I delete the contents of those, and a couple of other actions on startup