I have created file /home/pi/Desktop/DecoderPro.desktop with the contents
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=DecoderPro
Comment=JMRI DecoderPro
Icon=/home/pi/JMRI/resources/dp3_48x48.gif
Exec=/home/pi/JMRI/DecoderPro
Terminal=false;
Each time I click the icon on the desktop I get the message:
This text file 'DecoderPro' seems to be an executable script. what do you want to do with it "desktop entry"?
Is it possible to make this desktop shortcut to start automatically, without the message?
EDIT: It seems that /home/pi/JMRI/DecoderPro is the source of the problem. It is also script starting with #! /bin/bash. But it is also +x.
Currently I have buster 10 version and if I remember right, in previous version of Raspbian this worked.