Profiles should be saved and read from $XDG_CONFIG_HOME/OpenRGB/
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
The XDG Base Directory spec helps organize config files. Would you consider storing the configs for this program using this spec?
A simple way to update users to this config is the following bash script:
$ mkdir $XDG_CONFIG_HOME/OpenRGB
$ mv PATH_TO_OPENRGB/*.orp $XDG_CONFIG_HOME/OpenRGB/
This would also change the behavior of the -p
flag, making the path relative to $XDG_CONFIG_HOME/OpenRGB/
, so that $ sudo OpenRGB -p "Profile.orp"
would be valid.