How can I restrict the mouse cursor to stay on the primary screen?
In my setup I use a TV as screen, and I also connect my AVR directly from the PC because the TV and the AVR refuse to cooperate. The AVR tells the PC that it is a screen, and therefore the PC sees two screens and fuse them to one display. When I happen to push the mouse cursor to the AVR part of the display, the AVR “screen” becomes the active one, and Krunner and programs open there, invisible to me. That causes confusion, confusion leads to suffering, and suffering leads to the dark side …
I cannot disable the AVR “screen” in the system settings, because then the PC will not send the sound signal to the AVR.
I would like to restrict the mouse cursor to stay on the primary screen. What should I do to make that happen?
Platform: x86_64-Linux-qt6
OS version: Manjaro Linux 24.0.3
KDE Frameworks 6.3.0
Widgetset library: Qt 6.7.1
$ inxi -G
Graphics:
Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
driver: amdgpu v: kernel
Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.0
compositor: kwin_wayland driver: X: loaded: modesetting dri: radeonsi
gpu: amdgpu resolution: 1: 320x240 2: 1920x1080
API: EGL v: 1.5 drivers: radeonsi,swrast
platforms: wayland,x11,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.1-manjaro1.1
renderer: AMD Radeon RX 590 Series (radeonsi polaris10 LLVM 17.0.6 DRM 3.57
6.9.5-1-MANJARO)
API: Vulkan v: 1.3.279 drivers: radv surfaces: xcb,xlib,wayland