From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 1/1] gnu: transmission-gtk: Add icon dependencies. Date: Sun, 31 Jan 2016 10:38:49 +0100 Message-ID: <87twludr6e.fsf@gnu.org> References: <8737tp4jts.fsf@gnu.org> <20160122192738.GA20936@jasmine> <87h9i4xng3.fsf@gnu.org> <20160128044411.GA6237@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPoTC-0003GN-3T for guix-devel@gnu.org; Sun, 31 Jan 2016 04:38:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPoT7-0006MW-A9 for guix-devel@gnu.org; Sun, 31 Jan 2016 04:38:58 -0500 In-Reply-To: <20160128044411.GA6237@jasmine> (Leo Famulari's message of "Wed, 27 Jan 2016 23:44:11 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Leo Famulari Cc: guix-devel@gnu.org Leo Famulari skribis: [...] >> Seriously though, I think the trick is to have the XDG variables >> correctly set, which is done automatically on GuixSD: >>=20 >> --8<---------------cut here---------------start------------->8--- >> $ env | grep XDG >> XDG_CONFIG_DIRS=3D/home/ludo/.guix-profile/etc/xdg:/run/current-system/p= rofile/etc/xdg >> XDG_DATA_DIRS=3D/gnu/store/jhkid4l3w4wkq01gsqw3sfzzivy0y8vw-glib-2.46.1/= share:/gnu/store/jzzsyrvyacsjkpj82bjq0qgy28j8yk35-gtk+-3.18.2/share:/gnu/st= ore/sw8k4554wav93l5ffh0hk6mxq4krhfw2-emacs-24.5/share:/gnu/store/jhkid4l3w4= wkq01gsqw3sfzzivy0y8vw-glib-2.46.1/share:/gnu/store/jzzsyrvyacsjkpj82bjq0qg= y28j8yk35-gtk+-3.18.2/share:/gnu/store/sw8k4554wav93l5ffh0hk6mxq4krhfw2-ema= cs-24.5/share:/run/current-system/profile/share:/home/ludo/.guix-profile/sh= are:/run/current-system/profile/share >> --8<---------------cut here---------------end--------------->8--- > > It worked! > > Should these be added as search-paths in the transmission package > definition? No, these are in =E2=80=98glib=E2=80=99, but see . > What is the desired effect of setting XDG_CONFIG_DIRS that way? Aren't > those directories still read-only? The purpose is to make =E2=80=9Cthese things=E2=80=9D work; it=E2=80=99s br= iefly mentioned in the manual (info "(guix) Build Systems"). > There is also the warning message: > GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings wi= ll not be saved or shared with other applications. > > ... but that is simply not true. The settings are saved as expected > under ~/.config/transmission I have: --8<---------------cut here---------------start------------->8--- $ /gnu/store/lxi4bp22sqmz0g8wf0i171pxgv871wcc-transmission-2.84-gui/bin/tra= nsmission-gtk=20 ** (transmission-gtk:28007): WARNING **: Error retrieving accessibility bus= address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus = was not provided by any .service files (transmission-gtk:28007): GLib-GIO-WARNING **: Failed to execute child proc= ess "update-desktop-database" (No such file or directory) --8<---------------cut here---------------end--------------->8--- (I think in general you could check whether there are discrepancies between your system and GuixSD using =E2=80=98guix system vm=E2=80=99, with =E2=80=98transmission:gui=E2=80=99 installed globally.) Ludo=E2=80=99.