/usr/share/X11/xkb/symbols/macintosh_vndr
Edit: /usr/share/X11/xkb/symbols/macintosh_vndr/pt (2585B)
// mac version from Ricardo Cabral
partial default alphanumeric_keys
xkb_symbols "basic" {
// Describes the differences between a very simple en_US
// keyboard and a very simple Portuguese keyboard.
include "latin"
name[Group1]= "Portugal - Mac";
key { [ less, greater, bar, brokenbar ] };
key { [ 2, quotedbl, at, oneeighth ] };
key { [ 3, numbersign, sterling, sterling ] };
key { [ 4, dollar, section, dollar ] };
key { [ 6, ampersand ] };
key { [ 7, slash ] };
key { [ 8, parenleft, bracketleft, braceleft ] };
key { [ 9, parenright, bracketright, braceright ] };
key { [ 0, equal ] };
key { [ apostrophe, question ] };
key { [ plus, asterisk, dead_diaeresis ] };
key { [ comma, semicolon ] };
key { [ period, colon ] };
key { [ minus, underscore ] };
key { [ ccedilla, Ccedilla ] };
key { [ dead_tilde, dead_circumflex ] };
key { [ backslash, bar ] };
key { [ masculine, ordfeminine ] };
key { [ dead_acute, dead_grave ] };
include "eurosign(e)"
include "level3(ralt_switch)"
};
partial alphanumeric_keys
xkb_symbols "Sundeadkeys" {
include "macintosh_vndr/pt(basic)" // for consistent naming
name[Group1]= "Portugal - Mac, Sun dead keys";
key { [ plus, asterisk, SunFA_Diaeresis, SunFA_Diaeresis ] };
key { [ SunFA_Tilde, SunFA_Circum ] };
key { [ SunFA_Acute, SunFA_Grave ] };
};
partial alphanumeric_keys
xkb_symbols "sundeadkeys" {
include "macintosh_vndr/pt(Sundeadkeys)" // for consistent naming
};
partial alphanumeric_keys
xkb_symbols "nodeadkeys" {
include "macintosh_vndr/pt(basic)" // for consistent naming
name[Group1]= "Portugal - Mac, no dead keys";
key { [ plus, asterisk, quotedbl, quotedbl ] };
key { [ asciitilde, asciicircum ] };
key { [ acute, grave ] };
};