From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:57992) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBOi0-0002V4-8k for guix-patches@gnu.org; Mon, 09 Mar 2020 16:09:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBOhz-0004Qf-1e for guix-patches@gnu.org; Mon, 09 Mar 2020 16:09:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45526) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBOhy-0004QX-I8 for guix-patches@gnu.org; Mon, 09 Mar 2020 16:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jBOhy-00074Z-Cw for guix-patches@gnu.org; Mon, 09 Mar 2020 16:09:02 -0400 Subject: [bug#39989] [PATCH] gnu: thunar: Wrap with glib:bin to fix launching programs. Resent-Message-ID: Date: Mon, 9 Mar 2020 21:08:04 +0100 From: Jan Message-ID: <20200309210804.47a9aa11@kompiuter> In-Reply-To: <20200309181108.1650204a@scratchpost.org> References: <20200308231200.73b90f30@interia.pl> <20200308222319.2401-1-tona_kosmicznego_smiecia@interia.pl> <20200309181108.1650204a@scratchpost.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: 39989@debbugs.gnu.org On Mon, 9 Mar 2020 18:11:08 +0100 Danny Milosavljevic wrote: > Hi, > > I'm all for fixing this problem, but it would be great to add a > comment on which executables thunar tries to find in glib:bin. Should I close the issue, add a commit and reopen the issue, or is there a more clever way of doing so? > I've checked glib:bin and it has: > > gapplication > gdbus > gdbus-codegen > gio > gio-querymodules > glib-compile-resources > glib-compile-schemas > glib-genmarshal > glib-gettextize > glib-mkenums > gobject-query > gresource > gsettings > gtester > gtester-report > > A lot of those make no sense for thunar to use anyway. AFAIK it only needs gio-launch-desktop, and seems there's no way to pick just one binary, is it? Would changing this: `("PATH" ":" prefix (,(string-append glib-bin "/bin"))))) to `("PATH" ":" prefix (,(string-append glib-bin "/bin/gio-launch-desktop"))))) do the job? The macro (or whatever it is) was undocumented in the manual and explanation in the source code was low level so it is possible I misunderstood how it works. I'll try the former. Jan Wielkiewicz