Hi. I suggest you check this: Unreal Editor 5.7 UI interaction is broken on Linux for ~3 month already
Unfortunately is not fixed till today. There’s a bug report at the bottom of the thread so I hope 5.8 will bring some fixes.
Unfortunately I have no idea about your method but I hope this thread can help you.