LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-16-2018, 05:35 PM   #1
robertkwild
Member
 
Registered: Feb 2015
Posts: 382

Rep: Reputation: Disabled
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
 
Old 03-16-2018, 05:50 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
yes, providing you have all of the required items to do so.
 
Old 03-16-2018, 05:55 PM   #3
robertkwild
Member
 
Registered: Feb 2015
Posts: 382

Original Poster
Rep: Reputation: Disabled
like icons for the programs, link paths for the programs?
 
Old 03-16-2018, 06:02 PM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
a desktop that is setup to allow you to do such a thing. maybe one of them fancy Window 10 looking ones.

It be best that you figure out how to do it on one then move up to figuring out how to "port" it to very ones desktop. they'd all have to have the same desktop, unless you figure out how to program and write a program to take care of this and create it so that it can be installed on any linux desktop, or at least a few of them.

but for the most part, lxde, xfce, mate, ones such as that you could set up launchers for apps off of the taskbar.

Then their is the taskbar itself, tint2, and xfce4-panel and I am sure others in here know of a few more that hold such capabilities.

Last edited by BW-userx; 03-16-2018 at 06:06 PM.
 
Old 03-16-2018, 07:55 PM   #5
robertkwild
Member
 
Registered: Feb 2015
Posts: 382

Original Poster
Rep: Reputation: Disabled
just thought of another really simple way

mkdir /applications

and in the aplications folder will be different scripts like

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

#!/bin/bash

/usr/bin/firefox

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

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

will this work?
 
Old 03-16-2018, 08:01 PM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by robertkwild View Post
just thought of another really simple way

mkdir /applications

and in the applications folder will be different scripts like

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

#!/bin/bash

/usr/bin/firefox

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

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

will this work?
well it's a thought. it will work, but, Like I said do yours first, then whence you've figure that out, then expand your horizons.

Most Desktops already have a means build in to them to create custom launchers.
 
Old 03-16-2018, 08:03 PM   #7
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
A script should work. Only one way to know for sure

Maybe try a dock such as Cairo Dock or Docky, these are very customisable. I imagine a person could copy the config data for such a dock to multiple computers.
 
Old 03-16-2018, 08:38 PM   #8
robertkwild
Member
 
Registered: Feb 2015
Posts: 382

Original Poster
Rep: Reputation: Disabled
LOL

no it didnt i ran the script (double clicked it in the folder) as a user and it just opened the script up ie using vi or nano

any suggestions?
 
Old 03-16-2018, 08:45 PM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
what desktop taskbar setup are you wanting to use, have you given that any thought yet?
 
Old 03-16-2018, 08:50 PM   #10
robertkwild
Member
 
Registered: Feb 2015
Posts: 382

Original Poster
Rep: Reputation: Disabled
im just copying the folder application to the users desktop and i have soft linked the scripts as they reside in a different place so when i change the scripts it will make the changes to all the users aswell

i just want to use this simple method but its not working as i planed

but when my users in terminal do -

cd /home/userwhatever/Desktop/applications/

then they run it -

./firefox.sh

it works but the whole idea is i want them to double click the file to run it and not via terminal
 
Old 03-16-2018, 09:04 PM   #11
robertkwild
Member
 
Registered: Feb 2015
Posts: 382

Original Poster
Rep: Reputation: Disabled
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

[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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to create a desktop launcher in GNU/Linux LXer Syndicated Linux News 0 06-03-2016 06:25 PM
Create a desktop launcher? bg3075 Fedora 6 02-03-2016 07:25 PM
LXer: How to create desktop shortcut or launcher on Linux LXer Syndicated Linux News 0 11-14-2013 07:03 PM
create app launcher and change icon on xfce desktop cccc Debian 3 02-03-2011 03:40 PM
Create Gnome Desktop Icon, Program Launcher qwerty_tele Linux - Newbie 10 02-09-2008 11:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration