Linux distributions are starting to get support for Colour profiles with gnome-color-manager which is planned to be part of Fedora 13 .
IBM and Lenovo have been providing colour profile packages for years, unfortunately they are stuck away in Windows .exe files, so you need wine or a windows machine to unpack them.
simplify the procedure for finding the right colour profile to load
Unpack and find your colour profile
If you unpack the exe file using Wine the profiles will be located in ~/.wine/drive_c/DRIVERS/WIN/MONITOR/ In that directory you will find a .INI file with a mapping of the LCD vendor to colour profile. But first you need to know which LCD you have. Unfortunately xrandr does not provide the vendor information, but monitor-edid from the monitor-edid RPM (on Fedora) does.
$ monitor-edid EISA ID: LEN4022 Screen size: 28.6 cm x 21.4 cm (14.06 inches, aspect ratio 4/3 = 1.34) Gamma: 2.2 Digital signal # Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 4/3, 124 dpi) ModeLine "1400x1050" 108 1400 1448 1560 1688 1050 1051 1054 1066 -hsync -vsync # Monitor preferred modeline (50.0 Hz vsync, 53.3 kHz hsync, ratio 4/3, 124 dpi) ModeLine "1400x1050" 89.97 1400 1448 1560 1688 1050 1051 1054 1066 -hsync -vsync
As you can see from the above, I have a LEN4022. If I then look at the INF file
$ grep LEN4022 TPLCD.INF %TPSXGAP% = TPLCDSXGAP.Install, Monitor\LEN4022 ; 14" SXGA+ TFT 1400x1050 %TPSXGAP% = TPLCDSXGAP.Install.NTx86, Monitor\LEN4022 ; 14" SXGA+ TFT 1400x1050 %TPSXGAP% = TPLCDSXGAP.Install, Monitor\LEN4022 ; 14" SXGA+ TFT 1400x1050
You will see this maps to TPLCDSXGAP
We now need to find what colour profile that maps to.
$ grep -A 2 TPLCDSXGAP TPLCD.INF .... [TPLCDSXGAP.Install.NTx86] ; SXGA+ 1400x1050 DelReg=DEL_CURRENT_REG AddReg=1400, DPMS, ICM -- [TPLCDSXGAPF.Install.NTx86] ; SXGAP 1400x1050 IPS DelReg=DEL_CURRENT_REG AddReg=1400, DPMS, ICMF
This will generate quite a bit of output, but at the end you will see lines like those shown above. The last hit is a false-positive and not what we are looking for, but the one above it is correct. As you can see it refers to a ICM colour profile.
Now to finally find out which file we need to use
$ grep ICM TPLCD.INF .... [ICM] HKR,,ICMProfile,0,"TPLCD.icm" [ICMG60] HKR,,ICMProfile,0,"TPLCD60.icm" [ICMF] HKR,,ICMProfile,0,"TPFLX.icm" [ICMMB60] HKR,,ICMProfile,0,"TPMB60.icm" [ICMMB72] HKR,,ICMProfile,0,"TPMB72.icm"
As you can see above the ICM colour profile, maps to the TPLCD.icm file, so that is the file we need to load in gnome-color-manager for our ThinkPad LCD.
- L410, L510
- R60, R60e, R61, R61e, R61i
- R400, R500
- SL300, SL400, SL400c, SL410, SL500, SL500c, SL510
- T60, T60p, T61, T61p
- T400, T400s, T500
- W500, W700, W700ds
- X60, X60s, X60 Tablet, X61, X61s, X61 Tablet
- X200, X200s, X200 Tablet, X300, X301
- Z61e, Z61m, Z61p, Z61t
- Reserve Edition
- 240, 240X, 240Z
- 390, 390E, 390X
- 570, 570E
- 600, 600E, 600X
- 770E, 770ED, 770X, 770Z
- i Series 1200, i Series 1300
- i1400 Type 2621, 2651
- i Series 1720, i Series 1721, i1781
- A20m, A20p, A21e, A21m, A21p, A22e, A22m, A22p
- A30, A30p, A31, A31p
- G40, G41
- R30, R31
- R40, R40e
- R50, R50e, R50p, R51, R52
- T20, T21, T22, T23
- T40, T40p, T41, T41p, T42, T42p, T43, T43p
- X20, X21, X22, X23, X24
- X30, X31, X32
- X40, X41, X41 Tablet