[argyllcms] Re: dispcalGUI 0.2b
- From: Florian Höch <lists+argyllcms@xxxxxxxxx>
- To: argyllcms@xxxxxxxxxxxxx
- Date: Mon, 22 Dec 2008 23:10:49 +0100
I tested the "install display profile" tool today at my gnome desktop.
And I think there is a bug in the placement of the shell script on
the gnome desktop. On my system the shell script are placed by
dispcalGUI here:
ltg@buntu:~$ locate dispwin-d1
/home/ltg/.gnome2/dispwin-d1-c-L.sh
/home/ltg/.kde/Autostart/dispwin-d1-c-L.sh
It is also a shell script but I think at least gnome require a
.desktop file. On my system, user autostart files are placed in the
folder ~/.config/autostart/
I think this is the correct spec for this kinds of thing:
http://standards.freedesktop.org/autostart-spec/
Actually, the autostart that dispcalGUI creates for Gnome is written to
~/.gnome2/session-manual (as outlined here:
http://www.gentoo-wiki.info/HOWTO_Autostart_Programs),
which starts the shell script. Auto-migration to the
~/.config/autostart/ .desktop file seems to happen in recent Gnome
versions (I can verify it does for me, it creates a "Unnamed" desktop
file there). The "pure" desktop file approach is more maintainable, so
I'll look at implementing that (do you or maybe someone know with which
version the ~/.config/autostart folder was introduced, and if it works
for kde also?)
For gnome there could also be a check to see if gnome-screensaver
(gnome-screensaver --version) is newer than 0.25. If it's older it is
required with a stop of gnome-screensaver, then load the gamma table,
and then start gnome-screensaver again.
Ah, I just re-read your thread from four months back. I have
gnome-screensaver 2.22.2, and never had the problem though. Just to
verify, is this the correct way to overcome the bug:
gnome-screensaver-command --exit
dispwin -c -L
gnome-screensaver
A choice for install with oyranso will of course also be very welcome.
Yes, I will certainly look at that.
Regards,
Florian Höch
Other related posts: