From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH 1/1] gnu: transmission-gtk: Add icon dependencies. Date: Wed, 27 Jan 2016 23:44:11 -0500 Message-ID: <20160128044411.GA6237@jasmine> References: <8737tp4jts.fsf@gnu.org> <20160122192738.GA20936@jasmine> <87h9i4xng3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOeRJ-0003v0-MJ for guix-devel@gnu.org; Wed, 27 Jan 2016 23:44:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOeRE-0003hf-Mq for guix-devel@gnu.org; Wed, 27 Jan 2016 23:44:13 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:59677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOeRE-0003hQ-Hz for guix-devel@gnu.org; Wed, 27 Jan 2016 23:44:08 -0500 Content-Disposition: inline In-Reply-To: <87h9i4xng3.fsf@gnu.org> 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: Ludovic =?iso-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org On Sat, Jan 23, 2016 at 05:36:28PM +0100, Ludovic Courtès wrote: > Leo Famulari skribis: > > > I have adwaita-icon-theme and hicolor-icon-theme in my profile, but when > > running transmission-gtk, it complains on stderr about problems with > > both icon themes and has no icons at all: > > > > --start-example- > > (transmission-gtk:21008): Gtk-WARNING **: Could not find the icon 'document-open'. The 'hicolor' theme > > was not found either, perhaps you need to install it. > > > > (transmission-gtk:20986): Gtk-WARNING **: Error loading theme icon 'network-idle' for stock: Icon 'network-idle' not present in theme Adwaita > > --end-example-- > > > > Is this working for anyone else? > > It works wonderfully well for me on GuixSD! > > Thanks, bye. > > ;-) > > Seriously though, I think the trick is to have the XDG variables > correctly set, which is done automatically on GuixSD: > > --8<---------------cut here---------------start------------->8--- > $ env | grep XDG > XDG_CONFIG_DIRS=/home/ludo/.guix-profile/etc/xdg:/run/current-system/profile/etc/xdg > XDG_DATA_DIRS=/gnu/store/jhkid4l3w4wkq01gsqw3sfzzivy0y8vw-glib-2.46.1/share:/gnu/store/jzzsyrvyacsjkpj82bjq0qgy28j8yk35-gtk+-3.18.2/share:/gnu/store/sw8k4554wav93l5ffh0hk6mxq4krhfw2-emacs-24.5/share:/gnu/store/jhkid4l3w4wkq01gsqw3sfzzivy0y8vw-glib-2.46.1/share:/gnu/store/jzzsyrvyacsjkpj82bjq0qgy28j8yk35-gtk+-3.18.2/share:/gnu/store/sw8k4554wav93l5ffh0hk6mxq4krhfw2-emacs-24.5/share:/run/current-system/profile/share:/home/ludo/.guix-profile/share:/run/current-system/profile/share > --8<---------------cut here---------------end--------------->8--- It worked! Should these be added as search-paths in the transmission package definition? What is the desired effect of setting XDG_CONFIG_DIRS that way? Aren't those directories still read-only? There is also the warning message: GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. ... but that is simply not true. The settings are saved as expected under ~/.config/transmission > > Does it work for you? > > Thanks, > Ludo’.