Finally I found the perfect match for MacBook 2nd gen UK keyboard configured for brazilian portuguese characters:
mabovo@macbook:~$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "apple_laptop", "us", "basic", "grp_led:scrol l,compose:rwin,lv3:lwin_switch,grp:alts_toggle"
_XKB_RULES_NAMES(STRING) = "xorg", "apple_laptop", "us", "basic", "grp_led:scrol l,compose:rwin,lv3:lwin_switch,grp:alts_toggle"
Finally I found the perfect match for MacBook 2nd gen UK keyboard configured for brazilian portuguese characters: NAMES_BACKUP( STRING) = "xorg", "apple_laptop", "us", "basic", "grp_led:scrol l,compose: rwin,lv3: lwin_switch, grp:alts_ toggle" NAMES(STRING) = "xorg", "apple_laptop", "us", "basic", "grp_led:scrol l,compose: rwin,lv3: lwin_switch, grp:alts_ toggle"
mabovo@macbook:~$ xprop -root | grep XKB
_XKB_RULES_
_XKB_RULES_
Section "InputDevice" macbook79) " rwin,lv3: lwin_switch, grp:alts_ toggle"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "apple_laptop"
# Option "XkbModel" "macintosh(
Option "XkbLayout" "us"
# Option "XkbLayout" "pt"
Option "XkbVariant" "basic"
# Option "XkbVariant" "apple_laptop"
# Option "XkbVariant" "mac"
Option "XkbOptions" "grp_led:scrol l,compose:
EndSection