I have the following .desktop file on my Desktop:
[Desktop Entry]
Encoding=UTF-8
Name=Robomongo
Comment=Launch Robomongo
Exec=/usr/local/robomongo-0.8.4-i386/bin/robomongo.sh
Icon=/usr/local/robomongo-0.8.4-i386/share/icons/robomongo.png
Type=Application
Terminal=true
I want the application to start up with a terminal window. When I click it it opens a terminal window but doesn't acatually run the script. How can I set that up? If I make "Terminal=false", then it starts the program with no terminal window. I also tried creating a link, but don't get a terminal window.
I'm also having a problem with this icon. It keeps giving me a "Invalid desktop entry file: '/home/dev/Desktop/mongod-port-27007.desktop" error. mongod works from the shell.
[Desktop Entry]
Encoding=UTF-8
Name=mongod-port-27007
Comment=Launch Robomongo
Exec=mongod
Icon=/usr/local/robomongo-0.8.4-i386/share/icons/robomongo.png
Type=Application
Terminal=false
Best Answer
I tried the same desktop file definition and it works as expected for me. So double check that the launcher script has the right permissions:
Alternatively you may try the following
Exec
command: