Ubuntu :: Create Launcher For A Shell Script?
Apr 4, 2010
I decided to try and find a home inventory application. I found one called "Attic Manager" that works in Ubuntu. [URL]
The instructions are to run it from the terminal. That's ok for once and a while, but a pain if used regularly. So I tried to set up a launcher for it. I couldn't seem to get it to work. In the command, I simply put in the path and file name, but can't seem to get it to work.
View 3 Replies
ADVERTISEMENT
Feb 12, 2010
How do I create a launcher/shortcut on Gnome desktop, which starts a Terminal window and executes a shell script?The script should execute as if I started the script manually, i.e. if I abort the script by pressing CTRL + C, the script should terminate but the terminal window should remain on screen.If I create the shell script launcher/shortcut using the �straight forward �Create Launcher� method�, the terminal window also closes when I hit CTRL + C
View 8 Replies
View Related
Jun 5, 2011
I am trying to create a shell script similar to ls, but which only lists directories. I have the first half working (no argument version), but trying to make it accept an argument, I am failing. My logic is sound I think, but I'm missing something on the syntax.
Code:
if [ $# -eq 0 ] ; then
d=`pwd`
for i in * ; do
if test -d $d/$i ; then
echo "$i:"
code....
View 10 Replies
View Related
May 27, 2010
You know when you right click the screen and you can make a launcher with a custom command? Okay...how would I do that from the terminal?
View 6 Replies
View Related
Oct 21, 2010
I want to create a launcher that will mount a ssh location. That's easy enough. I just create a launcher that does:
Code:
sshfs user@host:/remotefolder /media/whateveriwant
Well... turns out you can't unmount a mount of that kind by the typical methods, I have to
[code]...
View 3 Replies
View Related
Apr 19, 2011
I have a program which launches by a command but the command is not valid if i dont cd/ to the location of it first, is it possible to make the lancher (terminal) first go; cd /home/user/x then the program?
View 4 Replies
View Related
Mar 11, 2010
How do I automate the creation of a launcher from a bash script?I can easily create my launcher by drag and drop or right-clicking on the menu panel, but I would like to fully automate this from a bash script.I suppose it is a Gnome question rather than a general Ubuntu question, but all searches typically ends explaining how to create a launcher that runs a bash script.
View 5 Replies
View Related
May 30, 2010
I am wondering how to create a launcher with 2 functions in Ubuntu 10.04. The functions I want are both in terminal, and I want them executed in this order:
# sync
# echo 3 > /proc/sys/vm/drop_caches
The echo 3 command requires root privileges to run, and I haven't figured out how to do that yet. I am brand new in ubuntu, and have only been using it for about 2 weeks. The reason behind this is that I want a launcher in the bar at the top of the screen that I can click periodically to dump my ram cache, since I have 4 gb of ram, and do not see the point of using 100 percent of that when just sitting on the desktop.
View 9 Replies
View Related
Aug 11, 2010
I have a programme known as OpenRep which can be launched by executing the file named OpenRep.jar by OpenJDK Java 6 Runtime programme This programme can also be launched through terminal by the command
Code:
java -jar OpenRep.jar
The location of the programme is in my Home folder. Well I would like to create a launcher for that programme.
View 9 Replies
View Related
Sep 23, 2010
I'm trying to create a launcher that's doing two separate commands. Here's currently what I have.
Code:
rm ~/Games/Nintendo DS/NO$Zoomer.ini; wine ~/Games/Nintendo DS/NO$Zoomer.exe
Now, the reason I have to delete the .ini file, is for some reason the file gets corrupted every time (it's a well known problem, from what I've read.) and I can't start up the program until it's removed. Now, it works fine in Terminal, but when I run it through my Launcher icon, it does nothing.
View 4 Replies
View Related
May 5, 2011
My brother runs storage server over our LAN,I connect to it via smb.(I'm not sure if it's called Samba or just pronounced that way) Rather than hitting ctrl+l in a file browser window, and typing smb://000.000.0.000/drivename each time, I'd like to know how I can add a launcher to the gnome panel which will do that for me I know this is possible, because I have done it before, I just forget how. I was going to try creating a launcher application in terminal, but I'm not sure what code to use.
View 2 Replies
View Related
May 10, 2011
im trying to create a launcher for flatout 2 and i dont know how. I have tried every thing and it ether comes up with a error or doesn't start or do any thing at all. My problem is that flatout 2 needs to load files from its whole folder. Other wise i would have simply made a launcher of the .EXE but it comes up with a error saying its missing files.
View 2 Replies
View Related
Jan 19, 2011
Is it possible to create a launcher for something with a |
ie; ./script.sh | telnet
I have the script just want to launch it from desktop.
View 4 Replies
View Related
Mar 22, 2010
I want to write a single shell script that allows me to, once executed from a panel launcher, change the image preview setting between "local files only" and never. Right now i have two tiny scripts, one for local files only and another one for never, that is:
[Code]...
and the other says string "local_only". But that means i need to have two launchers, because i don't know how to write the condition <<when set to never, change it to local only. And is it possible to make a script that also changes the launcher's icon when the preview config is set to one or the other value? That way i'd know what it is set to just by looking at it. It would act as a diagnostic and therapeutic tool XD
View 9 Replies
View Related
Dec 25, 2010
I have a java.jar (PCGen) that only works correctly if I run it with sudo from the terminal. I have to cd into its directory and run it as
Code:
sudo java -jar pcgen.jar
I would like to use a menu launcher instead of having to use the terminal each time. I tried
Code:
sudo java -jar /path/to/file/pcgen.jar
No luck. This .jar only works properly if ran as root, is there any easy way to do this?
View 3 Replies
View Related
Jul 1, 2011
Is it possible to create custom Unity Launcher that would do the same thing as pressing some keys on the keyboard.
View 9 Replies
View Related
Aug 20, 2010
Im trying to create a launcher within Fedora. The path I need to excute is "python /opt/GNS3/gns3". Ive added this to the launcher but nothing happens.
View 4 Replies
View Related
Feb 28, 2011
To launch easy tether I need to open 2 terminals and type some command, not all that hard, but I can I do this with one launcher? "Open Terminal and run "easytether enumerate", then "easytether connect". Once it says the connection is established, do not stop the running "easytether connect", open another Terminal and run "sudo dhclient easytether0". "
View 4 Replies
View Related
Mar 26, 2010
I am having trouble creating a desktop launcher icon for an application that needs to run in terminal mode and is run with "mono". After creating the launcher on the desktop it launches the terminal window and then gives the error "There was an error creating the child process for this terminal", and the terminal window is blank. Here are the steps I use to launch the application in a many step process. click on applications/system tools/terminal then in the terminal window I type, cd /var/opensim/Test/bin mono OpenSim.32BitLaunch.exe The above steps work just fine and the instance of the application runs just fine, but it is rather tedious to enter in all that everytime I want to run the application.
1 - place a desktop icon on my desktop to launch the application,
2 - Launch this application when I reboot Fedora so it starts automatically whenever I boot.
The way I created the desktop launcher was to right click on the desktop and select create launcher. I selected "application in terminal" and when I entered in the command line, I added "mono" to the command after navigating to the place the application was with the correct path. Here is the actual command line that is in the launcher that throws the error message.
/var/opensim/Test/bin/mono OpenSim.32BitLaunch.exe
View 6 Replies
View Related
Jun 13, 2011
how do I create a launcher for an application using DosBox? I tried in Alacarte, but it does not show up. I did this both as root and as user.Disregard. It did create the launchers. It just put them in "Other" even though I told it to create them in "Internet" so they are there, but just not where I want them. That is okay since now I can add them to my favorites and put them in the order I want.
I guess I will like Gnome 3 better as I find tweaks to make it work like I want it to work. Still though, it is not nearly as user friendly as my heavily tweaked Gnome 2 with Compiz.Another question though: How do I get it to select and use a photo I want for the background instead of the stock images? It is annoying as all get-out to have the screen turn to grey rather than stay the way I want it. :
View 5 Replies
View Related
Jun 27, 2010
Ok I just downloaded this program called Phex, it is a really cool program and i get it to run, but only from command line. I downloaded this program and its already compiled and works fine but i can only launch it from a command line by typing "java -jar phex.jar" I have created launchers before and they have worked, but this one just doesn't work. I have all permissions on the directory and the files, but how to create a launcher for this file.
View 8 Replies
View Related
Jul 15, 2010
I tried
Code:
tomboy --title-note "To Do"
but it returns
Quote:
[INFO 14:55:56.264] Initializing Mono.Addins
and opens in notification area.
but the note does not open.
View 4 Replies
View Related
Feb 6, 2011
Howto create an launcher for rdesktop on xfce desktop? I'd like a very simple gui, asking me just for the ip address or server name.
View 1 Replies
View Related
May 29, 2011
How do I create a custom application launcher in Gnome 3? I used to be able to right click on the panel and choose 'Create custom launcher' in Gnome 2, but that doesn't seem to work here.
View 14 Replies
View Related
Mar 4, 2010
So, supposedly Gnome Shell is available through synaptic. I just downloaded and installed it and then ran gnome-shell --replace. It doesn't work at all. I hit the windows key and get nothing and there is no application launcher in the upper left hand corner and Alt-f2 produces nothing at all. Alt-tab gives me the option of choosing the windows that were running when I ran gnome-shell --replace but nothing else works at all. Just a vast expanse of digital nothingness. Does anyone know why this might be? I have an nvidia video card (see sig below) and two monitors running from "twin view".
View 1 Replies
View Related
Feb 3, 2011
I've Live Lenny with xfce desktop.Howto create application launcher and change icon on xfce desktop?
View 3 Replies
View Related
May 8, 2011
I am trying to create a launcher in Fedora 13 which will run a simple script named proj4a. I run this script from the command line as follows:
$ $HOME/proj4a >$HOME/proj4a_out
where proj4a is an executable file in my home directory and the output goes into a file, proj4a_out, in my home directory. Everything works fine. I created a launcher called Proj4a and in the command field I entered the following:
' $HOME/proj4a >$HOME/proj4a_out'
When I click on the launcher it comes back with the following: There was an error launching the application.
View 5 Replies
View Related
Oct 13, 2010
I have a launcher for Quake that essentially runs a shell scripts that runs quakespasm with certain options. Is there a way to add it to AWN?
View 6 Replies
View Related
Sep 7, 2010
I tried to add a new launcher to a xfce panel on an Ubuntu 9.04. The problem is that I want to create a launcher for a .txt file - and the launcher does not give me the option of choosing "type". I read the following:
[Code]...
View 8 Replies
View Related
Apr 29, 2011
For some reason the general launcher button (+ in circle) in the unity menu has disappeared. I do not know how to restore it. Which means I have great problems to start al apps that are not standard in the menu.
View 1 Replies
View Related