Cant make a gui icon to start a terminal command

I want to make a link on my desktop that just executes a simple Linux command. When I search the internet all I find are ways to start a GUI interface from within a shell.

Is there a tool to make such a link?


put this in a file and fill it out

#!/usr/bin/env xdg-open 
[Desktop Entry]
Exec=comand_to_run
Icon=/path/to/icon
Name=name
Type=Application