I have my custom script in Ruby with read permission, which starts with:
I can run that script from the terminal by typing that path. I added a file with
.desktop extention to
/usr/share/applications with content
[Desktop Entry] Name=Foo Comment=Foo Exec=/path/to/the/script Terminal=false Type=Application Categories=Utility;Application;
and permission 777. When I open the Ubuntu file/application searcher at the top-left corner, I find my script by typing in the name. But when I click on it, it does not run. What am I doing wrong?