Color profiles (to be pinned)
If, like me, you have been affected by a degrading in the quality of colors, the following procedure can help (source). The result affects all applications, but especially Chrome-based browsers and Electron-based applications will benefit.
Extract
Chrome retrieves the color profile to use from the _ICC_PROFILE atom on the root window.
- Step 1: Within your Desktop settings, visit the Color management properties editor
- Step 2: For each monitor, expand the monitor’s profiles, select each profile, and click “Remove profile” until no profiles remain
- Step 3: Restart Chrome
Using colormgr from the command line
To persistently set the colord default color space from the command line, copy-paste the following block into a terminal
SRGB_PATH=$(colormgr get-standard-space srgb | grep "Object Path:" | cut -d: -f2);
for DISPLAY_PATH in $(colormgr get-devices display | grep "Object Path:" | cut -d: -f2)
do
colormgr device-add-profile $DISPLAY_PATH $SRGB_PATH;
colormgr device-make-profile-default $DISPLAY_PATH $SRGB_PATH;
done
or follow the below steps:
Step 1: Get the object path for the sRGB colorspace. Do this by running:
colormgr get-standard-space srgb
Note down the “Object Path” (it will be something like /org/freedesktop/…
). We’ll refer to this path as SRGB_PATH in future steps.
Step 2: Get the object paths for the devices for which you want to reset. Do this by running
colormgr get-devices
Note down the “Object Path” of each device you want to set the color profile for (again it will be something like /org/freedesktop/…
). We’ll refer to each of these paths as DISPLAY_PATH in future steps.
Step 3: For each device, register the sRGB color profile with the device. Do this by running:
colormgr device-add-profile DISPLAY_PATH SRGB_PATH
Where SRGB_PATH is the path obtained in step 1 and DISPLAY_PATH is the path for each device obtained in step 2.
Note that you may ignore error reports saying “profile object path … has already been added”.
Step 4: For each device, set the default color profile to be the sRGB color profile. Do this by running:
colormgr device-make-profile-default DISPLAY_PATH SRGB_PATH
Again, here SRGB_PATH is the path obtained in step 1 and DISPLAY_PATH is the path for each device obtained in step 2.
Step 5: Restart Chrome
Using xprop
(current session only)
To remove the color profile for the current session only, run
xprop -root -remove _ICC_PROFILE
You’ll need to restart Chrome for us to re-read the property.
Note that this will only apply to the current session.
Pinned Comments
SoftExpert commented on 2025-02-09 10:20 (UTC)
For the beginners in need of assistance, first take a look at this recommended guide https://github.com/korvahannu/arch-nvidia-drivers-installation-guide - maybe it helps to solve the issues your are having with this version of the driver.