<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi.</p>
<p>I'd like a recursevly path for exec in .desktop files under
wayland.</p>
<p>As wiki <a class="moz-txt-link-freetext"
href="https://wiki.archlinux.org/title/Environment_variables#Wayland_environment">https://wiki.archlinux.org/title/Environment_variables#Wayland_environment</a>,
i can add personal path in ~/<span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">.config/environment.d/envvars.conf.</span></span></p>
<p>So, adding in that file <span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">PATH=$PATH:/home/myhome/my/PATH
</span></span>it works for that directory, but I need as PATH
all subdirectory too.</p>
<p>In .bashrc, for example, I solved just for the shell adding as
below.</p>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">export
PATH="$PATH:$(du -L </span></span><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">/home/myhome/my/PATH</span></span>
| cut -f2 | tr '\n' ':' | sed 's/:*$//')"</span><br>
</span><br>
Can I use something similar for the wayland enviroment?</p>
Thanks.<span style="font-family:monospace"><br>
</span>
<p></p>
</body>
</html>