0

I have a few executables compiled with g++. Some are simple hello world programs with sleep statements, others are large projects with GUIs etc. Running the executables from terminal using ./{executable_name} works just fine. However when I double click on the executables in 'Files', nothing visible happens. I have tried making a .sh script and clicking on that instead. I have tried chmod +x {executable_name} in terminal. Neither have made a difference. Right clicking the executable and going to 'Run' didn't do much either.

The executables don't pop up in the OS banner to the left when you click on them either.

Edit: Running executables that write to files seems to work. That means that clicking on the icon doesn't work for applications that run in terminal. I guess my question is then, how do I run terminal applications from Files?

0 Answers0