Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi All, I need to know how to make an application shortcut or Application Launcher. Iam using Linux Fedora and GNOME. Now I have tried to create an application launcher on my desktop and i specified the path of my .sh file that i use to run my program in the terminal window, But it is not working nothing happens. I am able to launch my program when i open a terminal window and write the path to my app and then typing "./myapp.sh".
could some one help?
Guys Please. I need a little bit of effort here. Why is it so difficult to make app Launchers for god sake? . and dont tell me you are all using the Terminal to launch your applications.
I plea to all those who have successfuly created app launchers that actually work to share this knowledge with us.
or else guys (call this a warning if you like), Iam this "-" much away from installing windows 2000 :) , besides every time i stare at the windows 2000 cd I become still and hypnotic, as if the damn thing is trying to talk to me. if you guys saw Lord of the Rings you probably know what i mean. one time i had almost placed the cd in my cd player ready to boot when my girl friend flashed her boobze to break the spell. so please guys dont let take that evil path.
First of all are, you sure you can execute that file? if you can you have only to right click on the desktop > 'Create Launcher' type the whole path to the program choose a name for the launcher and an icon, if you want so. If is text based you have to type to open in a terminal and that's all
Hi Santas. i read in your posting that i must place the entire path to my .sh file in the command input field when creating the app launcher icon. Now iam not sure if iam doing that right so i will tell you what iam doing.
first: of all iam logged in as "root"
second: my program is located here --> /home/root/FlowBuilder35/bin/unix/VisualXSPStudio.sh.
third: when i open VisualXSPStudio.sh with gedit i see the following lines of text.
#!/bin/sh
# FlowBuilder studio launcher
. client.sh
$JAVA $VMPARAMS -classpath com.flowbuilder.VisualStudioframe $PROJECT_HOME
fourth: the file client.sh has the following lines of text in it
#!/bin/sh
# Common client application configuration
# Unix parameters
. unix.sh
# Client app use their own GUI. Do not show the console
JAVA=$JAVA_HOME/bin/java
# VW parameters
VMPARAMS="$VMPARAMS -noverify"
# Tune this VM to provide enough headroom to work on large applications
VMPARAMS="$VMPARAMS -Xms32m"
VMPARAMS="$VMPARAMS -Xmx256m"
# Add all needed jar files
for jarfiles in ../../lib/client/*.jar
do
CLASSPATH=$CLASSPATH:$jarfiles
done
for jarfiles in ../../lib/client/jaxr/*.jar
do
CLASSPATH=$CLASSPATH:$jarfiles
done
for jarfiles in ../../lib/common/*.jar
do
CLASSPATH=$CLASSPATH:$jarfiles
done
for jarfiles in ../../lib/common/j2ee/*.jar
do
CLASSPATH=$CLASSPATH:$jarfiles
done
for jarfiles in ../../lib/common/jdbc/*.jar
do
CLASSPATH=$CLASSPATH:$jarfiles
done
for jarfiles in ../../lib/common/xml/*.jar
do
CLASSPATH=$CLASSPATH:$jarfiles
done
for jarfiles in ../../lib/common/commons-logging/*.jar
do
CLASSPATH=$CLASSPATH:$jarfiles
done
CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/tools.jar
as for the way i create an app launcher, well here is a description:
first i right click on my desktop and chose to create a Launcher.
then i fill in the name, generic name comment etc..
and in the Command field i press on the browse button and go to where the VisualXSPStudio.sh file is and press on the ok button. the Command input Field is then filled with the following text--> /home/root/FlowBuilder35/bin/unix/VisualXSPStudio.sh.
then in the "TYPE" combobox i choose the "Application" option, once i tried the LINK option but also did not work. also i clicked on the checkbox that says "Run in Terminal" and again that didnt do much good.
and of course when i double click on the icon after it had been created simply nothing happens.
note: i would like to mention again that if i open a terminal window and browse to where the VisualXSPStudio.sh file is and type the following word ---> " ./VisualXSPStudio.sh" my program runs and i can start using it.
so i dont what esle i can say to provide you with info to help me guys. so i hope this would be good enough.
Are client.sh and unix.sh in the same directory as VisualXSPStudio.sh? If open your pref text editor and type this:
#!/bin/bash
cd /home/root/FlowBuilder35/bin/unix/
./VisualXSPStudio.sh.
save it in /root/Desktop then you have to put the correct permissions to the file ' chmod 700 /root/Desktop/file. Whit this you have an script in your desktop that only the root could edit, view and execute.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.