guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thunar cannot launch gio-launch-desktop


From: Ricardo Wurmus
Subject: Re: Thunar cannot launch gio-launch-desktop
Date: Fri, 06 Mar 2020 22:51:36 +0100
User-agent: mu4e 1.2.0; emacs 26.3

Jan <address@hidden> writes:

> On Fri, 06 Mar 2020 17:51:46 +0100
> Ricardo Wurmus <address@hidden> 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 “wrap-program” (and in a few we use
“wrap-script”) to create a shell script that sets environment 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
“bin” directory of the “glib” package’s “bin” output.  The result is
that Thunar will be able to find gio-launch-desktop in the PATH.

--
Ricardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]