Overview
Display management enables:- Getting current display resolution
- Setting display resolution
- Listing available resolutions
- Configuring display settings
Desktop automation requires a template with desktop support. Ensure your sandbox has desktop capabilities enabled.
Getting Display Information
Get current display resolution and settings:- Python
- JavaScript
Setting Resolution
Set display resolution:- Python
- JavaScript
Available Resolutions
List available display resolutions:- Python
- JavaScript
Common Resolutions
Common display resolutions:- 1920x1080: Full HD (1080p) - Recommended
- 1280x720: HD (720p)
- 2560x1440: 2K (1440p)
- 3840x2160: 4K (2160p)
Complete Example
Complete display management workflow:- Python
- JavaScript
Resolution Best Practices
- Before VNC: Set resolution before starting VNC for best results
- Standard sizes: Use common resolutions (1920x1080, 1280x720) for compatibility
- Testing: Test different resolutions for your use case
Related
- VNC Server - Remote desktop access
- CLI Reference - Command-line interface for HopX
- Window Management - Manage windows
- SDK: sandbox.desktop.get_display() - Python SDK method
Next Steps
- Learn about VNC Server for remote desktop access
- Explore Window Management to manage windows
- Review Screenshots for visual verification

