Dual-screen Scrcpy launcher for the AYN Thor handheld.
Two displays. One window. Full control on Linux.
A complete toolkit for the AYN Thor power user. Every feature is built specifically for Linux.
Simultaneously mirrors both Display 0 and Display 4 of the AYN Thor handheld — fully independent, fully live.
Reparents both scrcpy windows into a single container using python-xlib. One seamless window, two displays.
Runs on Wayland as independent floating windows. Docking requires X11, but everything else works seamlessly.
Built-in wireless connection overlay — Android 11+ pairing code flow, Quick Connect, and TCP/IP legacy mode. No extra windows.
Automatically discovers ADB-enabled Android devices on your local subnet. No manual IP hunting required.
Save and restore named screen positions and scale settings. Switch between streaming, gaming, and recording setups instantly.
Captures both docked displays into a single composite image. Perfect for sharing your AYN Thor gameplay or UI.
Adjust scrcpy output resolution in real time via the UI slider. Balance quality and performance on the fly.
Flip which display appears on top vs. bottom with a single button. Persisted between sessions.
Top display runs at 120 FPS, bottom at 60 FPS. Wireless mode auto-optimises both for network performance.
Missing adb or scrcpy? DualCPY installs them automatically via pacman or apt on first launch.
Automatically detects WiFi connections and reduces FPS + applies optimised settings to prevent stuttering and dropped frames.
Connect via USB with USB Debugging enabled, or use the built-in wireless ADB overlay to pair over WiFi.
DualCPY starts two scrcpy processes — one per display — and places the control panel on the right of your screen.
On X11, dock both windows into a single container. Save your layout as a preset. Screenshot or stream at will.
# Arch Linux / Manjaro / CachyOS
sudo pacman -S android-tools scrcpy python-pygame python-xlib
git clone https://github.com/DrSkyfaR/ThorCPY-Linux.git
cd ThorCPYLinux
pip install -r requirements.txt
python3 main.py
# Debian / Ubuntu
sudo apt install adb scrcpy python3-dev python3-xlib python3-pygame
git clone https://github.com/DrSkyfaR/ThorCPY-Linux.git
cd ThorCPYLinux
pip install -r requirements.txt
python3 main.py
X11 (docking) or Wayland (floating)
AYN Thor with USB Debugging enabled
Version 3.8 – 3.13
scrcpy · adb · python-pygame · python-xlib
X11DockManager using python-xlib reparentingStatelessDockManager as no-op fallback for Wayland sessionspkexec (pacman and apt-get)--window-borderless flag now only applied on Windows