Ubuntu :: Difficulty Creating Launcher For Java Program From Terminal?
Jan 17, 2010
I 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
ADVERTISEMENT
May 7, 2011
AMD 64-bit quad core Scientific Linux 6.0 Firefox 3.6 Firefox is complaining that I need a java plugin. Apparently, it has to be installed manually. I managed to download jre-6u25-linux-x64.bin and saved it on my desktop. Then a ran jre-6u25-linux-x64.bin and it created a directory on my desktop called jre-6.0_25. Within the directory there the following subdirectories: bin, javaws, lib, man, and plugin.
View 2 Replies
View Related
Jun 10, 2011
I am wanting to try creating a simple program through Terminal. Anything will do. A window or button, etc. I haven't found anything simple enough online yet, but I'm sure they're out there. I just want to expand my knowledge of gtk type stuff. Sorry if this is not the correct category to ask this. I was going to put this on the Community Cafe forum, but chose General Help instead. I am running Ubuntu Lucid. **Edit note: I did try the procedure described at the url (below), but I got all kinds of errors in terminal. [URL]
View 1 Replies
View Related
Jul 21, 2010
I am trying to make an app launcher for Ubuntu which replaces the top bar (default) in gnome. It will be a menu system in the middle of the screen which you would click on parts to bring up lists of apps and locations. What would be the easiest way to do this, and in which code?
View 2 Replies
View Related
Apr 9, 2010
I recently downloaded Storybook, and using the default storybook.sh from the terminal, or from nautilus works fine launching the application. The command being ./storybook.sh. I have the file set to allow executing the file as a program.The various combinations I've tried in the launcher include:
Code:
/home/tim/storybook/storybook.sh
sh /home/tim/storybook/storybook.sh
[code]....
View 2 Replies
View Related
May 4, 2011
Would it be possible to make a launcher that checks if a tab with a specified address is open and if it is just opens the browser with the tab selected... if not opens a new tab with the specified address?Not sure if checking chromiums open tabs is possible... maybe this would need a extension of some sort!
View 1 Replies
View Related
Sep 20, 2010
I had a problem with viewing webcams on Skype, and after searching I found out that running Skype through the terminal with this command "export XLIB_SKIP_ARGB_VISUALS=1 && skype" makes the webcams work perfectly. What I wanted to do was to integrate this command into the main menu so that I won't have to type it into the terminal (and thus keep the terminal open all the session) every time I want to use Skype. So I edited the command of the Skype button in the Applications menu and put that line instead of "skype", but it gives me "Failed to execute child process "export" (No such file or directory)". I tried editing .bashrc and added the following line:
alias skp='export XLIB_SKIP_ARGB_VISUALS=1 && skype'
Now the command 'skp' works through the terminal, but it gives me the same error message when I put it into the command line of the applications menu.
View 6 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
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
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
May 4, 2010
I'd like to make a launcher that starts a couple of programs at once. When I switch my brain into 'work mode' I'd like one click to start evolution, firefox and sunbird.
View 2 Replies
View Related
Apr 7, 2011
i 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 Related
Aug 7, 2011
I 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?
View 1 Replies
View Related
Oct 15, 2010
I have just completed a clean install of Ubuntu 10.10 on my Acer Aspire Netbook. The first program I installed was WINE and then I installed "Spotify for Windows". All works well, but I need to start it by opening a terminal and typing - Wine "C:Program FilesSpotifySpotify.exe" which is a little cumbersome.
I want to add a shortcut to the launcher but I cannot find a way to do this. I have found a "Main Menu" option in Applications, but the options and items in there don't seem to correspond to the launcher in any way.
Is there a way of adding something to the launcher or to get the main menu to display so I can customize it from the Main Menu utility.
View 9 Replies
View Related
Apr 30, 2010
I have a jsp code. After executing that code, a Java program should be executed without refreshing the page. that is, my first page is a login page which is in jsp. After logging in the next page must be displayed which is a Java code. is that possible? Can we use applet for that?
View 1 Replies
View Related
Feb 24, 2010
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
View 9 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
May 11, 2011
I have installed Blender from Blender.org. I have installed it my home directory. After launching Blender the icon appears in the unity launcher. Then I fixed the icon in the launcher via the context menu. After restart the Blender icon does not reappear? How can I realize that the Blender icon shows up very time after starting Ubuntu?
View 9 Replies
View Related
Aug 4, 2011
I love the Ubuntu launcher and am currently using it.However I was wondering if it'd be possible to have it stick to the left and not push back into the side.So when a program is maximized it doesn't go over the launcher.
View 3 Replies
View Related
Oct 24, 2010
I have a Java program (minecraft server) that needs to be run from the command line. The code is:
Code:
java -Xmx512M -Xms512M -jar minecraft_server.jar nogui
To make life easy (i've got the java file in a folder on the desktop) I want to have a shortcut (or similar) sitting on the desktop. I've tried
Code:
ln 'java -Xmx512M -Xms512M -jar minecraft_server.jar nogui' ./../minesraftserver
with single and double quotes but my unix command line skills are pretty basic and this is obviously incorrect.
View 2 Replies
View Related
Jan 13, 2010
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]....
View 5 Replies
View Related
Apr 29, 2011
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 Related
May 23, 2011
I can't hide the launcher in unity 3D. In 2D, it works fine, hides when i open a program, looks normal, everything. In 3D, it stays on top of whatever program I'm running. What I've tried Reinstalled unity 2D. (apt-get remove, apt-get install) For whatever reason, when I log into 3D without 2D installed, it looks like gnome, but the screen is garbled, the images disappear, menus come up as plain black squares, i literally can't even open a program. Once I install unity 2D, 3D works fine, but I can't hide the launcher. Messed around with CCSM. I tried each option under hide launcher in unity plugin (never, autohide, dodge windows, dodge active windows). None of them change anything. Updated everything through update manager (last night actually). Both 2D & 3D look and work fine, no lag or sluggish behavior. All of the effects look normal. I just can't get rid of the big launcher covering up everything I do! I've just been using 2D, although I would like to use 3D.
View 2 Replies
View Related
Nov 21, 2009
1st, I got the OS install. I just want to hide some program launcher from menu bar. In the old Gnome, it work this way, I put the mouse on the menu bar, and then right click, choose preference then I can hide everything I wanna hide. But I can not do that on F12 any more, I tired to refer to Gnome instruction manual on Gnome web site. It seems like they did not change anything on Gnome 2.28. Since the instruction remain the same.
2nd I also want to ask, how do I change the default interface language setting in F12? In previous version I just need to do that in SYSTEM-->Preference. But I can not see the option any more either.
3rd I can not install the NVIDIA proprietary driver even though I got GCC and kernel development header in place. The install log said:" The binary file is not for the kernel" Well, I just use the regular i686 kerenl as usual. It does not make sense it will not work.
I got the driver running by using the rpmfusion driver, not the one from Nvida
By the way, The nouveau driver in F12 works far from OK on my GO 7300. It just like a slave driver that whip the GPU at full out all the time, let alone it does not have 3D capability.
The live cd does not include GCC and kernel development header. That made me feel like walking on the moon but forgot to put the gravity suite on.
View 4 Replies
View Related
Dec 12, 2010
I'd like to run a program [URL] from the GUI menu (yes, I know I can run it from the command line). I've gotten this to work by using a menu entry (see attached screenshot).The command is:
Code:
gksu chkrootkit
with the option for Type: was selected as Application in Terminal However, when chkrootkit is finished, the terminal immediately snaps shut according to the profile selection: When Commands Exits: Close terminal What I'd like to do is create another profile that causes the terminal to be held open (see screenshot) when the command exits and be able to choose that profile from the GUI Menu entry. I believe the command when using the CLI is:
Code:
gnome-terminal --profile=<profile_name>
how do I incorporate this within the Command entry line of the launcher?
View 1 Replies
View Related
Feb 10, 2011
i started using computer when it was all dos driven so thought i was going to be fine using the terminal in ubuntu the problem i am facing is i can not quite get my head round why is it if i load the terminal. and the first this i type is dir or ls it gives me a list off directories. So why is it if i type cd /pictures i get no such file or directory ? Confused
This also bugging the jebus out off me is i am trying to get into my usb pen drive from the terminal to run a program i have on there.
so i type cd /media
then typed ls
is displayed New Volume <-- This being the name off my pen drive
i have tried every this to get into there but the commands i would use in dos are not playing ball.
Can some one please explain how to get into my usb pen then tell me were i can go read on this as i really can not get my head around this at moment.
View 5 Replies
View Related
Feb 19, 2010
When 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 Related
Jun 6, 2011
Recently 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
View 4 Replies
View Related
Feb 17, 2011
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 Related
Jul 15, 2011
I have opensuse 11.4 with KDE. How to add a program launcher directly from the menu to the KDE desktop, but not as a widget?
View 3 Replies
View Related