Got Samsung DeX on your device? What if you could stream directly on your Linux PC and use your mouse and keyboard to control it? DexOnLinux makes this possible in the easiest way possible.
DexOnLinux is a tool that allows you to stream Samsung DeX from your Samsung device to your Linux PC, controlling it with your mouse and keyboard, and interacting with it as if it were a native application on your desktop.
DexOnLinux uses several different components to achieve this such as:
- miraclecast: A tool for Wi-Fi Direct connections, allowing your Linux PC to connect to your Samsung device.
- scrcpy: A display and control application for Android devices, enabling screen mirroring and input control.
- pydbus: A Python library for D-Bus, which makes it easier to read data or catch events from Miraclecast services.
This project requires python 3.8 or higher, pip, and git to be installed on your system and root privileges to install some dependencies.
The installation process is pretty easy, just follow the steps below. At the moment everything has been tested only on Ubuntu 24.04, but it should work on other distributions as well.
git clone https://github.com/gabdevele/DexOnLinux.gitcd DexOnLinux Now you have two options, either install it using the provided script or manually install the dependencies and run it directly from the source code.
Installation script only works on Ubuntu 24.04.
- Make the scripts executable:
chmod +x ./scripts/install.sh chmod +x ./scripts/run.sh
- Run the installation script:
sudo ./scripts/install.sh
Since the manual installation relies on external dependencies, I'll link the official installation guides for each of them.
After installing these dependencies you will need to install python dependencies:
pip install -r requirements.txtKeep in mind that your network connection will be temporarily disabled while this tool is running.
./scripts/run.shand that's it!
