Menu

mod_key

Alien-Tec

Was ist die Mod-Taste?

Die Mod-Taste (kurz für Modifier-Taste) ist die Haupt-Steuerungstaste in niri. Sie wird genutzt, um fast alle Tastaturkurzbefehle (Shortcuts) für die Fensterverwaltung auszuführen.

Unter GNUSlashLinux ist die Mod-Taste standardmäßig wie folgt belegt:

  • Windows-Taste / Super-Taste (auf PC-Tastaturen)
  • Command-Taste / Apfel-Taste / ⌘ (auf Apple-Tastaturen)

Konfiguration

Die Einstellungen und Shortcuts werden in der Datei ~/.config/niri/config.kdl bzw. ~/.config/niri/keybinds.kdl festgelegt. Dort kannst du die Mod-Taste bei Bedarf auch auf die Alt-Taste umstellen:

binds {
    // Standardmäßig ist Mod die Super-Taste (Mod4)
    // Du kannst es hier auf "Alt" ändern, wenn du möchtest
    Mod="Mod4" 
}

What is the Mod Key?

The Mod key (short for modifier key) is the primary control key in niri. It is used to execute almost all keyboard shortcuts for window management.

Under GNUSlashLinux, the Mod key is mapped by default to:

  • Windows key / Super key (on PC keyboards)
  • Command key / Apple key / ⌘ (on Apple keyboards)

Configuration

The settings and shortcuts are defined in the file ~/.config/niri/config.kdl or ~/.config/niri/keybinds.kdl. You can change the Mod key to the Alt key there if needed:

binds {
    // By default, Mod is the Super key (Mod4)
    // You can change it to "Alt" here if you prefer
    Mod="Mod4" 
}