Sorry to raise this old topic. But, my question is very related to this and I haven't found anything in the forum about my problem.
Yes, TRegistry works in Linux. However, instead of using a "per user" location like "~/.config/Lazarus" to store the reg.xml file, it uses a different location for each of the program's main form title, which is very strange.
For example, when the title of main program's main window is "myProgram - aFile" it saves the reg.xml file under the directory "~/.config/aFile - myProgram/". This is completely useless, since even the same program cannot re-access its old configuration values, once its title changes. Is there a way to make the path at least something like "~/.config/myProgram/reg.xml"?