Ubuntu :: Running A .jar File From Terminal?

Apr 11, 2011

I'm trying to run a .jar file from the terminal (so that I can set up a launcher) but I can't seem to get it to work. The file is marked as an executable, and all works fine if right click the file and open with java in gui, but when I enter:

Code:
java -jar minecraft.jar
... from the directory the jar is located in, I get:

[code]...

View 7 Replies


ADVERTISEMENT

Ubuntu :: "No Such File Or Directory" Reported On Running Program From Terminal

Jan 14, 2011

When I try to run a program from the terminal, bash reports "No such file or directory", even though the file exists, is executable and I have permission to run it. The same program worked in the past.

View 7 Replies View Related

Software :: Terminal For Running VB Scripts (a SecureCRT Like Terminal)?

Apr 5, 2011

I would like to hear about a (telnet) terminal for Linux that can run VB scripts. The need is for configuration of a target board. I like secureCRT very much, but I can not use it from a Linux workstation.

View 4 Replies View Related

Ubuntu :: Running GUI From Terminal While SU'd

Aug 25, 2010

I'm trying to run a script that launches a GUI using DirectFB while su'd as a different user. I probably have to add environmental variables but I'm not sure exactly what to do to get this working.

Here's the error I'm getting:

Code:
(*) DirectFB/Core: Single Application Core. (2009-06-02 06:26)
(*) Direct/Memcpy: Using libc memcpy()
(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
--> No such file or directory

[Code]....

View 2 Replies View Related

Ubuntu :: Running The Commands In The Terminal ?

Apr 11, 2010

I am trying to boot debian on my nexus one the guide i am using is telling me to run these commands

I am getting to the point where i type the command # cd /sdcard/debian but it tells me cd: can't cd to /sdcard/debian.

View 9 Replies View Related

Ubuntu :: Terminal Running In Background - Put More?

May 13, 2011

Ive got my webserver linked up to my ubuntu computer, and i want it to act like a server controller (for srcds games or w/e) Basically, When i click the start button, the SSH launches 'css.sh' by doing this 'sh css.sh'... Anyway, the .sh file has this inside it cd sourceds/srcds_1/orangebox clear ./srcds_run -console -game cstrike +map de_dust -maxplayers 16 -autoupdate

But either way, that is becides the point. When it launches i dont see the terminal window, its invisible.... (but its running) How do i see it when i go to my ubuntu desktop and how to i put more commands in it once its launched in the background.

View 3 Replies View Related

Ubuntu :: Running Executables From The Terminal ?

Jun 26, 2011

I'm trying to run flasm from the terminal prompt but I don't really know what I'm doing.

It may be an incompatible program for all I know but as I don't know how to run any .exe from the Terminal I have no way of knowing.

I've tried entering the directory, as in:

Code:

But it say's the directory doesn't exist. But it does...

Code:

View 5 Replies View Related

Ubuntu :: Running Firefox Through Terminal?

Jan 16, 2011

either install complete Desktop Environment like Gnome, KDE, Xfce or install Xorg only. Desktop Environments will install a lot of other packages too but xorg will install core packages necessary to run X Server only.

I'm going through the same problem as Tkeins. I recently loaded Ubuntu 10.10 Maverick server, further I loaded KDE also. So while I can run Konquerer from within the KDE, but not the firefox. Further when I try it from console I get the same message 'No Display specified.

View 1 Replies View Related

Ubuntu :: Get The Daemon Running From Terminal But Nothing Is Configured?

Jan 18, 2010

Still trying to get my openVPN running.I can get the daemon running from terminal but nothing is configured. I copied my config file over from Windoze partition. My openVPN works flawlessly on both my windoze boxes.

Following this but came to another dead end when Im instructed to: Next, edit /etc/openvpn/easy-rsa/vars adjusting the following to your environment:

export KEY_COUNTRY="US"
export KEY_PROVINCE="NC"
export KEY_CITY="Winston-Salem"
export KEY_ORG="Example Company"
export KEY_EMAIL="steve@example.com"

I cant edit that,I tried but its a 'read only'. Are these instructions designed for long time users?

View 9 Replies View Related

Ubuntu :: Get Terminal Server Client Running?

Jan 23, 2010

I am building a Terminal Server Client using debootstrap for work. I found a couple post that suggested that I can change my inittab configuration to not load login. However it is my understanding that inittab has been replaced by upstart. I would like to know how to modify upstart so that instead of the user seeing a login: prompt my script is automatically loaded (rrdesktop)(revisedrdesktop) and the user is brought off a live cd to my terminal server.

View 2 Replies View Related

Ubuntu :: Close Terminal, Kill The App That's Running?

May 15, 2010

So, this may have something to do specifically with conky, but I don't understand how sometimes when I run 'conky' from the terminal and then once it loads I close the terminal, it kills conky. But other times, I do the same thing, wait for it to load, and it just keeps running! In both cases, I don't get a "user@computer~:$" prompt back after running 'conky' either. That happens sometimes with other things like gedit too..

View 3 Replies View Related

Ubuntu :: Bash: Determine If Running In Terminal?

Jul 10, 2010

I'm writing a bash script to move files around based on various bits of metadata. For a few reasons, this script will be run regularly both from the terminal, and from the nautilus-scripts folder ("graphically", if you will). What I'm stumped on is having the script defer outputs based on which mode the script is running in. For example, how can I have the script know whether to echo error statements, or pump them out to zenity based on the method of invocation?

View 2 Replies View Related

Ubuntu :: Two Errors When Running Gnome-terminal?

Jan 19, 2011

Code:bash: /dev/cgroup/cpu/user/8841/tasks: No such file or directorybash:/dev/cgroup/cpu/user/8841/notify_on_release: No such file or directoryAfter these two lines I get a normal working bash prompt.Could be related: Installed Xubuntu, then installed ubuntu-desktop and removed xubuntu-desktop&all xfce stuff.

View 3 Replies View Related

Ubuntu :: Running Shell Script From Terminal?

Feb 14, 2011

I have a shell script that I want to be able to run from the terminal just by typing "topcat", regardless of where I am or what user I'm under. How would I go about changing the bash configuration files (if I have to) in order for that to work, for me and for the other users on the computer (I have root access)? As it stands right now, I have to type "/bin/topcat/./topcat" in order for it to execute

View 3 Replies View Related

Ubuntu :: Running A Command In Terminal Upon Start Up?

May 14, 2011

I am relatively new to linux but i need to run a command in the terminal so i can prevent wireless power save from happening every time i switch to battery power. I dont really want to go into the terminal every time i switch to battery mode so i want to be able to launch this command upon start up:

Code:
sudo iwconfig wlan0 power off

View 2 Replies View Related

Ubuntu :: Compiling And Running Some C++ Programs (with G++ From The Terminal)?

Jun 7, 2011

so i've just been sitting here, compiling and running some c++ programs (with g++ from the terminal), I looked away for one minute to open a file that had just been written out (opened it with gedit if that makes a difference), now my terminal says:kbuildsyscoca4 running...so I'm wondering if anyone knows what this is about?hy it suddenly started running and why it has appeared on my terminal. I'm basically just curious as I though bash shells were entirely separate virtualizations of shells, and unrepresentative of other processes. i'm also wondering what kbuildsyscoca4 is/does (i've got gnome going on and generally gnome varieties of programs). I found a post from about a year ago mentioning the same thing, though no replies.

View 1 Replies View Related

Ubuntu :: Error Message When Running Apt-Get From Terminal

Jul 9, 2011

After a momentary power failure My server did not reboot due to a disk error. I rebooted and ran an disk repair and the machine booted fine. Now if I got to the update manager and try to update I get the following error:

E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.

I checked the file location listed the file is there (hidden). Should it be a hidden file? If so how do I repair this error? I went to the preferences of update manager and changed the following, Updates every 2 days from weekly, Changed the server location from US server to main server. The update manager ran and updated 13 files. I don't know what change repaired my issue but a guess is, changing the download location from the US server to the Main server.

View 5 Replies View Related

Ubuntu :: Bash For Programs Running In Terminal?

Aug 9, 2011

Trying to write a script for desktop launchers that are adaptable to screen resolution. Ideally, the program should:

1. Determine screen resolution:

if "a" use xdotool options window size 1305 x 869 px and move to 135,0
if "b" use xdotool options window size 1545 x 1019 px and move to 135,0

2. Check if program running:

if no, open program, and use "a" or "b" placement options, focus window
if yes, focus window

3. Close script and leave program open (if possible).

Problems arise when trying to use the script on programs that run from and hog the terminal
(e.g. brasero, gcalctool, nautilus)

Here the script will load the program, and nothing else (probably because it still occupies the terminal as it runs)

Code:

gcalctool && xdotool search "calculator" windowmove 135 0

This next command will cause the program to load, move, but it keeps focusing itself like xdotool is running the windowmove function constantly - it keeps focusing itself until script stopped.

Code:

gcalctool & xdotool search "calculator" windowmove 135 0

This had the same effect as the above code, but seems to work as a conditional subscript running when the process is running in the terminal - it just goes infinitely.

Code:

while [1] ; do xdotool search "calculator" windowmove 135 0 done exit

Is there some kind of "if, then" or "while, do" or some kind of conditional I can put in to the script ensure the window is moved only once if the program is running within the terminal? Is there a way to remove the program from the terminal from the script once it's been called?

View 5 Replies View Related

Ubuntu :: Avoiding Terminal Closing After Running Script

May 7, 2010

[using Ubuntu 10.04 - Gnome] I know this is probably a dumb question, but after few years of not using linux i'm back to it and trying to catch up what i already forgot... i'm trying to make a shell script were when all the commands end or when i interrupt it (using ctrl+c) it wont close my terminal window.

i made a test scrip like this:

#!/bin/sh
echo hi there

and created a launcher by right clicking create launcher, selected console application, naming it and putting in the command field: sh "<path to file>/test.sh". (without sh at start it wont work)

so how can i avoid shell window closing after running/terminating the script? and is there any way i can do this by doing something like right click>add new link... i think that in kde it works like that...

View 8 Replies View Related

Ubuntu Multimedia :: The Jack Server Is Running, But Not From The Terminal?

Sep 3, 2010

Muse will not make sound. The jack server is running, but not from the terminal. I can only get it to run with the Jack control. But it IS running. And still, I hear no sound from muse.Muse is connected to the system in the connection window.So, whats the problem?

View 3 Replies View Related

Ubuntu :: Output Data To Running Process In Terminal?

Jul 10, 2011

There is text based game in the Ubuntu repos called gomoku (just 5 in a row) it comes with the package bsdgames. The manual page [URL] lists an option (-b) to run it in the background. I want to try that and if I know how it works create a simple graphical front-end. When I start the program with:

Code:
gomoku -b

it starts and remains active, the terminal does not return to prompt which is OK as the command is not finished. The manual says the program reads from stdin, and this might sound stupid but how to get anything there?

I've tried to pipe an echo command to gomoku which works but ends the program after is receives input.

Code:
echo "black" | gomoku -b

just finishes. After that when you type another command like:

Code:
echo "justsometext" | gomoku -b

gomoku tells it expects either black or white as input. So it forgot the previous "black" because it is a new instance.

How do I pass text to an already running gomoku?

View 2 Replies View Related

Ubuntu :: Set Terminal To Completely Hide Itself While It's Running A Program?

Jan 19, 2009

It really bothers me that when I start a program through the terminal it takes up space with the terminal that's tied up with the program, and the program itself. I know how to keep it from tying up the terminal, but when it devotes the terminal, I like that it gives output if the program crashes. Is there a way I can set a terminal to completely hide itself (off the desktop and the taskbar) while it's running a program, then reappear once the program is closed?

View 4 Replies View Related

General :: Tell If A C Program Is Running Without A Terminal?

May 9, 2010

I have a C program that can run disconnected ( like most ), is there a programmatical way to tel if the program is running without a terminal? Example:nohup my-program &What I want is to modify the program so it can be used as a HUB interface. It does Peer to Peer communication and I want to make it a server function with a command line option.Currently if I disconnect the program, it will loop on the read for stdin, I need to be able to detect that and go into 'HUB' mode.

View 4 Replies View Related

General :: Terminal Commands Running Behind The GUI?

Jan 10, 2010

Recently I gained interest in running command from the terminal, like rhythmbox-client --play-pause and vlc --open, but I could not find the vlc's pause command under vlc. there's a way I can have a terminal display the commands that run when I do some action. For example, when I click on pause in vlc, the terminal should show me what command it used to pause vlc. What's the closest ting I can get to this?

View 1 Replies View Related

Software :: Running The Applications From Terminal?

Jan 6, 2009

I have written a couple of small practice programs with PyQt, which end with either .py or pyw, anyway I want to see what the end result looks like but I don't know how to run the program, when I double click the icon for the file it opens up a text editer (g++), what is the cammand to make the application run from terminal.

View 1 Replies View Related

Ubuntu :: Remove Auto Running Script From Terminal Launcher?

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

Ubuntu :: Short Key To Command Histroy In Terminal Running Bash?

Jan 20, 2011

In windows command prompt, F8 key can cycle through your previously entered commands i.e say you enter "ping google.com" and then "pushd <dir>". Next when you type p and then press F8 brings pushd and next F8 brings ping command. You can then hit enter to execute the corresponding command i.e ping in this case.Is there anything similar in Ubuntu Terminal running bash? Very handy to get back previously entered commands.

View 3 Replies View Related

Ubuntu :: Display Title Of Running Program When Using Gnome-terminal?

Feb 12, 2011

Usually I open 5 terminals. And since each of those 5 terminals prints it's tile as: "username@username-laptop: ~" It becomes very hard to see what is what. So, I would like my terminal to always change it's title automatically to the program that I am currently using.
So, if I type "irssi", the title of my gnome-terminal-window, should change to: "irssi" for example.

View 2 Replies View Related

Ubuntu :: Change The Args Passed To A Terminal Command While It Is Running?

Apr 14, 2011

I'm trying to ssh my ubuntu laptop with my android phone. But with the app I have (connectbot) I don't seem to be able to pass any args to the command. I want to pass the -Y command to allow my phone access to the screen on my laptop so i can use my laptop (somewhat) from my phone. Can you change the args passed to the command while it is running?

View 5 Replies View Related

Ubuntu Multimedia :: Use .flac Files Instead Of .ogg In A Sound Theme File Via Terminal Or Gediting A File?

Jul 26, 2011

there is any way (via terminal or gediting a file) to use .flac files instead of .ogg in a sound theme file? I am creating a sound theme (several truthfully) and I would like to use the FLAC format if possible.

View 5 Replies View Related







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