Jan <tona_kosmicznego_smie...@interia.pl> writes:

> On Fri, 06 Mar 2020 17:51:46 +0100
> Ricardo Wurmus <rek...@elephly.net> 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