I run an application by opening a terminal then navigating to a directory and executing
./nameofapp. The application opens in terminal and I can operate it with some other commands.
If I try to run the application from file manager, it runs in the background. How can I run it in terminal?