cd-create-profile
Create CodeDeploy deployment profiles
SYNOPSIS
colordctl create-profile [OPTIONS...] [TYPE ID | --filename PATH]
PARAMETERS
TYPE
The category of the color profile (e.g., display, printer, scanner, generic). Required when creating an empty profile.
ID
A unique string identifier for the new profile. Required when creating an empty profile.
--filename PATH
Optional. Specifies the path to an existing ICC profile file to import and register. If used, TYPE and ID are not required, as properties are read from the file.
--scope SCOPE
Sets the visibility of the profile. Possible values are user (for current user only) or system (for all users). Default is system.
--description TEXT
Optional. Sets a human-readable description for the profile.
--model TEXT
Optional. Specifies the device model associated with the profile.
--vendor TEXT
Optional. Specifies the device vendor associated with the profile.
--help
Displays a help message and exits.
--version
Displays program version information and exits.
DESCRIPTION
The cd-create-profile command name is likely a typo for colordctl create-profile.
colordctl create-profile is a subcommand of the colordctl utility, which serves as the command-line interface for the colord system daemon. The primary purpose of this subcommand is to create and register new color profile objects within the colord daemon's database. It can either create a new, empty profile entry, which can be populated with ICC data later, or directly import an existing ICC (International Color Consortium) profile file during the creation process.
This command is crucial for applications and users who need to manage custom color profiles for various devices such as displays, printers, scanners, and cameras. By registering profiles with colord, these profiles become available for system-wide color management, ensuring consistent color reproduction across different devices and applications. It is often used by graphical configuration tools or automation scripts rather than directly by end-users.
CAVEATS
The command name cd-create-profile is highly likely a typo for colordctl create-profile.
This command requires the colord daemon to be running and relies on D-Bus communication.
Creating system-wide profiles (--scope system) typically requires elevated privileges (e.g., running with sudo).
This command only registers the profile with colord; associating it with a specific hardware device usually requires additional colordctl commands, such as colordctl device-add-profile.
PROFILE STORAGE AND MANAGEMENT
Profiles created or imported using colordctl create-profile are stored and managed by the colord daemon. System-wide profiles are typically located in /var/lib/colord/icc/, while user-specific profiles are found in ~/.local/share/icc/. The colord daemon ensures proper access control and integration with the system's color management workflows.
EMPTY VS. IMPORTED PROFILES
The flexibility to create either an empty profile or directly import an existing ICC file allows for different workflows. Empty profiles are useful when an ICC file is not immediately available but a placeholder is needed, or when a profile will be generated dynamically by another process. Importing directly is convenient for integrating pre-existing standard or custom profiles.
HISTORY
The colord project, which provides color management services on Linux, was initiated around 2009. The colordctl utility, its primary command-line client, has been a core component since its early development. The create-profile subcommand has been a fundamental function within colordctl, allowing users and applications to programmatically add and manage color profiles, adapting over time to incorporate more features and options for comprehensive profile management.
SEE ALSO
colordctl(1), colord(8), colormgr(1), icc(5)