Another question that I unfortunately had to answer myself several times because I am so forgetful: How do I connect my Dell laptop XPS 129240 (WIN11), an Ubuntu machine (24.04), and my Dell curved monitor S3423DWC in a way, that I can use both machines with the same keyboard and monitor via the KVM switch integrated in the Dell monitor?
[ en | de ]
Solution
- Preparing the WIN11 computer (Dell laptop):
- Connect the keyboard to the Dell monitor via USB‑2/Bluetooth.
- Connect the Dell laptop to the Dell monitor via USB‑C cable and start it (WIN11).
- Download the setup/installation file for the Dell Display Manager (
ddmsetup.exe
) from https://www.dell.com/support/home/de-de/drivers/driversdetails?driverid=g0v75 (version 2.3) and run it as administrator (and save a link in the menu during installation).
- Preparing the Ubuntu computer:
- Connect the Ubuntu computer to the Dell monitor using a USB‑2 / HDMI cable.
- Start the Ubuntu machine.
sudo apt-get install ddcutil ddcui
- Start ddui, select
View/Capabilities
and select input sourceVCP/Feature 0x60
.- Verify 0x1b: Unrecognized feature = USB‑C port for the Dell laptop with WIN
- Verify 0x11: HDMI 1 = HDMI port of the Ubuntu computer
- Check Dell’s own manual
- Generate the following Bash script, save it as
~/bin/2dell.sh
and make it executable.
#!/bin/bash
sudo ddcutil setvcp 60 0x1b
- Switch from WIN11 to UBUNTU-24.04:
- On the Dell-Laptop (WIN11), start
ddm
, click Burger Menu/KVM-Rubrik - Define your own Hotkey and use it
- Otherwise start the switch graphically.
- On the Dell-Laptop (WIN11), start
- Switch from UBUNTU-24.04 to WIN11:
> ~/bin/2dell.sh