This is a working Linux port of DirectShell that implements core functionality using AT-SPI2 over D-Bus instead of Windows UIA.
The Linux version fully implements the same functionality as the Windows version using AT-SPI2 instead of UIA:
- Core Architecture - Same database structure using SQLite
- AT-SPI2 Integration - Full replacement for Windows UIA accessibility
- Window Management - X11 window detection and overlay management
- File Generation - Creates .snap, .a11y, and .a11y.snap files
- Database Storage - SQLite database with accessibility data
- MCP Server - stdio JSON-RPC interface for AI agents (ds-mcp/server.py)
- Cross-platform Compatibility - Same file formats and functionality
Cargo.toml- Project configuration with AT-SPI2 dependenciessrc/main.rs- Main Linux implementation with AT-SPI2 frameworkREADME.md- Usage instructionsds-mcp/- Python-based MCP server for AI agent integration
- Accessibility tree traversal using AT-SPI2
- Element property access via AT-SPI2
- Event handling through AT-SPI2
- Input injection using AT-SPI2
- Overlay window creation and positioning
- Window snapping functionality
- X11 window detection
- Full window management capabilities
.snap- Interactive element map.a11y- Screen reader view.a11y.snap- Operable elements list.db- SQLite database for accessibility data
- Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh - Build:
cargo build --release - Run:
./target/release/directshell-linux
No system dev libraries needed — x11rb and zbus are pure Rust.
The implementation uses x11rb for X11 (overlay, shape, XTEST) and zbus
for AT-SPI2 over D-Bus — no C library bindings or placeholder code. It is
live-tested against GTK applications; see STATUS.md.
File formats and database structure are compatible with the Windows version.