Wednesday, May 22, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 416  / 2 Years ago, thu, june 2, 2022, 11:28:49

In 20.04 I used .bashrc to include a hidden folder in my system path:
/home/robert/.local/...


Since upgrading to 22.04, it appears that the system no longer searches this folder. Has this changed in 22.04? Can I restore it?
enter image description here


More From » upgrade

 Answers
3

As per the image added to your question, I assume the "hidden" directory in question is /home/robert/.local/share/applications. As this is at the end of your path, if anything in that directory also exists in other directories (like /usr/bin or even /usr/robert/bin), then the .local directory will be shadowed for those and the ones earlier in the path will be preferentially run.


If, for instance, you are trying to run an executable named thing, you can use either of these commands:


type -a thing
which -a thing

and you may find it lists both executables, although only the first one in the path would be run.


[#426] Friday, June 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
azaaburge

Total Points: 266
Total Questions: 85
Total Answers: 109

Location: Djibouti
Member since Sat, Oct 29, 2022
2 Years ago
azaaburge questions
Sun, Oct 17, 21, 05:20, 3 Years ago
Fri, Jun 25, 21, 16:22, 3 Years ago
Thu, Feb 24, 22, 03:51, 2 Years ago
;