I’m running Gnome 2.12 on my laptop and desktop. The desktop is AMD64 FreeBSD -CURRENT and the laptop is i386 with 6-STABLE. They both have experienced problems with setting the correct keyboard layout in the past, but both were working correctly until recently. Today they both display errors at startup and the laptop has a US keyboard layout! What’s worse is that the desktop machine now refuses to awaken from the gnome screensavers, requiring a remote login to kill the gnome screensaver process or a CTRL+ALT+Backspace to restart X 🙁 Neither is ideal.

I’m not sure what changed. The laptop had a few ports removed (nothing that would affect the keyboard I thought) and the desktop has seen numerous rebuilds of the ports that relate to keyboards in gnome and X – all to no avail. It’s annoying and has suddenly struck the laptop from nowhere. Anyone got any ideas what’s going on and how I fix it?

The error I get on login is

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

The information requested looks like

$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = “xorg”, “pc105”, “gb”, “”, “”
_XKB_RULES_NAMES(STRING) = “xorg”, “pc105”, “gb”, “”, “”


$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
layouts = [gb,us_intl]
model =
overrideSettings = false
options = [grp grp:alts_toggle]