.desktop file howto

Hey all.
Since buster i get an messagebox “the textfile seems to be executable” “What do you want to do?” with buttons execute, execute in terminal, open, cancel. “Excecute”/“Execute in terminal” starts the Xojo-Application.

No matter what i try within the .desktop file this message always appears. Searching the net i did not find the answer either.
Location of file(s): /home/pi/Desktop/
Entries in the files look like that:

sysstatmon.desktop

[Desktop Entry]
Name[de_DE]=SysStatMon
Comment[de_DE]=Statusmonitor
Icon=/home/pi/sysstatmon/appicon_48.png
Exec=/home/pi/sysstatmon/sysstatmon
Type=Application
StartupNotify=false
Terminal=false (true doesn’t change behaviour)
Categories=Applications

What am i missing?

[quote=488081:@Rolf Genster]Since buster i get an messagebox “the textfile seems to be executable” “What do you want to do?” with buttons execute, execute in terminal, open, cancel. “Excecute”/“Execute in terminal” starts the Xojo-Application.
No matter what i try within the .desktop file[/quote]
Right - the cause of that is not the .desktop file itself, since it’s the file manager GUI that is asking you this question :wink:

  1. Launch the file manager gui: pcmanfm
  2. Menu: Edit -> Preferences -> General
  3. Check the Checkbox: [X] Don't ask options on launch executable file

Thanks a lot. Sure, not a show stopper, just drove me nuts.