0ry0n / Resource_Monitor

Resource_Monitor is a GNOME Shell extension that Monitor the use of system resources like cpu, ram, disk, network and display them in GNOME Shell top bar.
GNU General Public License v3.0
143 stars 20 forks source link

Custom program execution does not respect `$PATH` #73

Closed Sir-Photch closed 8 months ago

Sir-Photch commented 1 year ago

Describe the bug

An executable present in ~/.local/bin is not found if set in custom-program, even though $HOME/.local/bin is present in $PATH.

Moving the executable to /usr/local/bin solves this, but is bad practice for user-scripts.

To Reproduce Steps to reproduce the behavior:

  1. Add executable foo to ~/.local/bin
  2. Ensure ~/.local/bin is in $PATH
  3. Set custom-executable to foo
  4. Try to launch by left-clicking

Expected behavior Executable launches.