http://bugs.winehq.org/show_bug.cgi?id=11532
--- Comment #10 from Hans Leidekker hans@it.vu.nl 2008-02-20 03:01:53 ---
Instead the most obvious way was off course to replace the sRGB\ Color\ Space\ Profile.icm in ~/.wine/drive_c/windows/system32/spool/drivers/color/ with my monitorprofile.
Yes, that's a workaround. When you change the monitor profile Photoshop calls mscms.AssociateColorProfileWithDevice which is a stub in Wine.
I have a hunch that this function manipulates the registry key mentioned in comment #4 but I need to verify that. When this is implemented we can make gdi32.GetICMProfile smarter by checking this key and your workaround should not be needed anymore.
I would suggest for future that wine read the xicc atom like gimp and others.
Yes, this is what I alluded to in comment #4. We should fall back to querying X for the monitor profile when this key is missing and rely on native tools to configure it.