0

I have compiled and made an exucutable C++ program in ubuntu.But It only runs in terminal.that is I have to give the ./example command in terminal.If I click it nothing happens and says no suitable apps. Now what should I do to run this program on startup.?Even if it is in the terminal not in X-term that would do. But I have to start this program on every startup. I tried this command, but nothing happens on startup,

gnome-terminal -e "./routine" --working-directory "/home/tamim"

.

1 Answers1

1

You can call it from ~/.bashrc file. Put path to your executable at the end of it:

~/Documents/myCompiledExecutable
Nykakin
  • 3,744