I have hit this bug before many times on previous versions of Ubuntu and now on Lucid (10.04). Usually, I go to tty1 (CTRL+ALT+F1 works) and then I kill compiz, which magically restores my keyboard and mouse input.
This time that didn't work so I left the window open and went to another computer to research this. Then I found bug 59616 which is marked as a duplicate of this one.
On one of the comment (Lars) it's mentioned to remove .gconf/desktop/gnome/peripherals/keyboard/host-<hostname>/0/%gconf.xml and retry.
Well, since I had a problem with the mouse too, I moved the whole "peripherals" directory to /tmp and lo and behold, that did the trick.
In short, I changed the behavior of the Menu key to act as Compose and IIRC I set CapsLock to act as CTRL. My visual effects are set to Extra in the Appearance dialog -- which might or might not be related but...
I have hit this bug before many times on previous versions of Ubuntu and now on Lucid (10.04). Usually, I go to tty1 (CTRL+ALT+F1 works) and then I kill compiz, which magically restores my keyboard and mouse input.
This time that didn't work so I left the window open and went to another computer to research this. Then I found bug 59616 which is marked as a duplicate of this one.
On one of the comment (Lars) it's mentioned to remove .gconf/ desktop/ gnome/periphera ls/keyboard/ host-<hostname> /0/%gconf. xml and retry.
Well, since I had a problem with the mouse too, I moved the whole "peripherals" directory to /tmp and lo and behold, that did the trick.
This is the diff between those 2 directories:
$> diff /tmp/peripherals peripherals s/keyboard/ host-zod/ 0/%gconf. xml peripherals/ keyboard/ host-zod/ 0/%gconf. xml s/keyboard/ host-zod/ 0/%gconf. xml 2010-07-27 11:27:40.192314387 -0400 keyboard/ host-zod/ 0/%gconf. xml 1969-12-31 19:00:00.000000000 -0500 s/keyboard/ kbd/%gconf. xml peripherals/ keyboard/ kbd/%gconf. xml s/keyboard/ kbd/%gconf. xml 2009-10-09 11:06:20.000000000 -0400 keyboard/ kbd/%gconf. xml 1969-12-31 19:00:00.000000000 -0500 us</stringvalue > /stringvalue> Compose key compose: menu</stringval ue> s/mouse/ %gconf. xml peripherals/ mouse/% gconf.xml s/mouse/ %gconf. xml 2010-07-23 15:30:08.244407232 -0400 mouse/% gconf.xml 1969-12-31 19:00:00.000000000 -0500 s/touchpad/ %gconf. xml peripherals/ touchpad/ %gconf. xml s/touchpad/ %gconf. xml 2009-10-09 11:06:20.000000000 -0400 touchpad/ %gconf. xml 2010-07-27 11:30:29.092314722 -0400 migration_ needed" mtime="1255100776" type="bool" value="false"/> migration_ needed" mtime="1280244568" type="bool" value="false"/>
diff -burN /tmp/peripheral
--- /tmp/peripheral
+++ peripherals/
@@ -1,4 +0,0 @@
-<?xml version="1.0"?>
-<gconf>
- <entry name="numlock_on" mtime="1280244399" type="bool" value="true"/>
-</gconf>
diff -burN /tmp/peripheral
--- /tmp/peripheral
+++ peripherals/
@@ -1,16 +0,0 @@
-<?xml version="1.0"?>
-<gconf>
- <entry name="layouts" mtime="1255100776" type="list" ltype="string">
- <li type="string">
- <stringvalue>
- </li>
- </entry>
- <entry name="options" mtime="1247088056" type="list" ltype="string">
- <li type="string">
- <stringvalue>ctrl ctrl:nocaps<
- </li>
- <li type="string">
- <stringvalue>
- </li>
- </entry>
-</gconf>
diff -burN /tmp/peripheral
--- /tmp/peripheral
+++ peripherals/
@@ -1,5 +0,0 @@
-<?xml version="1.0"?>
-<gconf>
- <entry name="cursor_size" mtime="1279913347" type="int" value="18"/>
- <entry name="left_handed" mtime="1279899048" type="bool" value="true"/>
-</gconf>
diff -burN /tmp/peripheral
--- /tmp/peripheral
+++ peripherals/
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<gconf>
- <entry name="config_
+ <entry name="config_
</gconf>
In short, I changed the behavior of the Menu key to act as Compose and IIRC I set CapsLock to act as CTRL. My visual effects are set to Extra in the Appearance dialog -- which might or might not be related but...