Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have just installed the newest version of the ubuntu on my Macbook Pro. Right from the start, after I had done the upgrade, the OS showed a error window with the following message:

Error activating XKB configuration.
It can happen under various circumstances:
• a bug in libxklavier library
• a bug in X server (xkbcomp, xmodmap utilities)
• X server with incompatible libxkbfile implementation
X server version data:
The X.Org Foundation
If you report this situation as a bug, please include:
• The result of xprop -root | grep XKB
• The result of gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd

Here are the results of the commands in the last two lines:

- xprop -root | grep XKB :
_XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "applealu_ansi", "pt", "mac",
_XKB_RULES_NAMES(STRING) = "evdev", "applealu_ansi", "pt", "mac",

- gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
layouts = [pt mac,pt]
model =
options = []

Plus the keyboard is all messed up! And I tried to change the keyboard layout and configuration, but it shows the same error message. I dont know if there is anyone with the same problem.
Thanks in advance!

share|improve this question

1 Answer 1

Have Macbook 7.1 and experienced same problems.

My Solution was to remove the Intl-Variant from the keyboard layout and choose the standard instead.

$ gnome-keyboard-properties

Click Tab Layouts
Click Button Add...
-> new window opens
Click Tab By County
Country: Select e.g. "Germany"
Variants: Select e.g. "Germany" NOTE: Do not select Variant e.g. "Germany Macintosh"!!!
Click Button Add
-> window closes
Select other Layouts and remove them from the list
Select e.g. "Germany"
Keyboard Model: Select "MacBook/MacBook Pro"

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.