Am Donnerstag, 17. Februar 2022 schrieb J Leslie Turriff:
On 2022-02-17 01:54:19 Dr. Nikolaus Klepp wrote:
It could be some problem with $PATH. I see firefox crashing/hanging when displaying videos on my laptop when I start it from TDE menu or via <alt+F2>, but it works perfectly fine when I launch it from a terminal. (some day I'll need to figure that out, 'caus it works on my desktop where I have fiddled with $PATH some time ago)
Nik
[…]
Here's what I use to visualize my $PATH
| ~ | $ alias paths | alias paths='echo $PATH | tr ''':''' '''\n'''' | @02:28:01,leslie@pinto rc=0
Yeah, I've got something like that, too. You could use bash's parameter expansion's feature pattern replacing, though, to save you the subshells:
echo -e ${PATH//:/\n}
Meaning: substitute every occurence of ":" in the string saved in "$PATH" with "\n" which will then by echo be replaced with a newline (that's what the "-e" option of echo is for.
and here is the $PATH search order: | ~ | $ paths | /home/leslie/bin | /home/leslie/.local/bin | /opt/trinity/bin | /opt/trinity/lib64 | /usr/local/bin | /bin | /usr/bin | /usr/local/sbin | /sbin | /usr/sbin | /usr/local/lib64 | /usr/local/lib | @02:29:59,leslie@pinto rc=0
(I put /opt/trinity/... before the main executables because for a while at least, some Trinity programs were named the same as KDE programs.)
The TDE paths are usually set by /opt/trinity/bin/starttde. My path contains only /opt/trinity/{bin,games}, no lib64. That's on Devuan/Debian. What do you need the lib64 part for? I guess you set it yourself in one of your start up files?!
Kind regards, Stefan