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.
chmod +x ~/Desktop/DecoderPro.desktop
– jake Jul 15 '19 at 11:59/home/pi/JMRI/DecoderPro
is also a script that starts with#! /bin/bash
. It is also +x. – Pygmalion Jul 15 '19 at 16:09Comment = JMRI DecoderPro
, DecoderPro is also after this space ... try:Comment = "JMRI DecoderPro"
maybe? – Ephemeral Jul 15 '19 at 16:44The executable of the application, possibly with arguments.
Exec=bash DecoderPro
– Ephemeral Jul 15 '19 at 16:54but I think you must call a binary not a shell script or
bash DecoderPro` is probably correct ... I'm looking for that.Exec=bash DecoderPro
didn't help. What is even more mysterious is that I think that in previous version of raspbian this worked. – Pygmalion Jul 15 '19 at 17:12Voltage
with just vcgen command , also i have no bash header but It 's on my older raspberry with jessie... have you try withPath
? here some related – Ephemeral Jul 15 '19 at 17:17buster 10
, freshly installed few days ago, because SD card drop dead. Yes, I usedPath
command. – Pygmalion Jul 15 '19 at 17:23