Peppermint OS Community Forum

Resources => User Submitted Tutorials => Topic started by: mattosensei on June 23, 2015, 06:47:16 pm

Title: How to easily kill slow or unresponsive programs and windows
Post by: mattosensei on June 23, 2015, 06:47:16 pm
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)
Title: Re: How to easily kill slow or unresponsive programs and windows
Post by: scifidude79 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)
Title: Re: How to easily kill slow or unresponsive programs and windows
Post by: 10i 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

Title: Re: How to easily kill slow or unresponsive programs and windows
Post by: AndyInMokum on June 24, 2015, 06:27:09 am
Nice one, you're right about being careful what you Zap! with it though  ;)!!
Title: Re: How to easily kill slow or unresponsive programs and windows
Post by: scifidude79 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)
Title: Re: How to easily kill slow or unresponsive programs and windows
Post by: PCNetSpec on June 24, 2015, 01:10:40 pm
Code: [Select]
nohup lxpanel -p Peppermint &
You knew I was gonna ;)
Title: Re: How to easily kill slow or unresponsive programs and windows
Post by: scifidude79 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.
Title: Re: How to easily kill slow or unresponsive programs and windows
Post by: PCNetSpec on June 24, 2015, 01:51:21 pm
Might come in handy for someone .. you never know :)
Title: Re: How to easily kill slow or unresponsive programs and windows
Post by: scifidude79 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.