Choose style:

Author Topic: How to easily kill slow or unresponsive programs and windows  (Read 1639 times)

0 Members and 1 Guest are viewing this topic.

Offline mattosensei

  • Member
  • ***
  • Posts: 222
  • Karma: 28
  • Linux with 'L' plates
    • View Profile
  • Peppermint version(s): 6
Have you ever been faced with a laggy, unresponsive or crashed application and program window?

It happens - though for me, much less in Linux than in Windows.

Sometimes you can't X out to close the program but you do want to close it down.

There is a very quick and easy terminal command you can use to 'point and kill' the unresponsive program. Simply open up a terminal window using CTRL+ALT+T and then type the code below and hit enter:

Code: [Select]
xkill
You will then see a X-hair appear. Just hover it over the window that's not responding and click the mouse button. Voila - the process/window/application will be killed.

Note: don't try to kill by clicking in the taskbar at the bottom of your screen as you will inadvertently kill Nemo (the desktop manager running your user interface  ;))

Anyway, a handy little tool in case you're not aware of it. 8)

Offline scifidude79

  • Global Moderator
  • Hero
  • *****
  • Posts: 2776
  • Karma: 672
    • View Profile
  • Peppermint version(s): Peppermint 7 & 8 64 bit
Re: How to easily kill slow or unresponsive programs and windows
« Reply #1 on: June 23, 2015, 08:50:27 pm »
Thanks for the tip.  I'll have to try that the next time Shadow Warrior Classic Redux freezes up on me in the first level.  (it's a game bug)

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 441
  • Karma: 118
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 8 - 64 bit
Re: How to easily kill slow or unresponsive programs and windows
« Reply #2 on: June 24, 2015, 04:07:11 am »
That's a great tip, I would like to add that to my blog.

Very handy

Sent from my GT-I9190 using Tapatalk

Running Peppermint 8- 64 bit on my Lenovo i3 laptop.

View my Linux blog:  http://myiceadventure.blogspot.com

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4335
  • Karma: 935
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): Peppermint 8, 64-bit
Re: How to easily kill slow or unresponsive programs and windows
« Reply #3 on: June 24, 2015, 06:27:09 am »
Nice one, you're right about being careful what you Zap! with it though  ;)!!
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline scifidude79

  • Global Moderator
  • Hero
  • *****
  • Posts: 2776
  • Karma: 672
    • View Profile
  • Peppermint version(s): Peppermint 7 & 8 64 bit
Re: How to easily kill slow or unresponsive programs and windows
« Reply #4 on: June 24, 2015, 12:57:47 pm »
Nice one, you're right about being careful what you Zap! with it though  ;)!!

So true!  I was running Gdebi to install one of my purchased games from GOG last night.  Well, the game installed but Gdebi froze.  So, I remembered mattosensei's advice, but not the part about NOT clicking the taskbar.  Ha!  Anyway, I killed Gdebi, but not before I accidentally killed the panel, so I did a quick log out and back in to bring it back.  (yes, I know I could have brought it back with the terminal, if I'd remembered the command to do it)


Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 17391
  • Karma: 2080
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 (64bit)
Re: How to easily kill slow or unresponsive programs and windows
« Reply #5 on: June 24, 2015, 01:10:40 pm »
Code: [Select]
nohup lxpanel -p Peppermint &
You knew I was gonna ;)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline scifidude79

  • Global Moderator
  • Hero
  • *****
  • Posts: 2776
  • Karma: 672
    • View Profile
  • Peppermint version(s): Peppermint 7 & 8 64 bit
Re: How to easily kill slow or unresponsive programs and windows
« Reply #6 on: June 24, 2015, 01:46:08 pm »
Code: [Select]
nohup lxpanel -p Peppermint &
You knew I was gonna ;)

Naturally.  Though, I still won't retain it.   :(

Meanwhile, Ctl + Alt + Del, Logout and back in, I remembered.  Only took a few seconds.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 17391
  • Karma: 2080
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 (64bit)
Re: How to easily kill slow or unresponsive programs and windows
« Reply #7 on: June 24, 2015, 01:51:21 pm »
Might come in handy for someone .. you never know :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline scifidude79

  • Global Moderator
  • Hero
  • *****
  • Posts: 2776
  • Karma: 672
    • View Profile
  • Peppermint version(s): Peppermint 7 & 8 64 bit
Re: How to easily kill slow or unresponsive programs and windows
« Reply #8 on: June 24, 2015, 01:52:31 pm »
Might come in handy for someone .. you never know :)

Naturally.  Your advice usually does, I'm sure.  I just wish I had a better memory.