I'm having the same problem (MacBook with a Portuguese keyboard layout):
$ xprop -root | grep XKB _XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc105", "pt", "", "" _XKB_RULES_NAMES(STRING) = "xorg", "pc105", "pt", "", ""
$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd layouts = [pt mac,pt] model = macbook79 options = [grp grp:alts_toggle] overrideSettings = true
/jpo
I'm having the same problem (MacBook with a Portuguese keyboard layout):
$ xprop -root | grep XKB NAMES_BACKUP( STRING) = "xorg", "pc105", "pt", "", "" NAMES(STRING) = "xorg", "pc105", "pt", "", ""
_XKB_RULES_
_XKB_RULES_
$ gconftool-2 -R /desktop/ gnome/periphera ls/keyboard/ kbd
layouts = [pt mac,pt]
model = macbook79
options = [grp grp:alts_toggle]
overrideSettings = true
/jpo