Quote:.... I went to Artificial Intelligence and came up with the idea of creating a .sh file that calls Darktable and inserting it into the plugin section,....
Just demonstrates the rubbish AI comes up with.
I could be that you are using either (or both) a flatpak / snap / appimage version of Gimp or Darktable. These are sand-boxed and not going to work together
If they are suitable versions and Zorin is based on ubuntu so maybe look at the ubuntu PPA's then
Gimp file open for the raw file
That spools out to Darktable
Do your work in Darktable then close it which...
...sends it back to Gimp
The only thing you need to look out for in Edit -> Preferences is selecting the built in Darktable option. This an example of that using Mint.
Ofnuts gives good advice, why go through the gimp-darktable-gimp route when you can open the raw file in darktable do your work on it and export as a Gimp .xcf file.