I have to do this often enough, that I never thought to document the process
Pop!_OS 22.04 defaults to X11 - so I don’t have to worry about that there… But I recently cutover my Ryzen Thinkpad to Ubuntu 23.04 (after a brief distrohop - hoping one could address my WiFi card issues - result : none of them resolved it - so I bought a new mini PCIe card off Amazon [which I kinda hate, as I have nothing but contempt for Bezos]).
I too need to avoid Wayland, because of Synergy (Barrier is / was a fork of the old OSS branch of Synergy KVM) - I NEED Synergy, with sometimes up to 5 PCs on my desk (2 x MacBooks, 1 x Pop! desktop and 1 x Ubuntu Thinkpad, plus sometimes Pop! on a Raspberry Pi4). Fortunately, my corporate controlled MacBook still let me install and run Synergy (tried that on their corp controlled Windows 10, and no go, and when I logged a ticket for the issue, the answer ware a rather curt, and abrupt “No!” - so I didn’t use it - and ended up giving it back - I AM NOT having multiple keyboards and mouses on my desk!).
Anyway - allegedly, Synergy 3 does have Wayland on their radar, (they actually stated publically that Synergy was on their radar in TWO THOUSAND and FOURTEEN!) - but there’s no Synergy 3 for Linux on arm64 - I tried it - and went back to Synergy 1.14.6-stable (which won’t install on MacOS less than Ventura, so I was running 1.14.6-experiemental until I upgraded both my MBPs to Ventura).
I was using this combo for while :
Synergy Server on MacOS, alongside, and in tandem with, Apple’s “Universal Control” - Universal Control is quite neat, but I think some piece of crap Corporate Spyware / Big Brother / Fascist control on the corporate MBP would stop Universal Control working (had to write a shell script for MacOS to kill it and restart it!), so I moved the Server back to my Pop!_OS machine, and now use that to control all my computers - which is a shame, because UC is rather nice (when it works, it’s way more seamless than Synergy - e.g. gestures on a MacOS touchpad, work, gestures DON’T work over Synergy).
Note : I need a “permanent” solution, as BOTH my main Linux machines run LUKS [if I reboot the Thinkpad I have to use its keyboard to unlock LUKS] - so I allow them to boot straight into the desktop (I still have to enter my keyring passwords - but once the user desktop is loaded, synergy kvm started, I can drive from Synergy server machine and unlock my keyring).
It’s a shame, 'cause I’d like to use gestures on Linux… Anyway - the touchpads on both MBPs are still reachable from my desk, so I can switch workspaces easily (e.g. I run Citrix and Remote Desktop to servers full screen on MacOS - fullscreen on MacOS creates another workspace).