LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   How do I create application launcher using bash script (https://www.linuxquestions.org/questions/programming-9/how-do-i-create-application-launcher-using-bash-script-283613/)

msgclb 01-29-2005 03:36 AM

How do I create application launcher using bash script
 
Is it possible to create an application launcher using a bash script? If not then how?
I want to install my Kylix application using a setup.sh script that would give the user the option to create a application launcher.

hieudt 01-29-2005 09:50 AM

Which application launcher do you mean?? Like an icon in your desktop or a menu item? To create a application launcher in your desktop, for example, if you want to create a launcher to launch vim, create vim.desktop in ~/Desktop:
Code:

[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=vim
Terminal=true
Name[en_GB]=Vim

chmod +x it.

The syntax is quite easy to understand, just change it to fit your needs.

msgclb 01-30-2005 07:28 AM

Quote:

Which application launcher do you mean?
I was wanting to add an application launcher on the desktop. I can't believe the solution is so simple. Thanks for your reply.


All times are GMT -5. The time now is 11:36 PM.