Find the answer to your Linux question:
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!!!...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User sheds's Avatar
    Join Date
    Nov 2004
    Location
    ??????????
    Posts
    342

    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!!!

  2. #2
    Linux 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.

  3. #3
    Linux User sheds's Avatar
    Join Date
    Nov 2004
    Location
    ??????????
    Posts
    342
    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?).

  4. #4
    Linux 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.

  5. #5
    Linux User sheds's Avatar
    Join Date
    Nov 2004
    Location
    ??????????
    Posts
    342
    The right way to kill a stalled app is via command then?

  6. #6
    Just 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

  7. #7
    Linux User sheds's Avatar
    Join Date
    Nov 2004
    Location
    ??????????
    Posts
    342
    Thanks, i am reading the help files on ps to learn more.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •