IPB

Welcome Guest ( Log In | Register )

> How to use ICC colour profile in Linux, http://ubuntuforums.org/showthread.php?t=901273
猫猫草
post 2009-07-19 16:18:56, Sun
Post #1


猫猫猫
***

Group: Power Cat
Posts: 626
Joined: 2006-12-8
Member No.: 2



Get the software from here:
http://www.argyllcms.com/

You'll also need some type of calibration hardware - I use a DTP94 type device.

To Profile The Display

1) Set env. variable:
export ARGYLL_IGNORE_XRANDR1_2=yes

2) Profile the display:
dispcal -yl -K -t6500 -f1 -k0 -o samsung.icc

3) Install Profile into X11 atom (this survives reboots):
dispwin -I samsung.icc


Every time you boot

1) Set env. variable:
export ARGYLL_IGNORE_XRANDR1_2=yes

2) Load profile into X11:
dispwin -L


NOTE: You may get strange color casts if you don't do the "export ARGYLL_IGNORE_XRANDR1_2=YES" before running the "dispwin -L"


Other Notes

dispwin -c (clears profile)
dispwin –V samsung.icc (verified profile is loaded)

“dispwin -I” installs your profile in an x11 atom. A file is created called .config/color.jcnf

And the profile itself is copied to .local/share/color/icc/devices/display/

To verify the X11 atom is loaded - comma after -d is needed:
xprop -root | grep ICC | cut -f 1-10 -d,


Screen Savers (credit: lt_gustavsen; user from bibblelabs support forum)
If you are using gnome-screensaver it will destroy your calibration if you don't stop it before you load the calibration. I think gnome-screensaver remembers the status of the LUT from the time X11 was started. This script:

#!/bin/bash
#Profile installed once with:
#dispwin -I ~/.color/icc/i1.icc
gnome-screensaver-command --exit
export ARGYLL_IGNORE_XRANDR1_2=yes
dispwin -L
gnome-screensaver

attempts to set up ICC with a screen saver. The script stops gnome-screensaver, loads the calibration and restarts the gnome-screensaver. It's best to just disable the screen saver.

The quick way to check if you are affected by this:

dispwin -L -V (if OK)
gnome-screensaver-command -a
dispwin -L -V (if still OK you have solved the problem)
Go to the top of the page
 
+Quote Post

Posts in this topic
猫猫草   How to use ICC colour profile in Linux   2009-07-19 16:18:56, Sun
猫猫草   RE: How to use ICC colour profile in Linux   2010-05-17 13:26:26, Mon


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 2024-10-17 06:28