LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gmrun ERROR: command not found (https://www.linuxquestions.org/questions/linux-newbie-8/gmrun-error-command-not-found-756147/)

manwithaplan 09-18-2009 04:39 AM

gmrun ERROR: command not found
 
Whenever I run "gparted" with gmrun I get this error.

Code:

ERROR: No such file or directory


I know gparted is installed because I can launch it from terminal.

lutusp 09-18-2009 05:30 AM

Quote:

Originally Posted by manwithaplan (Post 3688273)
Whenever I run "gparted" with gmrun I get this error.

Code:

ERROR: No such file or directory


I know gparted is installed because I can launch it from terminal.

So ...launch it from a terminal. Or figure out why gmrun can't find the executable. Or provide gmrun with better information.

manwithaplan 09-18-2009 05:36 AM

I wish it where that simple ... I can't figure out why gmrun doesn't find the command. My paths are all correct. I'm having the same problem with launching it from the Openbox menu.

I dont mind the terminal... just that its handy to use gmrun or the Openbox menu.

lutusp 09-18-2009 06:42 AM

Quote:

Originally Posted by manwithaplan (Post 3688309)
I wish it where that simple ... I can't figure out why gmrun doesn't find the command. My paths are all correct. I'm having the same problem with launching it from the Openbox menu.

I dont mind the terminal... just that its handy to use gmrun or the Openbox menu.

You ... are ... not ... providing ... gmrun ... with ... a ...complete ... path .. to ... the ... executable.

If you will provide gmrun with the complete path to the executable, then it will launch the program. You are assuming the gmrun has (and uses) the same search path that you do. It doesn't.

manwithaplan 09-18-2009 01:16 PM

It shouldn't matter that's my point ... If the executable is located in my $PATH directories ... This is my PROBLEM. The ... executable... is... located... in... my... $PATH..., and... gmrun... doesn't... launch... my... executable.

lutusp 09-18-2009 06:42 PM

Quote:

Originally Posted by manwithaplan (Post 3688830)
It shouldn't matter that's my point ... If the executable is located in my $PATH directories ... This is my PROBLEM. The ... executable... is... located... in... my... $PATH..., and... gmrun... doesn't... launch... my... executable.

Please provide gmrun with a full path to the desired executable. You are making an unwarranted assumption and you won't test your assumption.

What you seem not to get is that gmrun is not using your $PATH, but its own. Resolve this by providing a full path. Pretend to be a scientist.


All times are GMT -5. The time now is 06:45 AM.