I need to create two .desktop files for launching, from the dock or menu, two application that are currently launched from the terminal with ./app-file and ./app-file.sh commands. I have already created with success the two .desktop files in an Ubuntu installation simply inserting the application path in the "Exec" key but this method doesn't work in Elementary OS. I tried to use "AppEditor" utility to create the menu entries but inserting the application path in the Exec field but the utility does not recognize the app-file as an executable. How can i solve these problems?
Running the ls -alh command, as suggested in the "endorama" comment, allowed me to understand that app-file and app-file.sh did not have execute permission. So I changed the permissions by adding the "execute" permission on each file: right-click-> Properties (context menù)-> "Permissions" (pop-up windows) -> "Execute".