Virtual Desktop alternative for Linux/Wayland. Mirrors your desktop to a SteamVR overlay with controller-based mouse input, scrolling, and grab-to-move/pinch-to-resize interaction.
- Screen capture via XDG Desktop Portal + PipeWire (Wayland native)
- 60fps desktop mirroring to SteamVR overlay
- Controller interaction:
- Trigger: Left click
- Thumbstick click: Right click
- Thumbstick up/down: Scroll (speed follows tilt amount)
- Grip (single): Drag overlay (follows controller rotation)
- Grip (both): Pinch to resize
- B button (right controller): Toggle overlay visibility
- SteamVR
- Python 3.10+
- Wayland compositor with XDG Desktop Portal support
pip install openvr numpy PyOpenGL glfw pynput pycairo PyGObject
pacman -S python-gobject gst-plugins-base gst-plugin-pipewire
python main.py
A screen picker dialog will appear. Select the screen/window to capture, then put on your headset.
Press Ctrl+C to exit.
main.py- Launcher (runs capture and display as separate processes)test_wayland_capture.py- Wayland screen capture via Portal/PipeWirevr_display.py- SteamVR overlay with controller interaction