Create a desktop launcher for programs


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Create a desktop launcher for programs
# 1  
Old 03-16-2018
Create a desktop launcher for programs

hi all,

i want to create a desktop launcher for multiple programs and save it to everyones users desktop

i want to create a launcher panel with multiple icons for programs like firefox, chrome, libre office etc etc and when they click on the disired program it opens up the program

is this possible

thanks,

rob

---------- Post updated at 07:58 PM ---------- Previous update was at 05:57 PM ----------

just thought of another really simple way

Code:
mkdir /applications

and in the aplications folder will be different scripts like

---------------------

Code:
#!/bin/bash

/usr/bin/firefox

------------------------------

and this will start up firefox when they click the firefox.sh

will this work?

---------- Post updated at 09:07 PM ---------- Previous update was at 07:58 PM ----------

resolved!!!

i found the correct way to do it

make a file called "firefox.desktop" make note of .desktop NOT .sh and write this in the file

Code:
[Desktop Entry]
Name=Run Firefox
Comment=Run Firefox
Exec=/usr/bin/firefox
Icon=
Terminal=false
Type=Application

created a soft link for it on my end users desktop and now when they double click it in applications folder it opens firefox
This User Gave Thanks to robertkwild For This Post:
# 2  
Old 03-17-2018
Nice to see people not just asking and waiting for the work to be done by others, but trying also by themselves in parallel, and better finding a solution and share with the community - That is exactly the spirit we expect and encourage!
Thanks for sharing

All the best
P.S. I will not flag the thread as solved, just to see if others come with other solutions, all benefit for all of us...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Difference between inbuilt suid programs and user defined root suid programs under bash shell?

Hey guys, Suppose i run passwd via bash shell. It is a suid program, which temporarily runs as root(owner) and modifies the user entries. However, when i write a C file and give 4755 permission and root ownership to the 'a.out' file , it doesn't run as root in bash shell. I verified this by... (2 Replies)
Discussion started by: syncmaster
2 Replies

2. UNIX Desktop Questions & Answers

Create/remove desktop short cuts via command line RHEL 6.3....

I would like to write a script that would remove and/or create shortcuts in Gnome desktop in RHEL 6.3... I googled all over the place could never find what I needed... Any help would be greatly appreciated! Thank you! (0 Replies)
Discussion started by: ruberked
0 Replies

3. Debian

Create restricted user for programs

want to create a user account for each of the key programs installed on my debian server. For example, for the following programs: Tomcat Nginx Supervisor PostgreSQL This seems to be recommended based on my reading online. However, I want to restrict these user accounts as much as possible,... (3 Replies)
Discussion started by: Spadez
3 Replies

4. Ubuntu

Nautilus..launcher!!

Ha!! i am on ubuntu 11.04..i was customizing it the other day!!(applying themes,icons,conky and the likes..)..now i realize that the the "Create launcher..." option you get when you right click on the desktop doesn't create a new launcher!! :(...i checked the global menu under file..only to realize... (1 Reply)
Discussion started by: slotlocker
1 Replies

5. UNIX for Dummies Questions & Answers

Are programs like sys_open( ) ,sys_read( ) et al examples of system level programs ?

Are the programs written on schedulers ,thread library , process management, memory management, et al called systems programs ? How are they different from the programs that implement functions like open() , printf() , scanf() , read() .. they have a prefix sys_open, sys_close, sys_read etc , right... (1 Reply)
Discussion started by: vishwamitra
1 Replies

6. Shell Programming and Scripting

how to create and remove desktop icons from shell scripts

hi all how to create and remove desktop icons or icons from shell scripts? (1 Reply)
Discussion started by: kkpal
1 Replies

7. UNIX for Dummies Questions & Answers

Create Alias on Desktop

Hi, I just need a simple UNIX command to send out over ARD that will create an alias to an application and place it on the desktop. Thanks (0 Replies)
Discussion started by: yodomino6
0 Replies

8. UNIX Desktop Questions & Answers

How do I create desktop icons for the shell programs I create???

I am a bash shell programmer and I create programs on occasional basis. Now, I dont want my programs to be run by typing out its name at a command line. I want to make it as user friendly as possible. I want to create icons on the desktop so users can click on it. mind you, I said "desktop... (7 Replies)
Discussion started by: TRUEST
7 Replies
Login or Register to Ask a Question