Ubuntu :: Create Launcher For Java File As Root

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


ADVERTISEMENT

Ubuntu :: Create A Launcher For Java Programme

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

General :: Create A Launcher For A Java Application?

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

Programming :: Create A .bin File From Java Source Code?

Jan 4, 2010

i am trying to generate a linux executable data (bin data) from my java source code.

View 4 Replies View Related

General :: Ubuntu 9.04 - Create A Launcher For A .txt File But Does Not Give Option Of Choosing "type"

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

Ubuntu / Apple :: Failed To Create File '/root/.local/share/recently-used.xbel.AC7YXV': No Such File Or Directory

Jun 22, 2011

I have iMac 2.4GHz with rEFIT installed. I installed Unity on one of the partition. Kernel is still 2.6.38.8. I am getting error message when I run the command
sudo gedit /etc/x11/xorg.conf

The error message is

(gedit:2139): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.AC7YXV': No such file or directory

(gedit:2139): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

View 3 Replies View Related

Fedora :: Make Nautilus Have A "Create Launcher" Item Under The File Menu?

Jun 12, 2011

Is there anyway to make Nautilus have a "Create Launcher" item under the File menu? Is there some plugin I can install or file I can edit? Launchers are very useful but always having to create them on the desktop first then move them to where I want is pretty annoying.

View 3 Replies View Related

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 View Related

Ubuntu :: How To Create Launcher From Terminal

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

Ubuntu :: Create A Launcher In Script?

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

Ubuntu :: Create A Launcher With 2 Actions?

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

Ubuntu :: How To Create Launcher From Bash Script

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

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 View Related

Ubuntu :: Create A Launcher With Sudo Priveliges?

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

Ubuntu :: Create A Launcher That's Doing Two Separate Commands

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

Ubuntu :: Create A Smb Share Panel Launcher?

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

Ubuntu :: Create Custom Launcher For Flatout 2?

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

Fedora :: How To Create Launcher

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

Ubuntu :: Create Unity Launcher For Keyboard Key Combination?

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

Software :: Create A Launcher Within Fedora ?

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

Debian :: Create An Easytether Launcher To Accomplish?

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

Fedora Installation :: How To Create A Desktop Launcher

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

Fedora :: How To Create Launcher For Application Using DosBox

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

Ubuntu :: Open A Specific Tomboy Note With A Command To Create Launcher?

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

Debian Multimedia :: Create Rdesktop Launcher Under Xfce?

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

Fedora :: Create Custom Application Launcher In Gnome 3

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

Slackware :: Gslapt Launcher As Root In Gnome?

Sep 16, 2010

how to get a desktop launcher for gslapt working with root privileges in Gnome? [GSB, actually].

Gslapt works fine when started from a terminal, but it'd be nicer if I could just click the icon. I've tried: # /usr/sbin/'su -c gslapt' but get: "Failed to execute child process "/usr/sbin/su -c gslapt" (No such file or directory).

I suppose I could use a script, but is there a simpler way?

View 3 Replies View Related

Debian :: Create App Launcher And Change Icon On Xfce Desktop?

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

OpenSUSE Install :: Create A Root Backup Image Of The Root Partition ?

Oct 12, 2010

Since I installed MS2 I messed up grub. Finally I got 11.3 back to its old glory.

What would be the best procedure to create a backup image with all settings and permissions ...just in case ?

View 5 Replies View Related

Fedora :: Create A Non-terminating (by CTRL + C) Shell Script Launcher On Gnome?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved