I want to start e.g. my ElasticSearch instance which is installed manually via one-click in the cinnamon menu.
What I can do is
/opt/elasticsearch-1.6.2/bin/elasticsearch & and the application is starting in the background. So I want the same behaviour by adding a menu item. But I cannot start this in background mode, only foreground seems to work.
Working (but only fg):
$ cat ~/.local/share/applications/elasticsearch-1.6.2.desktop [Desktop Entry] Version=1.6.2 Type=Application Name=ElasticSearch Icon=/opt/elasticsearch-1.6.2/bin/elasticsearch-icon.png Exec="/opt/elasticsearch-1.6.2/bin/elasticsearch" Comment=ElasticSearch 1.6.2 Categories=Development;Server; Terminal=true StartupWMClass=elasticsearch
Not working (trying to set an
& in Exec at the end):
Am I missing something?