Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Getting Started

This guide walks you through your first session with Mosaico.

1. Generate Configuration Files

Create the default configuration files in ~/.config/mosaico/:

mosaico init

This generates the following files:

FilePurpose
config.tomlLayout, border, theme, and logging settings
keybindings.tomlKeyboard shortcut mappings
rules.tomlCommunity rules (auto-updated on daemon startup)
user-rules.tomlPersonal rule overrides (never overwritten)
bar.tomlStatus bar settings

Existing files are never overwritten, so it is safe to run init again.

2. Start the Window Manager

mosaico start

Mosaico launches a background daemon that immediately tiles all visible windows on your desktop. You will see a startup banner with your config directory, the daemon PID, and a helpful tip.

3. Navigate with Keyboard Shortcuts

The default keybindings use vim-style motions:

ShortcutAction
Alt + HFocus the window to the left
Alt + JFocus the window below
Alt + KFocus the window above
Alt + LFocus the window to the right
Alt + Shift + HMove window left
Alt + Shift + JMove window down
Alt + Shift + KMove window up
Alt + Shift + LMove window right
Alt + Shift + RRe-apply the tiling layout
Alt + TToggle monocle (full-screen) mode
Alt + QClose the focused window
Alt + 1-8Switch to workspace 1-8
Alt + Shift + 1-8Send focused window to workspace 1-8

4. Check the Status

mosaico status

Reports whether the daemon is running and its PID.

5. Run the Doctor

mosaico doctor

Performs a health check on your configuration files, daemon status, and monitor setup. Any issues are reported with colored status tags.

6. Stop the Window Manager

mosaico stop

All windows are restored to their original state before the daemon exits.

Next Steps