?

Log in

No account? Create an account

unresponsive desktop

« previous entry | next entry »
May. 16th, 2007 | 04:25 am
mood: busybusy

Nice to know: if your X desktop becomes unresponsive, it's probably because some app has locked up while it has 'grabbed' the mouse and keyboard inputs, and killing the guilty process will release it. So drop to a console and start picking off suspicious processes until you regain control.

http://docs.kde.org/stable/en/kdebase/faq/tips.html#id2564149

EDIT: and if that only frees up the keyboard, leaving the mouse stuck... relaunch the guilty app that you killed, and close it again. You get the mouse back!

EDIT: Here's another (new?) way of dealing with it. Keep in mind some apps may crash if you take away their toys :)
Section "ServerFlags"
  Option "AllowDeactivateGrabs" "true"
EndSection
If this works, X will allow the Ctrl-Alt-(keypad "/") combination to ungrab the mouse and keyboard.

Link | Leave a comment | Share

Comments {8}

Pace

(no subject)

from: ubiquity
date: May. 16th, 2007 02:43 pm (UTC)
Link

The keyboard will still register the key combo to drop to a console?

Reply | Thread

Triple Entendre

(no subject)

from: triple_entendre
date: May. 16th, 2007 04:12 pm (UTC)
Link

yes, those special ctrl-alt-delete style key sequences are lower-level in some way and get processed before the apps get them. although if the machine is spinning hard, you might have to hold down the keys slightly longer.

Reply | Parent | Thread

Triple Entendre

(no subject)

from: triple_entendre
date: May. 16th, 2007 04:19 pm (UTC)
Link

another interesting tidbit: if a runaway app eats all the memory, the kernel will hunt it down and kill it automatically. well, actually, it starts killing off *anything* that looks like a hog until you have breathing room again. Not sure if all distros enable this.

Reply | Parent | Thread

Triple Entendre

even better: a keyboard shortcut for 'gimme that'

from: triple_entendre
date: Sep. 1st, 2007 09:15 am (UTC)
Link

Here's another (new?) way of dealing with it. Keep in mind some apps may crash if you take away their toys :)
Section "ServerFlags"
  Option "AllowDeactivateGrabs" "true"
EndSection

If this works, X will allow the Ctrl-Alt-(keypad "/") combination to ungrab the mouse and keyboard.

Reply | Parent | Thread

spacellama

(no subject)

from: spacellama
date: May. 16th, 2007 04:05 pm (UTC)
Link

some app has locked up while it has 'grabbed' the mouse and keyboard inputs, and killing the guilty process will release it.

This evokes vivid images of restrained mice and dungeons and violentechnology.

So drop to a console and start picking off suspicious processes until you regain control.

And this? Very John Woo.

Reply | Thread

Triple Entendre

(no subject)

from: triple_entendre
date: May. 16th, 2007 04:26 pm (UTC)
Link

thank you. this is proof that my unedited writing is even more metaphoric-atmospheric than the pre-m-edit-ated....

Reply | Parent | Thread

caliedoscope

(no subject)

from: caliedoscope
date: May. 20th, 2007 01:32 pm (UTC)
Link

Most computer problems are easily solved with application of a hammer or apathy.

Use care in deciding which to use first. Some solutions are more final than others. Your mileage may vary.

Reply | Thread

Triple Entendre

or both

from: triple_entendre
date: Sep. 1st, 2007 09:17 am (UTC)
Link

I found an answer that's both: apathy eventually guided me to a hammer. :)

"Here's another (new?) way of dealing with it. Keep in mind some apps may crash if you take away their toys :)
Section "ServerFlags"
  Option "AllowDeactivateGrabs" "true"
EndSection
If this works, X will allow the Ctrl-Alt-(keypad "/") combination to ungrab the mouse and keyboard."

Reply | Parent | Thread