I’m testing my app. created with install4j and installed by .sh file. And I created a shortcut .desktop file for my app. My app install with the root privileges. In script I allow launching it by the command –
gio set ~/Desktop/"$app_name".desktop metadata::trusted true
It works fine for Ubuntu.
But for Oracle Linux I found following problems:
- The desktop file created in the Desktop user folder but absent on the real Desktop.
- When I try execute the .desktop (‘Run as program’) file text editor open. (maybe it’s correct)