A custom macOS keyboard layout combining German (QWERTZ) with Portuguese characters and accents.
- German QWERTZ base layout
- Easy access to Portuguese accents (á, ã, ç, etc.)
- Dead keys for combining accents with vowels
- Works with macOS input sources
Press the dead key first, then the letter to produce accented characters:
| Dead Key | How to Type | + a | + e | + i | + o | + u | + n |
|---|---|---|---|---|---|---|---|
| ´ (acute) | ´ |
á | é | í | ó | ú | — |
| ` (grave) | Shift + ´ |
à | è | ì | ò | ù | — |
| ^ (circumflex) | < |
â | ê | î | ô | û | — |
| ¨ (umlaut) | Option + U |
ä | ë | ï | ö | ü | — |
| ~ (tilde) | Option + N |
ã | — | — | õ | — | ñ |
Tip: Press
Spaceafter a dead key to output the accent character itself (e.g.,´+Space= ´)
| Shortcut | Character | Description |
|---|---|---|
Option + C |
ç | C-cedilla (lowercase) |
Option + Shift + C |
Ç | C-cedilla (uppercase) |
Option + Ä |
ã | A with tilde (direct) |
Option + Ö |
õ | O with tilde (direct) |
Option + E |
€ | Euro sign |
Option + Q |
@ | At sign |
Option + 2 |
² | Superscript 2 |
Option + 3 |
³ | Superscript 3 |
Option + Y |
👍🏻 | Thumbs up emoji |
Option + X |
😃 | Smiley emoji |
These are available as on the standard German keyboard:
| Key | Character |
|---|---|
Ä |
ä / Ä |
Ö |
ö / Ö |
Ü |
ü / Ü |
ß |
ß |
git clone https://github.com/danilokorber/de_pt_keyboard.git
cd de_pt_keyboard
./install.shThe script installs the keyboard layout to ~/Library/Keyboard Layouts/.
-
Copy
de_pt.bundleto one of these locations:- User only:
~/Library/Keyboard Layouts/ - All users:
/Library/Keyboard Layouts/(requires admin rights)
- User only:
-
Log out and back in (or restart your Mac)
Ukelele is a free macOS keyboard layout editor.
- Download and install Ukelele
- Open
de_pt.bundle/Contents/Resources/Alemao com portugues.keylayoutin Ukelele - Make any customizations you need
- Use File → Install → Install for Current User (or All Users)
- Log out and back in
After installation:
- Open System Settings → Keyboard → Input Sources
- Click Edit → +
- Search for "de_pt" or "Alemao com portugues"
- Add the layout
Use the menu bar input source switcher (🇩🇪/🇧🇷) or press Ctrl + Space to switch keyboards.
rm -rf ~/Library/Keyboard\ Layouts/de_pt.bundleThen log out and back in.
See LICENSE for details.