At one stage, the Lazarus IDE Examples system changed from trying to run an example in root space to moving it to a writable space in the config directory. Just when, I am not sure (bit sad, it was, to some degree, my project). The new model was certainly there in Lazarus 3.0 and being a substantial change rather than a bug fix, maybe that was the change over ?
I am somewhat surprised that ArtLogi is getting Lazarus 2.2.6 from an Ubuntu Mate recent install. I would have expected Ubuntu 24.04 (available for five or six months) to be using, perhaps Lazarus 3.2 (which definitely has the new Examples System). I think it would have just missed 3.4.
Finally, the new examples system applies to the examples bundled with Lazarus, they have a small json config file added that defines where each example is and how it should be described in the listview on the Examples page.
https://wiki.freepascal.org/Lazarus_Examples_WindowAt the time, I planned to try and push some example config files out to various third party packages but have been lax I am afraid. Further, I am unsure of just how easy it is to get OPM packages updated ....
On the other hand, third party packages (including OPM ones) are not installed in root space so do not need to be moved, its just that for the end user, they are harder to find and don't appear in the defined categories.
Davo