I'm currently dual-booting Ubuntu and Windows 11. I'm investigating whether Ubuntu is a viable option at work (such that I can discard Windows, or only use it in a Virtual Environment).
So far, the only issue I've run into is convenience. I use an i-tec docking station, which connects to a keyboard, mouse, two screens, a usb DAC, and charges my laptop. On windows, when I plug it upon startup, it connects immediately, and switches the output to my usb-DAC (which I assume becomes the default since that's what I use whenever docked).
I managed to somehow emulate that process by setting the DAC as the default sound output in the startup shortcuts, and I copied my Monitor.xml configuration into the gdm folder so that it loads when starting up.
However, if I unplug my laptop to go into a meeting, and dock it again, I'm back to square one. It doesn't switch outputs to the DAC, but rather to the default of the docking station, and it does not send any signal to my screens and keyboard/mouse.
Is there a workaround to this on Ubuntu, or any other distribution? Or is that a general shortcoming that has no workaround?
Hardware:
Lenovo P14s Gen 1, AMD Ryzen 7 PRO 4750U
i-tec docking station (CADUAL4KDOCKPD)
Topping D10s DAC