Location of a program running in terminal, launched from panel.
I am using DreamLinux.
I have pinned a program, that runs in terminal, to the launcher in the panel on desktop.
The program's executable file (name: feap) is located in
After I added the launcher to the panel that runs the file in terminal, the program asks for the input file (text file with alot of commands) when run.
By default the program accepts the files that are located in the same directory i.e. /feap2.2 , so I placed the input file in the same directory.
However when I run the program from the panel, and give the input file name, it says no such file exists. Then I gave the file name with full path, but problem was not solved. I have tried alot e.g. placed the input file at other locations, but all in vain. I have set all input file permissions to be accessible by User as well.
I will be much relieved if someone suggests where to place the input file for the such program running in the terminal launched from panels?
P.S: If I open terminal, go to the directory (/home/User/feap2.2), run the program's exe file, and then give the file name, it accepts the input file and it give results.