Sponsored Content
Top Forums Shell Programming and Scripting Create a desktop launcher for programs Post 303014645 by robertkwild on Friday 16th of March 2018 10:07:03 PM
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:
 

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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
byobu-launcher-uninstall(1)					       byobu					       byobu-launcher-uninstall(1)

NAME
byobu-launcher-uninstall - Byobu Launcher uninstallation utility SYNOPSIS
byobu-launcher-uninstall DESCRIPTION
byobu-launcher-uninstall(1) is a simple utilty that removes the line added to your $HOME/.profile by byobu-launcher-install(1) which launches byobu(1) any time you login through ssh(1) or on a console(4). SEE ALSO
screen(1), byobu(1), ssh(1), console(4), byobu-launcher-install(1) http://launchpad.net/byobu AUTHOR
This manpage and the utility were written by Dustin Kirkland <kirkland@ubuntu.com> for Ubuntu systems (but may be used by others). Permis- sion is granted to copy, distribute and/or modify this document and the utility under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation. The complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL on Debian/Ubuntu systems, or in /usr/share/doc/fedora-release-*/GPL on Fedora systems, or on the web at http://www.gnu.org/licenses/gpl.txt. byobu 3 Jan 2010 byobu-launcher-uninstall(1)
All times are GMT -4. The time now is 08:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy