PDA

View Full Version : [SOLVED] Create launcher for an application with no terminal window



asus-user
June 3rd, 2012, 04:50 PM
Hello all,
recently i faced that when creating a launcher for an application which needs a terminal command to run it, a terminal window always opens up with the application and if it was closed , the application would close of course, and here i tell how not to have that external terminal window opened:

create a document with the extension .desktop and write in it the following code:



[Desktop Entry]
Type=Application
Terminal=false // true will show terminal window
Icon="icon file complete path"
Name="application name"
Exec="command line for executing the application, can hold parameters"
this was tested on ubuntu 12.04 and worked just fine.
please comment with your experience
hope you get benefit from that :smile:

Paddy Landau
June 3rd, 2012, 08:30 PM
Thank you for sharing.

You can also install alacarte (apt:alacarte) (Main Menu), and add menu entries there, which will become available on the Dash. It provides an option to open a terminal or not.