Someone found how to fix it.
$ sudo gedit /etc/X11/xorg.conf
Then comment this line :
Option "XkbVariant" "oss"
Then save the file and reboot.
---
https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/221112/comments/14 (https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/221112/comments/14)
http://bugzilla.gnome.org/show_bug.cgi?id=530123 (http://bugzilla.gnome.org/show_bug.cgi?id=530123)
I know this is necromancy but it's exactly the same problem so a little context is probably helpful:
I've recently swapped Windows XP for Ubuntu and re-installed Codeblocks - suddenly I get an auto-complete pop-up whenever I press space so the only way to add spaces is to copy paste them :( I'm using a French (AZERTY) keyboard setup - both Ubuntu and Codeblocks are the newest versions (I just downloaded them see).
I tried using the fix but there is no "XkbVariant" line in my xorg.conf file so I can't replace it :-S
This may be because I'm using the standard Ubuntu release with Gnome rather than Kubuntu. Here is what the file looks like for me:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
EndSection
Section "Module"
Load "glx"
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection