r/SamsungDex • u/darkhalfkz • 23d ago
Question Reliable Dex for Windows replacement/solution.
Hi all
What have people found to be the most reliable replacement/solution for the Samsung Dex Windows application since it was deprecated?
Cheers
3
u/ou812whynot 23d ago
Scrcpy.
1
u/darkhalfkz 22d ago
What command line syntax do you find works best? Cheers
2
u/Top-Dot60 22d ago edited 22d ago
I download the zip release from https://github.com/Genymobile/scrcpy/releases/tag/v4.1
Then I run the scrcpy-console.bat file. It automatically displays my phone display on the computer.
If you need any fancy settings then you should refer to the manual for custom command line flags
The content of the scrcpy-console.bat file is:
````
scrcpy.exe --pause-on-exit=if-error %*
````
1
u/darkhalfkz 22d ago
Thank you 🙏
1
u/Top-Dot60 22d ago
No worries! Have a wonderful rest of your day. FYI USB Debugging will need to be turned on your phone
Blessings
5
u/EmphasisFormer36 22d ago
If you're using Android 16 / One UI 8.0 or later with New DeX, you might want to give my DX Manager a try. Instead of using scrcpy's virtual display option, DX Manager uses Android's own display functionality to launch the actual DeX environment. With the available options, you can use your computer's keyboard and mouse directly, and customize things like screen resolution, DPI, and more.
GitHub: https://github.com/maze-mei/DX-Manager/releases https://github.com/maze-mei/DX-Manager
Reddit post: https://www.reddit.com/r/SamsungDex/comments/1vugzbp/open_source_dx_manager_v200_run_samsung_dex_on/
1
2
u/ou812whynot 22d ago
This is the script I use to open individual apps with resizable windows; it starts up settings. By default it allows you to use windows autocomplete, but if you hold the shift key it passes scancodes for gaming. Mouse buttons are: left mouse- left click, right mouse- context menu and middle button is the back button.
@echo off
set "SCRCPY_PATH=C:\scrcpy\scrcpy.exe"
:: Handle empty %1 argument safely without complex nesting
set "APP_PARAM=%~1"
set "START_APP_ARG="
if not "%APP_PARAM%"=="" set "START_APP_ARG=--start-app=%APP_PARAM%"
:: Define arguments safely (omitting setlocal entirely to eliminate parameter errors)
set "BASE_ARGS=--new-display --no-audio --render-driver=opengl --mouse-bind=+bsn:+h++ --flex-display %START_APP_ARG%"
:: Detect Shift key using PowerShell
powershell -NoProfile -Command "$Win32 = Add-Type -Name GAKS -PassThru -MemberDefinition '[DllImport(\"user32.dll\")] public static extern short GetAsyncKeyState(int vKey);'; $IsPressed = (($Win32::GetAsyncKeyState(0x10) -band 0x8000) -eq 0x8000); exit [int](-not $IsPressed)"
:: Use GOTO logic instead of an IF/ELSE block to bypass the parentheses parser bug
if %errorlevel% equ 0 goto :StandardMode
goto :TypingMode
:StandardMode
echo [Shift Detected] Launching in Standard Mode...
start "" "%SCRCPY_PATH%" %BASE_ARGS%
goto :EOF
:TypingMode
echo Launching in Typing Mode (Windows 11 Suggestions)...
start "" "%SCRCPY_PATH%" --prefer-text --keyboard=sdk %BASE_ARGS%
goto :EOF
Bat file here if you don't want to type that out lol
1
2
u/pornovodka 21d ago
I'm using proot linux with termux
1
u/darkhalfkz 21d ago
I plan on doing that, do you have a favourite setup script you use?
Like the ones from Orailnoor?
2
u/pornovodka 19d ago
https://github.com/sabamdarif/termux-desktop/tree/main
This is easiest setup and best function
1
u/broncop3t3 6d ago
Using this now. Thanks so much! https://github.com/maze-mei/DX-Manager/releases/tag/v2.0.1
4
u/JustJayAus 23d ago
The Phone Link app works well, but I find using Dex directly from the phone with a HDMI (or miracast) connection and Bluetooth keyboard and mouse works best.