If you recently noticed that your Samsung monitor is displaying a pinkish hue instead of proper grayscale tones on your Ubuntu 22.04 system, you might initially suspect that your monitor or graphics card is malfunctioning. However, if your monitor works fine with another device, like a Windows notebook, and another monitor works well with your current setup, the issue is likely related to the color profile settings on your Ubuntu system.
In this guide, I'll walk you through diagnosing and fixing this issue by adjusting the color profile of your monitor using command line tools. By the end, your display should return to the expected colors.
Before jumping to solutions, ensure that the problem is indeed with the color profile settings:
- Check with Another Device: Connect your Samsung monitor to another device (e.g., a Windows notebook) to see if the issue persists. If the colors display correctly, the monitor is fine.
- Test with Another Monitor: Connect a different monitor to your Ubuntu system. If it displays correctly, your graphics card and cable are not the problem.
The problem likely lies within the color profile settings of your monitor on Ubuntu. By default, Ubuntu might have assigned a faulty or inappropriate color profile to your monitor, causing the pinkish hue.
Before delving into command-line solutions, check if you can resolve the issue via the graphical interface:
- Open Settings: Go to the Settings menu in Ubuntu.
- Navigate to Color: Click on the "Color" section.
- Select Your Monitor: Find your Samsung monitor in the list of devices.
- Change the Profile: If you see an sRGB profile or any other appropriate color profile, select it.
If you find and select an appropriate profile, this method is much easier and more straightforward. However, if you don't find a useful profile in the GUI, proceed with the command-line method.
Open a terminal and run the following commands:
colormgr get-profiles
This command lists all available color profiles on your system. Note down the Profile_ID
for the standard RGB profile, which is often named something like sRGB.icc
.
Next, list all connected devices:
colormgr get-devices
Look through the output to find your monitor's device ID. It will look something like /org/freedesktop/ColorManager/devices/...
. Note this down as well.
Now, use the Profile_ID
and Device_ID
you noted to assign the standard RGB profile to your monitor. Replace Device_ID
and Profile_ID
in the following command with your actual IDs. Here is an example command for reference:
colormgr device-add-profile "xrandr-Samsung Electric Company-CF791-HTRK100105" icc-a16f7c144d1f572cbbc0ee12227c0d14
After assigning the new profile, verify if the changes have taken effect. Your monitor should now display colors correctly without the pinkish hue.
Sometimes, a reboot is necessary for changes to take full effect. If the color profile assignment doesn't seem to apply immediately, restart your system:
sudo reboot
Changing the color profile should resolve the pinkish hue issue on your Samsung monitor when using Ubuntu 22.04. If you continue to experience problems, double-check that you selected the correct Profile_ID
and Device_ID
, and try reapplying the steps above.
This solution not only fixes the color display issue but also helps maintain accurate color representation on your monitor. If you found this guide helpful, consider sharing it with others who might face similar issues.
And mine -- thank you so much!