Hi! Using xcalib to load the profile prevents the lut to be destroyed after the resume of my notebook, too. If I use dispwin, the LUT is always cleared after resume. The same with "rdesktop" - a M$ terminal services client for linux. Volker On So, 24 Aug 2008, Lars Tore Gustavsen <lars.tore@xxxxxxxxxxxxxx> wrote: > I have done fighting against the gnome-screensaver for a long time to > try to prevent it from destroy my lut table. Today I tried to load my > icc profile with xcalib instead of dispwin and everything works as > hoped. In my ubuntu version the gnome-screensaver set the lut to the > state before it was issued so I have to stop and start it. This script > is loaded from the system-preferences-sessions menu. It means it is > loaded at time of startup of X system. > > Does not work: > #!/bin/bash > gnome-screensaver-command --exit > dispwin -I ~/.color/icc/i1.icc > gnome-screensaver > > Because after the screensaver is activated I got this: > ltg@buntu:~$ gnome-screensaver-command -a > ltg@buntu:~$ dispwin -V -L > Verify: '/home/ltg/.local/share/color/icc/devices/display/i1.icc' is > NOT loaded (discrepancy 6.7%) > > > But this work: > > #!/bin/bash > gnome-screensaver-command --exit > xcalib ~/.color/icc/i1.icc > gnome-screensaver > > > ltg@buntu:~$gnome-screensaver-command -a > > ltg@buntu:~$ dispwin -V -L > > Verify: '/home/ltg/.local/share/color/icc/devices/display/i1.icc' IS > loaded (discrepancy 0.4%) > > > And it also work if I let xcalib run before dispwin in the same bash script. > > I don't know if this is a bug or expected behavior. > > Regards > Lars Tore Gustavsen > -- Volker Sauer * Poststrasse 1/601 * 64293 Darmstadt * Germany E-Mail/Jabber: vsauer(at)volker-sauer.de * http://www.volker-sauer.de PGPKey-Fingerprint: DB26 11C7 B12E 0B27 3999 2E4F 7E35 4E4D 5DD5 D0E0 http://wwwkeys.de.pgp.net/pks/lookup?op=get&search=0x7E354E4D5DD5D0E0