2

Similar as asked here, I've been trying to understand how to include some paths to be reached during Run command dialog search in a GNOME environment.

In my ~/.bashrc I've add some directories in my PATH and consequently I'm able to run some scripts they contain through an interactive shell section. However it's not enough to run them in Run command dialog.

How could I set it up?

0

2 Answers 2

2

Using PATH variable is a solution, however, you set it in the wrong place. I suggest you read this thread. The ~/.bashrc file is loaded only when bash is started. You're probably looking for ~/.profile or ~/.xprofile. Depends on your system configuration.

Another solution would be creating a symlink to your executable file in one of the directories already present in your PATH variable.

1
0

The run dialog will not read ~/.bashrc. And that is not where it should be. It should be in ~/.profile. And I would think that will work.

1
  • Well, my ~/.profile sources my ~/.bashrc, but the desired scripts still not found by run command dialog. I just made some tests managing PATH in ~/.profile but without success, so I suppose there's something more required
    – artu-hnrq
    Apr 7, 2020 at 22:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .