

KDE Connect is great, but the simplest solution would be to just pair your phone and laptop via Bluetooth. Your phone will just treat your PC as a Bluetooth headset.
Not 100% sure with Ubuntu, but I do this on EndeavourOS and it just worked without any tinkering.
I don’t use the Xbox app, but more client support is always good!