Ultramarine Niri
Niri Fundamentals
Niri is different from a traditional desktop environment like Plasma or GNOME. Imagine it as an endless grid of rows and columns, where instead of windows overlapping each other, they tile side by side. You can slide windows along rows, or move them up and down into the columns of adjacent workspaces.
Almost everything in Niri is done using keyboard shortcuts or trackpad gestures, most use the Super key (aka Windows or ⌘ Command key).
Noctalia Shell
Niri on its own only manages the behavior of windows. Everything else (bottom bar/panel, app launcher, notifications, lock screen, etc.) can be provided by many different applications.
Ultramarine Niri comes preconfigured with Noctalia, a desktop shell that bundles all of the aforementioned features together. We chose Noctalia because it provides a user-friendly desktop experience and lightweight memory usage.
Keybinds
A list of default shortcuts, Super is the Windows / Command key.
Applications
| Shortcut | Action |
|---|---|
| Super + T | Open terminal (Alacritty) |
| Super + B | Open web browser (Firefox) |
| Super + E | Open file manager (Nautilus) |
| Super + Q | Close focused window |
Noctalia
| Shortcut | Action |
|---|---|
| Super + Space | Open app launcher |
| Super + ; | Open control center |
| Super + Shift + , | Open Noctalia settings |
| Alt + Tab | Switch windows |
| Super + / | Show important hotkeys |
Moving Around
| Shortcut | Action |
|---|---|
| Super + ← | Focus column left |
| Super + → | Focus column right |
| Super + ↑ | Focus window above |
| Super + ↓ | Focus window below |
| Super + Home | Focus first column |
| Super + End | Focus last column |
| Alt + Space | Toggle overview |
H, J, K, and L work in place of the arrow keys in every shortcut on this page that uses them.
Moving Windows
| Shortcut | Action |
|---|---|
| Super + Ctrl + ← | Move column left |
| Super + Ctrl + → | Move column right |
| Super + Ctrl + ↑ | Move window up a column |
| Super + Ctrl + ↓ | Move window down a column |
| Super + Ctrl + Home | Move column to far left |
| Super + Ctrl + End | Move column to far right |
| Super + [ | Merge window into left column, or split it out |
| Super + ] | Merge window into right column, or split it out |
| Super + , | Pull next window into this column |
| Super + . | Push bottom window out of this column |
| Super + W | Toggle column tabs |
| Super + V | Toggle floating for window |
| Super + Shift + V | Switch focus between floating and tiled windows |
Window Size
| Shortcut | Action |
|---|---|
| Super + R | Cycle preset column widths |
| Super + Shift + R | Cycle preset column widths backwards |
| Super + Ctrl + Shift + R | Cycle preset window heights |
| Super + Ctrl + R | Reset window height |
| Super + - | Make column 10% narrower |
| Super + = | Make column 10% wider |
| Super + Shift + - | Make window 10% shorter |
| Super + Shift + = | Make window 10% taller |
| Super + F | Maximize column |
| Super + M | Maximize window to screen edges |
| Super + Shift + F | Make window fullscreen |
| Super + Ctrl + F | Expand column to fill free space |
| Super + C | Center column |
| Super + Ctrl + C | Center all visible columns |
Workspaces
| Shortcut | Action |
|---|---|
| Super + 1–9 | Go to workspace 1–9 |
| Super + Ctrl + 1–9 | Move column to workspace 1–9 |
| Super + PageUp | Go to workspace above |
| Super + PageDown | Go to workspace below |
| Super + Ctrl + PageUp | Move column to workspace above |
| Super + Ctrl + PageDown | Move column to workspace below |
| Super + Shift + PageUp | Move workspace up |
| Super + Shift + PageDown | Move workspace down |
| Super + Scroll Wheel | Switch workspaces |
U and I work in place of PageDown and PageUp.
Multiple Monitors
| Shortcut | Action |
|---|---|
| Super + Shift + Arrow | Focus monitor in that direction |
| Super + Ctrl + Shift + Arrow | Move column to that monitor |
| Super + Shift + P | Turn off monitors |
Screenshots
| Shortcut | Action |
|---|---|
| Print or Super + S | Screenshot region |
| Super + Print or Super + Shift + S | Screenshot whole screen |
| Shift + Print | Screenshot window |
No Print key? You can screenshot a region with Alt + \, the screen with Super + Alt + \, or a window with Shift + Alt + \.
Sound, Media, and Brightness
| Shortcut | Action |
|---|---|
| Super + Ctrl + = | Volume up |
| Super + Ctrl + - | Volume down |
| Super + Ctrl + M | Mute audio |
| Super + Alt + M | Mute microphone |
| Super + Alt + = | Brightness up |
| Super + Alt + - | Brightness down |
Session
| Shortcut | Action |
|---|---|
| Super + Alt + L | Lock screen |
| Super + Shift + E or Ctrl + Alt + Delete | Open session menu (log out, restart, shut down) |
| Super + Escape | Toggle sending shortcuts to focused window (useful for VMs) |
| Super + Alt + S | Toggle screen reader (Orca) |
Gestures
Trackpad
| Gesture | Action |
|---|---|
| Three-finger swipe left or right | Scroll through columns |
| Three-finger swipe up or down | Scroll through workspaces |
| Four-finger swipe up or down | Toggle overview |
Mouse
| Gesture | Action |
|---|---|
| Move cursor into top-left corner | Toggle overview |
| Super + Left mouse button and drag | Move window |
| Right mouse button while moving a window | Toggle dropping it as floating or tiled |
| Super + Right mouse button and drag | Resize window |
| Super + Middle mouse button and drag | Scroll columns (sideways) or switch workspaces (up and down) |
| Double-Left mouse button a window’s top or bottom edge | Reset window height |
| Double-Left mouse button a window’s left or right edge | Make column full width |
| Super + Scroll Wheel | Switch workspaces |
| Super + Shift + Scroll Wheel | Scroll through columns |
| Super + Ctrl + Scroll Wheel | Move column to workspace above or below |
Configuration
Niri
Your personal changes to the Niri config go in ~/.config/niri/config.kdl (~ represents your user’s home folder). This file starts with two include lines, one loads Ultramarine’s defaults from /etc/niri/config.kdl, and the other loads the colors Noctalia generates for your theme. Anything you add below them is applied on top, so you only need to write the settings you want to change.
For example, to make Super + T open Kitty instead of Alacritty, add this to the end of the file:
binds {
Mod+T { spawn "kitty"; }
}
Mod is the Super key. Niri applies your changes as soon as you save the file, and shows an error notification if something is wrong. Avoid editing /etc/niri/config.kdl directly, keeping your changes in their own file means you still get Ultramarine’s improved defaults when updating. See the Niri documentation for more.
Noctalia
Most of Noctalia can be configured through its settings app. Changes are saved to ~/.local/state/noctalia/settings.toml and override ~/.config/noctalia/. See the Noctalia docs for more.
You can also sync theme changes with the login screen by going to Security → Noctalia Greeter → Sync Now in Noctalia settings.
Theming Apps
Noctalia uses templates to recolor many apps to match your theme. You can toggle templates on or off, and browse many community templates for other apps, in Settings → Templates. See Noctalia’s app theming docs for more.
If an app hasn’t picked up your colors (for example Thunderbird after you first set it up), apply the templates again:
noctalia msg templates-apply
To theme Firefox, install the Pywalfox extension and restart Firefox once. We’ve already enabled the Firefox template, but decided not to install its accompanying extension by default.
Troubleshooting
Black Screen in a Virtual Machine
Niri needs a GPU with 3D acceleration and will not start with software rendering. In a virtual machine (GNOME Boxes, virt-manager, VirtualBox, etc.), enable 3D acceleration in the VM’s display settings. Without it, the screen stays black or stops at a text message about import-environment. See Niri’s notes on virtual machines.