Hello,
GrafX2 shortcuts are stored in a binary file named gfx2.cfg, gfx2-sdl2.cfg or gfx2-x11.cfg depending on which backend is used.
It should be saved next to gfx2.ini in the configuration directory. The algorithm (on Linux) to decide where that is:
- Look for the "gfx2*.cfg" file next to the executable. If it is there, run in portable mode and save all settings in that directory
- Otherwise, use the XDG_CONFIG_HOME environment variable (normally this will be $HOME/.config) and create a grafx2 subdirectory there
- If that is also not set, use $HOME/.config/grafx2/
This should be simple and work everywhere.
As far as I can see, Fedora provides GrafX2 as an RPM file. I would recommend using that, because I have no idea who made a FlatPak of GrafX2 and I don't know how FlatPak packaging works. If you want to get something fixed in the FlatPak package, you will have to track down who made it, and ask them for support. I think this is the correct place?
https://github.com/flathub/com.chez.GrafX2
--
Adrien / PulkoMandy