How to set a recursevly PATH under wayland.
Zener
zener78 at gmail.com
Fri May 12 20:24:12 BST 2023
I cannot understand....
I asked for Path in wayland enviroment which don't read those file for the
Shell...
Il ven 12 mag 2023, 15:27 Reindl Harald <h.reindl at thelounge.net> ha scritto:
>
>
> Am 12.05.23 um 15:15 schrieb Zener:
> > I'd like a recursevly path for exec in .desktop files under wayland.
> >
> > As wiki
> >
> https://wiki.archlinux.org/title/Environment_variables#Wayland_environment,
> i can add personal path in ~/.config/environment.d/envvars.conf.
> >
> > So, adding in that file PATH=$PATH:/home/myhome/my/PATH it works for
> > that directory, but I need as PATH all subdirectory too.
> >
> > In .bashrc, for example, I solved just for the shell adding as below.
> >
> > export PATH="$PATH:$(du -L ~/usr/bin/ | cut -f2 | tr '\n' ':' | sed
> > 's/:*$//')"
> >
> > Can I use something somilar for the wayland enviroment?
>
> https://linuxize.com/post/bashrc-vs-bash-profile/
>
> but why for gods sake would someone want such microsoft-behavior which
> is the root cause for tons of security issues?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-devel/attachments/20230512/1897b4a8/attachment-0001.htm>
More information about the kde-devel
mailing list