Skip to main content

Module config

Module config 

Source
Expand description

Application configuration for rdesktop.

This module defines all configuration types used by the framework. Configuration can be loaded from rdesktop.toml or constructed programmatically.

§Agent-First Development

rdesktop supports a special dev mode designed for AI agent workflows:

  • rdesktop dev starts a local HTTP server serving the frontend
  • The app runs in the user’s browser (localhost:PORT)
  • AI agents can use Playwright/Puppeteer MCP tools to inspect and interact
  • No native window needed during development
  • Same code works in both dev (browser) and prod (native window) modes

Structs§

AppConfig
Configuration for the entire rdesktop application.
BundleConfig
Bundle configuration for packaging the app.
CommandConfig
Configuration for an IPC command handler.
DevConfig
Development server configuration.
GlobalInputConfig
Global input hook configuration.
HotkeyConfig
A global hotkey declared in configuration.
RendererConfig
Renderer configuration (deserialized from [renderer] section in TOML).
WindowConfig
Window configuration for native mode.
WindowIcon
32-bit RGBA window icon data used by native window backends.

Enums§

RendererKind
Renderer backend selection.
WindowKind
Window layer/kind for native mode.