이 페이지는 아직 번역되지 않았습니다. 아래 본문은 영어입니다.
CLI and diagnostics
Home · Configuration reference · AI agents · FAQ
Everything on the command line except starting the app (--preferences, --autostart, or bare tessera) runs headlessly. It does not initialize GTK and exits after printing its output. Unknown flags, missing subcommands, and invalid mode flags fail with a usage error naming the offending token. A typo never starts the GUI by accident.
Starting Tessera
tessera [--preferences | --autostart]
| Mode | Effect |
|---|---|
tessera / tessera --preferences |
Start the controller (or activate the already-running instance) and open the Preferences window. Mutually exclusive with --autostart. |
tessera --autostart |
Start the controller in the background without opening a window. Used by login/autostart entries. Mutually exclusive with --preferences. |
Both modes share the single-instance application ID app.tesseratiling.Tessera. If a controller is already running, a second tessera --preferences activates the existing instance and presents its Preferences window.
Global flags
| Flag | Effect |
|---|---|
-h, --help (or help) |
Print localized command-line help and exit. |
-V, --version |
Print the application version and exit. Cannot be combined with other flags. |
-v, --verbose, --log |
Raise the default log filter from info to debug (unless you set RUST_LOG). |
Tessera writes logs to standard error so that standard output stays clean for --json. On macOS and Windows, it also mirrors logs to ~/Library/Logs/Tessera and %LOCALAPPDATA%\Tessera\Logs.
One-run configuration overrides
These flags apply only when starting the controller at the root (tessera / --preferences / --autostart). They have the highest precedence, overriding tessera.yml for the current run without modifying the file on disk. Subcommands reject them.
| Flag | Effect |
|---|---|
--tiling-enabled |
Enable tiling for this run. Mutually exclusive with --tiling-disabled. |
--tiling-disabled |
Disable tiling for this run. Mutually exclusive with --tiling-enabled. |
--window-margins |
Enable window margins for this run. Mutually exclusive with --no-window-margins. |
--no-window-margins |
Disable window margins for this run. Mutually exclusive with --window-margins. |
--window-max-count <N> |
Override the maximum number of tiled windows per workspace/monitor. |
--window-margin-size <N> |
Override the window margin size in pixels. |
Diagnostics
Environment and system dump (--debug-info)
tessera --debug-info [--include-apps] [--json]
Prints a summary of the environment, resolved configuration and log paths, active display/session backend, loaded UI plugins, and current settings.
--include-apps: include detected open applications and windows in the report.--json: emit machine-readable JSON on standard output.
Inspecting windows (debug windows)
tessera debug windows [--include-unmanaged] [--redact-window-titles] [--json]
Lists windows visible to the active window-manager backend along with their IDs, classes, geometry, and management state.
--include-unmanaged: include windows that Tessera does not tile (panels, dialogs, fixed-size windows, etc.) and print theUNMANAGED_REASONcolumn explaining why.--redact-window-titles: mask window titles before printing so you can share the output safely in bug reports.--json: emit machine-readable JSON.
Inspecting applications (debug apps)
tessera debug apps [--include-unmanaged] [--json]
Lists open applications and their window classes/identities (wm_class, bundle ID, process name, or AppUserModelID), which is useful when authoring Rules.
--include-unmanaged: include applications whose windows are currently unmanaged.--json: emit machine-readable JSON.
Systemd user service (service, Linux)
tessera service <verb> [--json]
Explicit, opt-in management of the tessera.service systemd user unit (systemctl --user). Normal startup never invokes systemctl.
| Verb | Effect |
|---|---|
install |
Write the user unit file (and clean up any unmodified legacy autostart copy). |
uninstall |
Remove the user unit file. |
status |
Print the current state of the user unit. |
start |
Start the user service now. |
stop |
Stop the running user service. |
enable |
Enable the user service at login. |
disable |
Disable the user service at login. |
reload |
Reload the user service configuration. |
restart |
Restart the user service. |
Pass --json before or after <verb> for machine-readable output.
GNOME Shell extension (gnome-extension, Linux)
tessera gnome-extension install [--yes]
tessera gnome-extension remove [--yes]
tessera gnome-extension status
Manages the opt-in GNOME Shell extension under $XDG_DATA_HOME/gnome-shell/extensions/. Normal startup never modifies the extension directory or GNOME settings.
install [--yes]: installs the extension files and enables the extension. Prompts for confirmation on an interactive terminal unless you pass--yes(non-interactive invocations require--yes).remove [--yes]: disables and removes the extension. Prompts unless you pass--yes.status: reports whether the extension is not installed, current, drifted (needs reinstall), or unreadable.
MCP stdio bridge (mcp, Linux and macOS)
tessera mcp
Opens no window. Connects stdin and stdout to the running controller’s local MCP Unix socket ($XDG_RUNTIME_DIR/tessera/mcp.sock on Linux, $TMPDIR/tessera/mcp.sock on macOS) so an AI client can communicate with Tessera. See AI agents for configuration, tools, and security details.
Shell completions and manual page
The build generates shell completion scripts and a manual page from the CLI definition and ships them with packages:
| Shell / Artifact | File |
|---|---|
| Bash | completions/tessera.bash |
| Zsh | completions/_tessera |
| Fish | completions/tessera.fish |
| Manual page | tessera.1 |
Environment variables
| Variable | Behavior |
|---|---|
TESSERA_LANG |
Overrides LC_ALL, LC_MESSAGES, and LANG, and outranks the language preference in tessera.yml. TESSERA_LANG=auto behaves the same as leaving it unset. An unsupported language code falls back to English with a localized warning. |
TESSERA_UI |
Forces a UI provider or look (for example adwaita, gtk, qt, or winui), outranking ui-style in tessera.yml. Tessera ignores blank values. |
RUST_LOG |
Standard tracing filter directive (for example RUST_LOG=tessera_app=debug). Always overrides -v, --verbose, --log, and the default info level. |
TESSERA_OPERATION_TRACE_DIR |
Directory where Tessera writes geometry operation latency and confirmation traces (trace-<name>.ndjson and latency-metrics.csv). |
TESSERA_OPERATION_TRACE_NAME |
Optional <name> suffix for trace-<name>.ndjson when TESSERA_OPERATION_TRACE_DIR is set. |
XDG_CONFIG_HOME |
Overrides the configuration directory on Linux and Windows (ignored on macOS). See the per-OS rules below. |
XDG_CONFIG_HOME resolution by operating system:
- Linux: uses
$XDG_CONFIG_HOME/tessera/tessera.ymlwhen set to an absolute path. Otherwise it uses~/.config/tessera/tessera.yml. - macOS: ignored (
~/Library/Application Support/Tessera/tessera.ymlis always used). - Windows: if set to an absolute path,
$XDG_CONFIG_HOME/tessera/tessera.ymlwins. Otherwise it uses~/.config/tessera/tessera.ymlif present, else%APPDATA%\Tessera\tessera.yml.