This configuration emulates the German keyboard's third layer functionality from Windows on Linux systems. It maps many Ctrl + Alt shortcuts to the keys that are usually accessed with AltGr + key, allowing you to type special characters like @ or €.
By default, Linux uses AltGr (Right Alt) for third-layer input. This configuration enables using Ctrl + Alt as an alternative for convenience or compatibility with workflows accustomed to the Windows layout.
Deutsche Anleitung (German Instructions)
For Wayland support and a more modern approach, please use my newer xremap-based config (xremap-german-keyboard).
This configuration is compatible with Linux systems based on:
- Arch Linux
- Debian-based distributions (e.g., Ubuntu, Linux Mint)
- Red Hat-based distributions (e.g., Fedora, CentOS)
- Other systems, such as Gentoo and OpenSUSE.
The setup relies on xbindkeys and xvkbd, which are widely available.
Follow these steps to set up xbindkeys and xvkbd and download the configuration file from the terminal.
sudo pacman -S xbindkeys xvkbdsudo apt update
sudo apt install xbindkeys xvkbdClick here for Red Hat, Gentoo and OpenSUSE
sudo dnf install epel-release
sudo dnf install xbindkeys xvkbdsudo emerge x11-misc/xbindkeys x11-misc/xvkbdsudo zypper install xbindkeys xvkbdTo automatically download the configuration file run in the terminal:
curl -o ~/.xbindkeysrc 'https://codeberg.org/marvin1099/xbindkeys-german-keyboard/raw/branch/main/.xbindkeysrc'Alternatively use the manual download
- Visit the repository:
Xbindkeys German Keyboard Configuration. - Download the
.xbindkeysrcfile. - Save it to your home directory as
~/.xbindkeysrc.
- Start
xbindkeysin the terminal to activate the configuration:xbindkeys
- Test the key bindings by trying
AltGr + Qfor@, or other third-layer symbols.
For troubleshooting or customization, you can edit the configuration file (~/.xbindkeysrc) using a text editor.
- To make this permanent, add the
xbindkeyscommand to your system's startup applications.
Diese Konfiguration emuliert die dritte Ebene der deutschen Tastaturbelegung von Windows auf Linux-Systemen. Sie ordnet viele Strg + Alt-Kombinationen den Tasten zu, die normalerweise mit AltGr + Taste erreichbar sind, sodass Sie Sonderzeichen wie @ oder € eingeben können.
Standardmäßig verwendet Linux AltGr (Rechte Alt-Taste) für die Eingabe der dritten Ebene. Diese Konfiguration ermöglicht die Nutzung von Strg + Alt als Alternative, um die Bedienung zu erleichtern oder mit Workflows, die dem Windows-Layout entsprechen, kompatibel zu sein.
Für Wayland-Unterstützung und eine modernere Lösung verwende bitte meine neuere xremap-basierte Konfiguration (xremap-german-keyboard)
Diese Konfiguration ist kompatibel mit Linux-Systemen, die auf folgenden Distributionen basieren:
- Arch Linux
- Debian-basierte Distributionen (z. B. Ubuntu, Linux Mint)
- Red Hat-basierte Distributionen (z. B. Fedora, CentOS)
- Andere Systeme, wie Gentoo und OpenSUSE.
Die Einrichtung basiert auf xbindkeys und xvkbd, die universell verfügbar sind.
Folge diesen Schritten, um xbindkeys und xvkbd einzurichten und die Konfigurationsdatei vom Terminal herunterzuladen.
sudo pacman -S xbindkeys xvkbdsudo apt update
sudo apt install xbindkeys xvkbdKlick hier für Red Hat, Gentoo und OpenSUSE
sudo dnf install epel-release
sudo dnf install xbindkeys xvkbdsudo emerge x11-misc/xbindkeys x11-misc/xvkbdsudo zypper install xbindkeys xvkbdUm die Konfigurationsdatei automatisch herunterzuladen, starte im Terminal:
curl -o ~/.xbindkeysrc 'https://codeberg.org/marvin1099/xbindkeys-german-keyboard/raw/branch/main/.xbindkeysrc'Alternativ verwende den manuellen download
- Besuchen Sie die Repository:
Xbindkeys German Keyboard Configuration. - Laden Sie die Datei
.xbindkeysrcherunter. - Speichern Sie sie im Home-Verzeichnis als
~/.xbindkeysrc.
- Starten Sie
xbindkeys, vom Terminal um die Konfiguration zu aktivieren:xbindkeys
- Testen Sie die Tastenbelegungen, z. B.
AltGr + Qfür@.
Zur Fehlersuche oder Anpassung können Sie die Konfigurationsdatei (~/.xbindkeysrc) mit einem Texteditor bearbeiten.
- Um dies dauerhaft zu machen, fügen Sie den Befehl
xbindkeyszu den Autostart-Anwendungen Ihres Systems hinzu.