From owner-freebsd-questions@freebsd.org Tue Dec 18 19:55:47 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D26D133D31D for ; Tue, 18 Dec 2018 19:55:47 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 88469850F9; Tue, 18 Dec 2018 19:55:46 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id wBIJth58038820; Tue, 18 Dec 2018 12:55:44 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: colord hints needed To: =?UTF-8?Q?T=c4=b3l_Coosemans?= Cc: FreeBSD Mailing List References: <2f50296b-8475-ccf9-2bb5-fd7a1660ae5f@dreamchaser.org> <20181218110513.03020168@kalimero.tijl.coosemans.org> From: Gary Aitken Message-ID: <1d430ba4-74a3-08d2-166a-c4d29071c2fa@dreamchaser.org> Date: Tue, 18 Dec 2018 12:55:38 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: <20181218110513.03020168@kalimero.tijl.coosemans.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Tue, 18 Dec 2018 12:55:44 -0700 (MST) X-Rspamd-Queue-Id: 88469850F9 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-6.15 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; IP_SCORE(-3.12)[ip: (-8.18), ipnet: 66.109.128.0/19(-4.09), asn: 21947(-3.27), country: US(-0.08)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: nightmare.dreamchaser.org]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.72)[-0.719,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2018 19:55:47 -0000 On 12/18/18 3:05 AM, Tijl Coosemans wrote: > On Mon, 17 Dec 2018 22:33:45 -0700 Gary Aitken > wrote: ... >> Can anyone who is using colord point me at what it takes to get it >> running? I have it installed but it's not running, and it's not >> clear to me how to get it set up. I see man pages installed for >> cd-create-profile cd-fix-profile cd-it8 colormgr I see the >> following behavior: ... >> I'm running xfce4 as a wm; no session mgr. > > It provides org.freedesktop.ColorManager D-Bus service and it should > be started automatically by dbus-daemon whenever an application tries > to access that service. When I run "colormgr get-devices" colord is > started. Thanks. I've got colord running (manually started at the moment) > So make sure you have dbus_enable="YES" in /etc/rc.conf and that it > is running (run "service dbus status" and "service dbus start"). You > may also need to have xfce4-session installed and start xfce using > "startxfce4 --with-ck-launch". I have xfce4-session installed. I normally start x using startx with xfce4 started via .xinitrc. The cmd used to just be /usr/local/bin/startxfce4 & but I've changed that to include --with-ck-launch So colord is running, but there is no _ICC_PROFILE atom on the root window. colormgr get-devices shows nothing colormgr get-profiles shows the icc profiles installed with colord. It lists them with an "Object Path" of /org/freedesktop/ColorManager/profiles and a Filename (actual path, apparently) of /usr/local/share/color/icc/colord I seem to have the following processes related to session management: $ ps ax | grep session 71083 - Is 0:00.11 /usr/local/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session 71112 - S 0:00.07 /usr/local/libexec/at-spi2-registryd --use-gnome-session 71043 v4 I 0:00.00 ck-launch-session xfce4-session 71079 v4 I 0:00.07 xfce4-session 71082 v4 I 0:00.00 /usr/local/bin/dbus-launch --sh-syntax --exit-with-session xfce4-session 71249 7 S+ 0:00.00 grep session How does one get the _ICC_PROFILE atom assigned to the display? Or perhaps a better question, how does one tell colord that a device should be available to be color managed? There seem to be commands for creating, activating and setting properties of a device, but it is unclear to me what the attributes of those commands are and how to choose appropriate values. e.g. create-device [ID} [SCOPE] [KIND], device-set-kind [ID|PATH] [KIND] The man page for colormgr isn't much help... Thanks, Gary