为实验和插件开发创建 Gimp "debug" 用户配置文件

Creating an Gimp "debug" user profile for experiments and plugin-development

是否可以创建一个为插件开发设计的替代方案User Profile folder (Windows c:\Users\{your_id}\AppData\Roaming\GIMP.10, Unix's ~/.config/GIMP/2.10, MacOS /Users/{your_id}/Library/Application Support/GIMP/2.10/) for plugin development purposes in the style of Visual Studios Experimental Instances

Visual Studio 已将此自动化,但我现在想要的只是一种手动方法,以后有可能将其自动化。

我的解决方案现在 windows 是创建一个新用户 {GimpDebugger} 并使用该 gimp 实例从我的普通帐户安装和调试实验性插件,这样我宝贵的 GIMP 配置文件就不会受到太大污染。但是这种方法不能自动化,也不能移植,很好。

编辑: 不,创建新用户进行调试非常麻烦。我只是暂时备份我的 gimp 配置文件并继续编码。但还是想解决。

您可以在启动 Gimp 之前设置 GIMP2_DIRECTORY 环境变量(在 .BAT 或其他文件中)让 Gimp 使用完全不同的用户配置文件。

对于插件开发,如果您只想更改 Gimp 使用的 plug-in-path(在开头添加一个包含您自己的插件的目录),您可以只替换 gimprc 文件:

gimp --gimprc /path/to/alternate/gimprc

另一个有用的选项是 --new-instance,因为如果没有它,如果您已经有一个带有常规配置文件的 运行 Gimp 实例,发出 Gimp 命令只会激活 运行一.