NSA: Please Turn off the Lights When You Leave. Nothing to See Here.

Linux Advocate Dietrich Schmitz shows how the general public can take action to truly protect their privacy using GnuPG with Evolution email. Read the details.

Mailvelope for Chrome: PGP Encrypted Email Made Easy

Linux Advocate Dietrich Schmitz officially endorses what he deems is a truly secure, easy to use PGP email encryption program. Read the details.

Step off Microsoft's License Treadmill to FOSS Linux

Linux Advocate Dietrich Schmitz reminds CIOs that XP Desktops destined for MS end of life support can be reprovisioned with FOSS Linux to run like brand new. Read how.

Bitcoin is NOT Money -- it's a Commodity

Linux Advocate shares news that the U.S. Treasury will treat Bitcoin as a Commodity 'Investment'. Read the details.

Google Drive Gets a Failing Grade on Privacy Protection

Linux Advocate Dietrich Schmitz puts out a public service privacy warning. Google Drive gets a failing grade on protecting your privacy.

Email: A Fundamentally Broken System

Email needs an overhaul. Privacy must be integrated.

Opinion

Cookie Cutter Distros Don't Cut It

Opinion

The 'Linux Inside' Stigma - It's real and it's a problem.

U.S. Patent and Trademark Office Turn a Deaf Ear

Linux Advocate Dietrich Schmitz reminds readers of a long ago failed petition by Mathematician Prof. Donald Knuth for stopping issuance of Software Patents.

Showing posts with label xkill. Show all posts
Showing posts with label xkill. Show all posts

Saturday, November 29, 2014

Fedora How-To: End Unresponsive Applications with Xkill



There are times when I miss KDE, like, when an application suddenly freezes up for no apparent reason.

I wait and try to close the window clicking on the close [x] glyph.  Tap fingers....

Still nothing.  "Sweet Lord.  Please make it stop!", I mutter.

Then I remember that pressing ctrl-alt-Esc would work in KDE to kill an unresponsive application.  Yes!  (Slaps forehead)  That's it.

Presses ctrl-alt-Esc.   Waits.  (insert sound of crickets...)  NOTHING.

So, as I have discovered, Fedora doesn't have a keyboard mapping to xkill, despite having the utility installed.  My Fedora Peeps are you reading this?  For the Love of God, Add it!  Please.

There.  I said 'please'.  I was nice.

Hokay, deep breaths.  Serenity now... ;)

Ready for a brief how-to to show you how to add a keyboard mapping in Fedora Desktop Edition or Workstation?  Alright.  Here goes.

First you need to go to Settings and click Keyboard to create the shortcut:




Then, click Shortcuts:




Click on Custom Shortcut and the plus (+) symbol to add a shortcut:


Name the shortcut "Force Quit" and the command "xkill":


Click Add to add the shortcut.  Then click on the word 'Disabled' and enter the keys you wish to use to activate this shortcut (I've used Ctrl-Escape as Ctrl-Alt-Escape is already mapped to something else):



My finished Force Quit shortcut:



Finito.  Good grief, I am exhausted.  Just kidding.  That wasn't difficult was it?  I hope not.


So, okay, if and when you encounter a frozen application you can now force it to quit by pressing, in my case, Ctrl-Esc.  Directly above, I show Nautilus Terminal after I have pressed ctrl-esc.  Note that the cursor changes shape to an 'x' to signify you are armed with xkill and dangerous.

Assuming you do want to kill an application, position your mouse cursor over the offending application window and 'left-click'.  That should result in the window closing.  Should you decide to cancel, simply 'right-click' at any time and the 'x' cursor will be replaced by a normal mouse arrow.

And that should do it!  -- Dietrich