Programming :: Detaching A (graphical)process Invoked Without "&" From Terminal?

Jun 6, 2010

If I run a graphical(or any process) process like music player "exaile" from terminal ,Is there a way without using "nohup" or "screen"(terminal multiplexer) to detach "exaile " from the terminal when ran without appending "&" on to exaile(like "exaile &"). If I press CTRL-Z to stop ,some programs errs out , "watch dog time out" and "aborts" the process.

The problem is bg,disown or jobs etc does not list the process if I ran from another terminal. I want to know ways by Which I can detach a graphical/non-graphical process from a terminal as well as to re-attach to the terminal.

View 2 Replies


ADVERTISEMENT

Software :: Full Detaching Process Inside Script

Mar 5, 2011

I want to change Xfce layout on-the-fly :I created an install script.If i launch it, it does not work.If i execute it manually, it works like a charm.I searched for days, but i now give up TT.Does someone has an idea about how to "isolate" this script from it's dependency ?

View 4 Replies View Related

Fedora :: Run Graphical Apps As Su Without Launching From The Terminal?

Jan 8, 2010

Is there a way to run graphical apps as su without launching from the terminal? For example is there a way to open File Browser as su? And if the only way is via the terminal, then how can I find out the names of apps like the File Browser so I can launch them?

View 8 Replies View Related

Ubuntu :: Any Graphical Ftp Which Runs Inside Terminal?

Jul 3, 2011

Does anyone know of any graphical ftp which runs inside the terminal? something similar to midnight commander.

View 2 Replies View Related

Red Hat / Fedora :: Mouse Not Working After Detaching And Re-attaching?

May 17, 2011

I have a PDSI TS230 server running redhat. I inadvertantly unplugged the mouse cable from the back. When I re insert it, the mouse not longer works. It looks like the system does not detect it anymore. Does anyone know how I can get the system to notice the mouse without rebooting the entire system?

View 6 Replies View Related

Programming :: Graphical Programming Front - For Beginners?

Oct 31, 2010

What graphical programming front is best to use for Java and Objective-C programming. I have something in mind like Xcode on Mac.

View 4 Replies View Related

Programming :: Displaying Process Id In Shell Script But There Is No Such Process?

Nov 9, 2010

I have a shell script to identify whether the process is running or not. If the process is not running, then I execute another script file to run my application. Below is my script and saved this script as monitorprocess.sh Code: #!/bin/bash

result=$(ps -ef | grep -v grep | grep "applicationname.sh" | awk '{print $2}')
echo $result
if [ "$result" == "" ];

[code]...

View 4 Replies View Related

Programming :: Difference Between Init.rc Process And Normal Process?

Mar 31, 2011

Is there any difference in cpu usage for process in init.rc(runs automatic when boot is happened) and manually running process. Will these both have same priority by default...?

View 1 Replies View Related

Programming ::get The PID Of The Process Giving Kill Signal To A Process?

Nov 26, 2008

I tried googling but didn't get any answer for this.I have a process called "abc" and it is running with PID "123".I have a putty session opened with PID "999".I am giving kill -TERM 123 from putty session.My process "abc" before dying it should catch the PID of the terminal which provided TERM signal to it.Is there any way to find this out

View 2 Replies View Related

Ubuntu :: Graphical Volume Manager - Finding Graphical Partition Editors That Work With Lvm2

May 9, 2010

I know how to manage them from a commandline but I was wondering if there are any graphical partition editors that understand and work with lvm2?

View 1 Replies View Related

Programming :: Showing Process Id But There Is No Such Process?

Nov 9, 2010

I have a shell script to identify whether the process is running or not. If the process is not running, then I execute another script file to run my application. Below is my script and saved this script as monitorprocess.sh

Code:
#!/bin/bash
result=$(ps -ef | grep -v grep | grep "applicationname.sh" | awk '{print $2}')

[code]...

View 14 Replies View Related

Programming :: Graphical Dialog From Bash Without Grabbing Focus

Jun 28, 2009

I want to display an un-intrusive graphical dialog to notify the workstation user that a bash script has finished running. It should be "top level", so visible to the user when it appears but should not grab focus, so the user can continue working in the current window and dismiss the notification when convenient. Researching gdialog, xdialog, xmessage and zenity it seems none of them can do this; they all grab focus.

View 3 Replies View Related

General :: Killing Parent Process Without Killing Child Process (Linux C Programming)?

Mar 10, 2011

I want to kill parent process after "fork()" method. but if I kill parent process with "exit(0)" method, main() thread is terminated as well so child prosess doesn't work anymore. Is there any way to kill only parent process without affecting to child process?

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

[code]....

View 1 Replies View Related

Programming :: Use Glade With C/python To Create A Graphical User Interface

Jan 30, 2011

I am working with ubuntu (linux) and have to create a graphical user interface. The GUI is a 2-D plot that have to plot a point. The point ( x and y co-ordinates) are not hardcoded, and are coming from another file (another piece of code written in c / python). I was thinking to use Glade with c/python to create this. But, I am not sure how to start with this.

View 4 Replies View Related

General :: Attaching A Process To A Terminal?

Dec 13, 2010

I have a file opened in vi running in a terminal(xterm), if I directly closes the terminal without first closing the file then I can see the vi still running in the background(ps x). Now is there any way to attach that process i.e. vi to some other terminal so that I can continue my work on the file. I have also tried fd command but it fails.

View 4 Replies View Related

Ubuntu :: Reattach PTS Or Process To Another Terminal?

Sep 18, 2010

There were a ssh session, but client side crashed and after reconnect, here is still pseudo terminal and process attached to it. Is there any way how to reattach the pts or reattach process to another terminal? (Please ignore screen or another terminal multiplexer, as long as I'm just curios if there is any solution of this situation, cause I use screen).

View 8 Replies View Related

General :: Resume A Process Via Any Terminal?

Jan 23, 2010

(yes a,vim a,copying data etc) via any terminal .please dont give me kill fg,bg at some instances kill -STOP pid,kill -CONT pid .

View 2 Replies View Related

General :: How To Sent Any Pause Process To Any Terminal

Jan 22, 2010

how to send any pause process into running condition from one terminal to other terminal in linux!

View 1 Replies View Related

General :: Transfer Process To Another Terminal?

Sep 12, 2010

How can I send a job running in one bash instance to another? I tried disowning the job, and resuming it with a "fg %cmd" from another terminal, but that doesn't work.

View 3 Replies View Related

Software :: Forking A Process Into A New Terminal?

Mar 3, 2011

I am trying to create two processes , a parent process and a child process where each of them have their respective CLI. At any point, the user should be able to switch between the CLI of the parent and child processes. I could find three possible approaches to the problem

1) fork the child process into a new terminal

2) activate the CLI of only the process which is currently in the foreground.

3) Write a script (.bashrc triggers this script on login) to start the two processes separately in two different terminals, such that the second process is triggered once the first process reaches a certain stage in execution.

The first approach probably requires the controlling terminal of the child process to be changed. Can this be achieved ? The second approach will require for the process (parent/child) to itself to know everytime it is put in background / foreground so that its CLI operations can be suspended/resumed respectively. Is this possible? Can a script start programs in a new terminal other than the one it is running in?

View 2 Replies View Related

Programming :: Under Which Circumstances A Child Process Creates Another Child Process Using Fork

Dec 7, 2009

Consider the following code:

Code:

int main()
{
int i=0;
pid_t pid;
for(i=0;i<2;i++)

[code]....

I get the following output:

Parent: chid_pid=4356 i=0 parent's pid=4355
This is child 4356 i=0
This is child 4357 i=1

[code]....

I can observe instead of two children(as I expect) processes there are three. This is because child process 4356 creates its own child. Why all the messages of the type "This is child X i=Y" are concentrated one under another? How exactly fork works? Is affected by the fact that I have a dual-core processor?

View 3 Replies View Related

Fedora :: Clamav Sending Spam - Invoked By Uid 509 (qscand == Clamd)

Mar 4, 2011

The mail server keeps getting locked up with tens of thousands of spam emails.So, i followed some instructions similar to this : [URL]I can clear the queue spams, easy, but after an hour or so the server is dead again.. not receiving emails and not sending out emails.

Code:

Received: (qmail 356 invoked by uid 509); 4 Mar 2011 21:39:10 +0800
Received: from 125.110.124.51 by host1.wemotor.com (envelope-from <oiazfkdvd@yahoo.com.tw>, uid 508) with qmail-scanner-1.25-st-qms
Received: from unknown (HELO 202.46.116.119) (125.110.124.51)

[code]....

View 3 Replies View Related

OpenSUSE :: LibreOffice Will Not Start - Produces No Error When Invoked From The Console

May 4, 2011

Suse 11.3 KDE 32bit Following instructions in software.opensuse.org: Search Results I installed LibreOffice using the 1-click Install method. It will not start and produces no error when invoked from the console. Now here's the strangest part. If I left click on an .ods file produced by LibreOffice on another computer (on which it worked) KDE tries to extract it using ark even though file properties identifies it as an "ODS spreadsheet".

View 5 Replies View Related

Ubuntu :: Shut Down Window Repeatedly Appears - Not User Invoked

Jan 15, 2011

I have a problem with my 10.10 32bit installation. The shut down window repeated appears within a few seconds of use, and this is not user-invoked. The shut down screen just pops up within a few seconds after logging in. It even occurs at the login screen. Once it appears, it'll repeatedly close & reopen. I tried using 10.04 bit (which I normally use on my other computers), and have the same results. This is a new computer that I just bought
Intel Atom 330 (1.6GHz, dual-core), full specs in the link [URL] with a 4GB stick of RAM

[URL]

I've already ran a memory test, and it's totally ok.Here's a video clip of what I am experiencing on my screen.

[URL]

View 9 Replies View Related

Fedora :: Bash Cannot Set Terminal Process Group

Nov 17, 2009

Urgent: on reboot, the Fedora 11 lower bars reach about 70-80%, then I get the message:

/dev/mapper/VolGroup-lv_root: (There are 22 inodes containing multiply-claimed blocks.)
File /home/burnie/.thumbnails/normal/[bunchofhexits].png (inode #15826, mod time Mon Nov 2 04:24:26 2009) has 13 multiply-claimed blocks, shared with 1 file:

[code]....

Just in case this is relevant, yesterday I spent several hours attempting (and failing) to build IcedTea in order to run a Java web service that required it. After the failure occurred, I exited Linux and went to Windows Vista to run the web service, and found that Vista cannot support 64-bit Firefox, so I rebooted to Linux, and ran make clean on the Iced Tea installation, which balked because a stamps directory could not be deleted because it was not empty; I followed this by make distclean which made the same complaint. So I manually deleted the files in the stamps subdirectory, ran make distclean "cleanly", and then rebooted to reach my current very unsatisfactory state.

View 6 Replies View Related

Ubuntu :: Run A Java Process In The Background Of A Terminal ?

Feb 16, 2011

I am running Ubuntu 10.10, and I am trying to run a java process in the background of a terminal, so I can continue to use that terminal.

Other applications will run in the background just fine, but when I run my java application, I cannot change the status of the process from "Stopped" after suspending it.

Here is my command syntax, along with some commands I have tried and their outputs:

There were [1]- entries, but I removed them for simplicity.

View 4 Replies View Related

Ubuntu :: Terminal: Run Programs As Separate Process?

Jul 11, 2011

I want to run programs from Terminal as a separate process, so that for example gedit file

will launch gedit and return to the terminal prompt (so no need to open up another terminal).

View 8 Replies View Related

Programming :: Unix Programming - Single Process That Does Not Start Up Any Other Threads

Sep 28, 2010

i want a process that can operate as both a TCP echo server and a UDP echo server. The process can provide service to many clients at the same time, but involves a single process that does not start up any other threads.

View 3 Replies View Related

General :: Continue Running A Program Inspite Of Killing The Shell Which Invoked It?

May 31, 2011

Possible Duplicate: Leave bash script running on remote terminal while not logged in? I run a program, say ./a.out 10 from the shell prompt. Assume that there's a while(1) inside the program being run. Now if I try to close the shell, it warns me that it'll kill my running program too! So, how to kill the shell and still let my program continue running in the background?

I tried exec ./a.out 10 but the shell is still there. Another alternative is to simply double click my executable but then how will I pass command line parameters?

View 2 Replies View Related

General :: Shell Script Is Defined In Someother Directory - How It Is Being Invoked With Path

May 30, 2011

extract.ksh use this scripts topic_file_publish.sh but extract.ksh resides in /data/apps/pnbos/scripts

but topic_file_publish.sh in below directory/data/apps/pnbgstk/publication >

ls topic_file_publish.sh topic_file_publish.sh fraespappp8:/data/apps > type topic_file_publish.sh topic_file_publish.sh is hashed (/data/apps/pnbgstk/publication/topic_file_publish.sh)

How it is done?

since topic_file_publish.sh is being directly referenced in the code with absolute path.

View 2 Replies View Related







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