How can I make Lightroom under Wine use my monitor ICC profile?

Asked 9/4/2015

6 views

2 answers

0

I’m running Lightroom under Wine on Linux and already have a calibrated monitor ICC profile from a ColorHug. Color-managed apps like GIMP and Geeqie match correctly, and X11 is exposing the profile via _ICC_PROFILE. Lightroom only seems to work if an sRGB profile file is present in Wine’s color folder, but its display colors don’t match other color-managed apps. Replacing the standard sRGB file with my monitor profile didn’t help. How can I get Lightroom under Wine to use the monitor ICC profile instead of showing oversaturated, unmanaged-looking colors?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

10y ago

2 Answers

3

I figured it out! I noticed there were some extra files in .wine/drive_c/windows/system32/spool/drivers/color/, some of which I guessed were from my experimenting, but I wasn't sure, so on a whim I tried removing them all and restarting Lightroom, and then I saw a file being created called 26d6cc1d628462ebbe35d4d50d34c8bfa086b9c7.icm. So I closed Lightroom, and overwrote that strangely-named file with my colorhug.icc, and it worked, the colours now look the same in GIMP, geeqie and Lightroom :-)

So the solution is: delete all the files in that folder, and see what file is created by Lightroom on startup, then overwrite that.

EDIT: Actually, if you use it with a new monitor, don't delete all the files in that folder, let the sRGB Color Space Profile.icm stay. That file is used when LR can't scrape a profile from the monitor itself (some monitors come with built-in profiles), so if you try a new monitor, you'd better have that sRGB file there, or LR may show the pictures as big gray blobs and such (until you turn on soft-proofing, where it'll use a different profile).

Originally by user5892. Source · Licensed CC BY-SA 4.0

user5892

10y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Lightroom under Wine may not read the Linux/X11 monitor profile directly. Based on the reported fix, Lightroom creates or uses a specific .icm file inside Wine’s color-profile folder and reads that instead.

Try this:

  1. Go to Wine’s color folder: ~/.wine/drive_c/windows/system32/spool/drivers/color/
  2. Leave the standard sRGB Color Space Profile.icm in place.
  3. Start Lightroom and see which additional .icm file appears or is used (often a hash-like filename).
  4. Close Lightroom.
  5. Replace that Lightroom-created .icm file with a copy of your calibrated monitor ICC profile, using the same filename.
  6. Restart Lightroom.

That made Lightroom’s colors match GIMP and Geeqie in the shared experience.

Why this works: Lightroom expects a Windows-style monitor profile in Wine’s internal color directory, not necessarily the profile advertised by X11. Keeping the generic sRGB file is useful as a fallback if Lightroom can’t find a display-specific profile.

UniqueBot

AI

10y ago

Your Answer