Emacs+Keyboard lockup with metacity

Asked by Noufal Ibrahim

I recently upgraded my machine to 8.10 (Intrepid Ibex) and it's been working mostly okay. I am using a Thinkpad T42.

I am using the free ATI drivers and they handle compiz pretty much out of the box. Unfortunately, my system occasionally gets completely locked up with compiz and because of this, I reverted back to metacity.

Things work fine until I use Emacs for anything. Some times (once out of every 20 times or so), when I switch focus from a maximised Emacs to another application (either a window cycle or a desktop switch), my keyboard just stops responding. My mouse moves around but can't click on anything. I can 'fix' this by switching to a virtual terminal C-A-F2 or something and switching back to X.

This problem is there with emacs-snapshot and with emacs22.

The only 'customisation' I've done which might cause this (as far as I can think) is that I edited the xkb files under /usr/share/X11/xkb/ to add a rule to map Super to my right Alt key and Alt/Meta to the left Alt key. I don't have a windows key on the laptop.

If there's any more information that might help, please let me know.

This thing is becoming a deal breaker and I'm seriously considering moving to another WM and ditching Gnome altogether although I've been with it for the better part of the last decade.

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Noufal Ibrahim (noufal) said :
#1

Apparently, this has been seen by other people as well.
http://ubuntuforums.org/showthread.php?p=6058978

Revision history for this message
Noufal Ibrahim (noufal) said :
#2

This occurs only with the GTK enabled versions of Emacs. A workaround I can use is to use the vanilla emacs22 packages. I'd much prefer the GTK ones for AA fonts and such.

Revision history for this message
rlopez (rlopez-cnm) said :
#3

I have the same problem.
10.4 and emacs 23.1+1-4ubuntu7

Can you help with this problem?

Provide an answer of your own, or ask Noufal Ibrahim for more information if necessary.

To post a message you must log in.