ofn3-resource manager

This plugin lets you quickly activate or deactivate collections of resources. This reduces clutter in the resources lists and improves Gimp performance by reducing the number of resources it needs to cache. To do so:

Installation

Usage

File system preparation

To activate a collection, the manager makes the resources appear in one of the folders Gimp uses for active resources (see Edit > Preferences > Folders)

Invocation

Using the default configuration, the plugin is started for the relevant list of resources:

Menu

Configuration file

If used, the configuration file should be named after the script name (ofn3-resource-manager.ini, unless you rename the script). It is searched in that order: * in the plug-in-settings subfolder of the user’s Gimp profile * in the same folder as ofn3-resource-manager.py

The configuration file has a section for each of the managed resource types (brushes, patterns…). A section starts with its name between brackets: [section]

There is also a [common] section for general settings and for settings that have a common value across several sections (unless overriden by a specific setting in other sections).

The configurable items so far are:

In common:

In resource types sections (or [common]):

For all these items, some specific values dynamically replaced when reading the configuration:

These last two items can be used for menu locations and folders.

The default settings correspond to the following configuration:

[common]
enable:brushes dynamics fonts gradients palettes patterns
resources_active: ${gimp_user}/${type_l}
resources_stored: ${gimp_user}/${type_l}_storage
menu_path: <${type_c}>/${type_c} Menu
menu_label: Manage ${type_l} sets...
menu_blurb: Put online/offline sets of ${type_l}
dialog_title: ${type_c} sets manager

# No data in specific sections in the default configuration
[brushes]
[dynamics]
[fonts]
[gradients]
[palettes]
[patterns]

In the end, the folder structure should look like this:

{gimp_user_profile}
├── brushes/
│   └── Untitled.vbr
├── palettes/                   # Active palette folder used by Gimp
│   ├── Firecode-copy.gpl
│   ├── Greens/                 # Palette set activated by plugin 
│   │   ├── Greens-copy-#1.gpl  # (folder or ZIP with same name in the *_storage)
│   │   ├── Greens-copy-#2.gpl
│   │   ├── Greens-copy-#3.gpl
│   │   └── Greens-copy.gpl
│   ├── PaletteFromImage.gpl
│   └── PaletteFromImage-RC2.gpl
├── palettes_storage/           # Storage palette folder 
│   ├── Altitude/               # Inactive palette set
│   │   └── Altitude.gpl
│   └── Greens/                 # Activated palette set 
│       ├── Greens-copy-#1.gpl  # (folder with same name in the active folder)
│       ├── Greens-copy-#2.gpl
│       ├── Greens-copy-#3.gpl
│       └── Greens-copy.gpl
├── patterns/                   # Active pattern folder used by Gimp
│   └── JpegPattern.jpg
├── patterns_storage/           # Storage pattern folder 
│   └── Colors.zip              # A collection as a ZIP
├── plug-ins/
│    ├── ofn3-resource-manager/
│    │    ├── configuration.py
│    │    ├── container.py
│    │    ├── gimphelpers.py
│    │    ├── manager.py
│    │    ├── ofn3-resource-manager.ini  # Possible location
│    │    └── ofn3-resource-manager.py
│    └── {other plugins}
├── plug-in-settings/
│   ├── ofn3-resource-manager.ini  # Possible location
│   └── {other files}

Notes

Registration

Gimp updates the registration data for the plugins only when it notices a new plugin executable, or when an already registered executable changes (according to the file change date). Changing the menu-related configuration items above requires Gimp to update its registration data, but since the plugin file itself hasn’t changed it will not notice it.

You can force Gimp to re-acquire the registration data using one the three methods below: