Ubuntu :: How To Create Launcher From Terminal
May 27, 2010You 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 RepliesYou 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 Repliesi was wondering, and maybe hoping, if there was any way i can create a launcher to open a program that must be ran in terminal for it to run. i don't really like opening terminal and going to the program's location to launch it, so is there any way for this to work?
View 5 Replies View RelatedI am trying to drag and drop the terminal into the launcher, but it doesn't show up when I let go of it.
And when terminal is open, it isn't showing up in the launcher either.
How can I fix this?
shell scripting and launchers. i need to make a launcher for launching terminal, runing in it some commands and after completion i need to close terminal window.in terminal i need tu run such commands:
$fpc test.pas
$./test
and then it would be nice that the terminal automaticaly closes
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]...
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 RelatedHow 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 RelatedI 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.
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.
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.
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.
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 Relatedim 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 RelatedIs 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.
I made gnome launchers (shortcut or what they are called). I selected them : opened by terminal (with some simple commands). The problem is that I have 3 command lines and don't want to use 3 icons (launchers) to execute them. If I edit my launcer on gedit, I get this kind of lines :
Code:
[Desktop Entry]
Encoding=UTF-8
[code]....
I upgraded to 11.04. All went well, until I (stupidly) enable the desktop cube. And my launcher dissapeared. How do I get into terminal, and once there how do I dissable compiz? unity --reset?I tried CTRL-ALT-T and that doesn't workCTRL-ALT-F1 brings up a screen that aks me to log in but won't accept my login info.
View 6 Replies View RelatedI 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?
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 RelatedIm 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 RelatedI run a program by executing this command in a terminal screen.Code:coco@coco-desktop:~/Escritorio/MO_1.10/MagnumOpus$ java -jar MagnumOpus.jarSince it is a bit tedious, I tried to create a launcher. I copied the above code into the Command box. The launcher is created, but fails to run the program. Instead I get an error message.
View 6 Replies View RelatedWhen I launch terminal it tries to run bash first.I get the following messages in the terminal window..bash: /home/myfolder/appfolder/setup.sh:sion Deniedmyname@computername:~$This started after I installed an application from within appfolder.How can I remove/stop this bash from executing when I launch
View 2 Replies View RelatedRecently Banshee won't start up all the way. If I just start it from the Unity launcher I get a blank white screen which will eventually stop responding. If I run Banshee from a terminal I get this output:
Code:
[Info 14:08:56.332] Running Banshee 2.0.0: [Ubuntu Natty (development branch) (linux-gnu, x86_64) @ 2011-04-18 16:18:52 UTC]
[Info 14:08:58.329] Updating web proxy from GConf
[Info 14:08:58.536] All services are started 1.852889
** (Banshee:4120): DEBUG: SyncDaemon already running, initializing SyncdaemonDaemon object .....
(Banshee:4120): Cogl-glx-WARNING **: ./cogl-framebuffer.c:912: Failed to create an OpenGL framebuffer
I want to use the Gnome Launcher to launch a script I made but it will only work if I select "Application in Terminal." It will not launch if I use "Application". I've also noticed that my script will only run in the terminal regardless of how I launch it. Fedora will not let me just double click the file and "Run" the script. I don't want to open a terminal every time I run the script.
View 1 Replies View RelatedTo 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 RelatedI 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
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. :
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 RelatedI'm having Ubuntu Kramic Koala and i want to create a custom application launcher on the panel so when it is clicked it should open a terminal window and run the following command and then show the output for 5 secs and then closes the terminal... how can i do this?
Code:
cat /proc/sys/vm/laptop_mode && sleep 5
the above command is what i want to be executed at time of running the custom application launcher. if i paste the command in a terminal, it will show the output for 5 secs and then terminates... that's almost what i want. what i exactly want is that, i want it to work like when i click on the shortcut launcher, it should open a terminal and then exectues that command, show the output for 5 sec, pause, and then exits the teriminal.
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.
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