I have installed mps-youtube program with pip. The program runs in terminal with the command 'mpsyt', no matter from which location i run the terminal. I have created a .desktop file like this:
[Desktop Entry] Type=Application Name=MPS-YouTube Exec=mpsyt Terminal=true Icon=/home/john/Pictures/Icons/YouTube_01.png
But when I execute the shortcut it says 'there was an error launching the application'.
I also tried with
Exec=sh -c 'mpsyt' but it does nothing, in this case even massage is missing!
I think it is due to the pip installation because when I install this program from the Synaptic the shortcut works fine but the version is older. Also the command is not recognized from Alt+F2 box.
So how can I see what is causing this error?