I have a chromebook, with chromeos installed and linux activated.
I have the following files:
/usr/share/applications/experiment.desktop:
[Desktop Entry]
Name=Experiment
GenericName=Experiment
Exec=/usr/bin/experiment
Type=Application
/usr/bin/experiment:
#!/bin/sh
sleep 10
notify-send "done" # sends a pop up notification
If I start the application via the ChromeOS launcher, the icon does not stay in the launcher, but /usr/bin/experiment is definitively running (evident by the pop up that appears after 10 seconds).
How does ChromeOS determine if an application is running, so the Icon stays in the Shelf?