From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Thunar cannot launch gio-launch-desktop Date: Fri, 06 Mar 2020 22:51:36 +0100 Message-ID: <87a74tp2xj.fsf@elephly.net> References: <60bd323b399bc4fafefc74d7fa84c0db@dismail.de> <86lfoqy8h0.fsf@dismail.de> <87pne3d5t6.fsf@gnu.org> <1e9d70a74387d32de652695c0142fdaa@dismail.de> <20200305220916.3c8e6e86@kompiuter> <87k13xbf4t.fsf@elephly.net> <20200306185755.704c892e@kompiuter> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42630) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAKss-0005oQ-Ep for guix-devel@gnu.org; Fri, 06 Mar 2020 16:51:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAKsr-0004FV-CV for guix-devel@gnu.org; Fri, 06 Mar 2020 16:51:54 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21165) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jAKsq-0004Du-Rr for guix-devel@gnu.org; Fri, 06 Mar 2020 16:51:53 -0500 In-reply-to: <20200306185755.704c892e@kompiuter> 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-mx.org@gnu.org Sender: "Guix-devel" To: Jan Cc: guix-devel@gnu.org, jbranso@dismail.de Jan writes: > On Fri, 06 Mar 2020 17:51:46 +0100 > Ricardo Wurmus wrote: > >> >> Maybe Thunar needs to be wrapped with glib:bin, which provides >> gio-launch-desktop. Would you like to give this a try? > > The only thing that comes to my mind when someone says "wrapper" is > tortilla with chicken, but I can try tinkering with it. In many packages we use =E2=80=9Cwrap-program=E2=80=9D (and in a few we use =E2=80=9Cwrap-script=E2=80=9D) to create a shell script that sets environme= nt variables and then calls the actual program. The Thunar executable could perhaps be wrapped with a shell script that first sets the PATH environment variable to a value that includes the =E2=80=9Cbin=E2=80=9D directory of the =E2=80=9Cglib=E2=80=9D package=E2=80= =99s =E2=80=9Cbin=E2=80=9D output. The result is that Thunar will be able to find gio-launch-desktop in the PATH. -- Ricardo