DeXtop Mode: Samsung DeX & Android Desktop Mode on Linux, macOS & Windows
DeXtop Mode is a modern, cross-platform Python GUI wrapper that launches a virtual second screen displaying your Android smartphone's desktop mode (Samsung DeX, Motorola Ready For, native Android AOSP Desktop Mode, etc.) on Linux (Ubuntu, Debian, Mint, Pop!_OS, Zorin OS), macOS (Intel & Apple Silicon M1-M4), and Windows (10/11).
It utilizes the powerful engine of scrcpy in the background to handle control and high-performance video/audio streaming.
🚀 Key Features
- Cross-Platform Support (Linux, macOS, Windows):
- 🐧 Linux: Native Debian package (
.deb), 1-linecurlscript, taskbar integration (StartupWMClass=dextop), and WirePlumber/PipeWire audio routing. - 🍏 macOS: Native Disk Image installer (
.dmg),dextop-mode.appbundle, and 1-click Homebrew dependency installer. - 🪟 Windows: Standalone 64-bit executable (
.exe) and 1-click Winget dependency installer. - 🐍 PyPI / Pip / Pipx:
pip install dextop-mode/pipx install dextop-modefor all platforms.
- 🐧 Linux: Native Debian package (
- Modern Control Center (GUI): A sleek CustomTkinter desktop interface in dark mode.
- Automated Wireless Debugging (ADB Over Wi-Fi):
- Integrated Wireless Pairing (Association) dialog with step-by-step guidance.
- Direct one-click Wi-Fi connection with smart IP & Port auto-filling.
- Display Modes & Custom DPI Scaling:
- Easily toggle between Secondary Display (DeX Mode) and Main Display Mirroring.
- Customizable desktop display density (160 DPI standard desktop, 200 DPI, 240 DPI).
- Intelligent Power Management (Anti-Veille):
- Temporarily disables the smartphone's screen timeout (
screen_off_timeout) while DeXtop Mode is running, and restores it automatically when closed. - Prevents system sleep during usage (
systemd-inhibiton Linux / continuous thread state on Windows). - Turns off the physical smartphone screen to save battery and avoid screen burn-in.
- Temporarily disables the smartphone's screen timeout (
- Automatic & Manual One UI Gesture Repair:
- Automatically refreshes and restarts the One UI Home launcher (
com.sec.android.app.launcher) upon disconnecting to prevent back gesture freezes on Samsung smartphones. - Prominent "Repair Phone Gestures (One UI)" button available on both the Connection and Settings tabs for 1-click manual repair anytime.
- Automatically refreshes and restarts the One UI Home launcher (
- Mouse & Keyboard Lock (UHID):
- Optional relative mouse capturing (UHID) for high precision control, customizable directly in the Settings tab (press
LAltorSuperto release).
- Optional relative mouse capturing (UHID) for high precision control, customizable directly in the Settings tab (press
🛠️ Prerequisites
- Compatible Smartphone:
- Samsung Galaxy S series (S8 to S26), Note series, or Z Fold.
- Motorola Edge or Razr series.
- Any smartphone running Android 11+ (for wireless debugging) or Android 15+ (for native desktop mode).
- On your Phone:
- Enable Developer Options (Settings > About Phone, tap Build Number 7 times).
- Turn on USB Debugging and Wireless Debugging in Developer Options.
- On your Computer:
- Linux: Any Debian/Ubuntu-based distribution (Ubuntu, Mint, Debian, Pop!_OS, Zorin OS, etc.).
- macOS: macOS 11+ (Intel or Apple Silicon M1/M2/M3/M4).
- Windows: Windows 10 or Windows 11 (64-bit).
📥 Installation
Choose your platform below:
🐧 Linux (Debian / Ubuntu / Mint / Pop!_OS / Zorin OS)
Option A: Debian Package (.deb) — Recommended
Download the latest .deb package from GitHub Releases and install it:
sudo apt install ./dextop-mode_1.0.25_all.deb
Option B: One-Line Terminal Installer
curl -fsSL https://raw.githubusercontent.com/super-magistro/DeXtop-mode/main/install_dex.sh | bash
🍏 macOS (Apple Silicon & Intel)
Option A: macOS Disk Image (.dmg) — Recommended
- Download
dextop-mode_macOS.dmgfrom GitHub Releases. - Double-click the
.dmgimage and open dextop-mode.app! - If
scrcpyoradbare missing, DeXtop Mode will offer a 1-click prompt to automatically install dependencies via Homebrew.
🪟 Windows (10 / 11)
Option A: Standalone Executable (.exe) — Recommended
- Download
dextop-mode_windows_x64.exefrom GitHub Releases. - Double-click
dextop-mode_windows_x64.exeto launch! - If
scrcpyoradbare missing, DeXtop Mode will offer a 1-click prompt to automatically install dependencies via Winget.
🐍 PyPI / Pip / Pipx (Universal for All OS)
pip install dextop-mode
# or via pipx
pipx install dextop-mode
💡 How to Use
- Ensure your phone and PC are on the same Wi-Fi network (or connected via USB).
- Open DeXtop Mode.
- If using Wi-Fi for the first time:
- Click Pair a New Device.
- On your phone, inside Wireless Debugging, select Pair device with pairing code.
- Enter the IP, the pairing port, and the 6-digit code shown, then click Start Pairing.
- In the main window, type the connection port shown on the phone (or plug in USB).
- Select your preferred Audio output in the Audio tab.
- Click Start DeX.
- Your phone screen will turn off, the control GUI will hide itself, and your DeX window will pop up!
- When you close the DeX window, the control GUI will reappear.
🗑️ Uninstallation
To remove DeXtop Mode and clean up configurations:
- Linux (
.deb):sudo apt remove dextop-mode
- Pip / Pipx (All OS):
dextop --uninstall pipx uninstall dextop-mode
💳 Credits
- Engine: scrcpy by Genymobile.
- Wrapper & Configurator: super-magistro.
Licensed under the MIT License. See LICENSE for details.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dextop_mode-1.0.25.tar.gz.
File metadata
- Download URL: dextop_mode-1.0.25.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9a9ae9cd9cf13e24145cd3cdd679be2f9068c4438a3618079eac463e8d6266f
|
|
| MD5 |
734611ffe6dbea74a20de288169476b7
|
|
| BLAKE2b-256 |
3be66adffe8c20e7efff00b4a3fb24eedd0996b79302a07e85c2b97119e05551
|
Provenance
The following attestation bundles were made for dextop_mode-1.0.25.tar.gz:
Publisher:
release.yml on super-magistro/DeXtop-mode
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dextop_mode-1.0.25.tar.gz -
Subject digest:
c9a9ae9cd9cf13e24145cd3cdd679be2f9068c4438a3618079eac463e8d6266f - Sigstore transparency entry: 2417808276
- Sigstore integration time:
-
Permalink:
super-magistro/DeXtop-mode@18d469713a6fec315c4215a05a66e77be8e4145e -
Branch / Tag:
refs/tags/v1.0.25 - Owner: https://github.com/super-magistro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@18d469713a6fec315c4215a05a66e77be8e4145e -
Trigger Event:
push
-
Statement type:
File details
Details for the file dextop_mode-1.0.25-py3-none-any.whl.
File metadata
- Download URL: dextop_mode-1.0.25-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9738cd1f51418fc2136a7445a4207943bd86c8ed86028746e502bb99b8e84888
|
|
| MD5 |
b168dd062c0bc385f87fbd4f58119a98
|
|
| BLAKE2b-256 |
47cf1216d0c5853012af167eb7e2a193e638b2e41e10efd043fcf2fe884ee32d
|
Provenance
The following attestation bundles were made for dextop_mode-1.0.25-py3-none-any.whl:
Publisher:
release.yml on super-magistro/DeXtop-mode
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dextop_mode-1.0.25-py3-none-any.whl -
Subject digest:
9738cd1f51418fc2136a7445a4207943bd86c8ed86028746e502bb99b8e84888 - Sigstore transparency entry: 2417808333
- Sigstore integration time:
-
Permalink:
super-magistro/DeXtop-mode@18d469713a6fec315c4215a05a66e77be8e4145e -
Branch / Tag:
refs/tags/v1.0.25 - Owner: https://github.com/super-magistro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@18d469713a6fec315c4215a05a66e77be8e4145e -
Trigger Event:
push
-
Statement type: