Results 1 to 7 of 7
Hi, i just opened Gnome iconedit and it went dead. How do i kill or terminate this program and get the windows closed? Thanks for the help!!!...
- 11-14-2004 #1
Terminating or killing stalled apps
Hi, i just opened Gnome iconedit and it went dead. How do i kill or terminate this program and get the windows closed? Thanks for the help!!!
- 11-14-2004 #2Linux Engineer
- Join Date
- Aug 2004
- Posts
- 826
there are several ways of doing this. i prefer running top from a terminal window and then pressing k (kill) and then the pid number after it.
i think there have been several recent threads on killing apps, so for alternatives to the solution i offered, just do a search of the forums.
- 11-14-2004 #3
I found this other way on another site, and it worked:
<Ctrl><Alt><Esc>
(in X-windows, KDE) Kill the window I am going to click with my mouse pointer (the pointer changes to something like a death symbol). Similar result can be obtained with the command xkill (typed in X-terminal). Useful when an X-window program does not want to close (hangs?).
- 11-14-2004 #4Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
However, xkill will just make the X server disconnect the socket to that process, in the expectation that it will die by itself once it discovers that it no longer has an X connection. If the process is stuck in some loop somewhere outside any X code, however, it won't ever detect that condition, and thus will not actually die and go on taking up cycles until you actually kill it.
- 11-19-2004 #5
The right way to kill a stalled app is via command then?
- 11-20-2004 #6Just Joined!
- Join Date
- Nov 2004
- Location
- College Station,TX,USA
- Posts
- 15
The best method to kill a process(stalled or unstalled) is kill -9 <process-id>
or killall -9 <process-name>. You can get the process id from the ps -ae command.
P.s.: the "-9" stands for the forcible termintion
- 11-20-2004 #7
Thanks, i am reading the help files on ps to learn more.


Reply With Quote
