Announcement

Collapse
No announcement yet.

Multi-Monitor-Switcheroo (Triple to Dual and Back) and Screen Placement

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Multi-Monitor-Switcheroo (Triple to Dual and Back) and Screen Placement

    Good morning,

    A rough week ago i started my latest attempt to switch from Windows to Linux and got most of my needs covered

    But the Monitorswitching is still a persisting issue.

    System Info
    kOperating System: Kubuntu 25.04
    KDE Plasma Version: 6.3.4
    KDE Frameworks Version: 6.12.0
    Qt Version: 6.8.3
    Kernel Version: 6.14.0-29-generic (64-bit)
    Graphics Platform: Wayland
    Processors: 12 × 13th Gen Intel® Core™ i5-1335U
    Memory: 16.5 GB of RAM
    Graphics Processor: Intel® Iris® Xe Graphics
    Manufacturer: HP
    Product Name: HP Envy x360 2-in-1 Laptop 15-fe0xxx
    System Version: Type1ProductConfigId

    ​inxi -F
    System:
    Host: MobileCougar Kernel: 6.14.0-29-generic arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 6.3.4 Distro: Kubuntu 25.04 (Plucky Puffin)
    Machine:
    Type: Convertible System: HP product: HP Envy x360 2-in-1 Laptop 15-fe0xxx
    v: Type1ProductConfigId serial: <superuser required>
    Mobo: HP model: 8BE0 v: 69.40 serial: <superuser required> UEFI: Insyde
    v: F.10 date: 03/07/2025
    Battery:
    ID-1: BAT1 charge: 51.8 Wh (100.0%) condition: 51.8/55.7 Wh (93.0%)
    CPU:
    Info: 10-core (2-mt/8-st) model: 13th Gen Intel Core i5-1335U bits: 64
    type: MST AMCP cache:L2: 6.5 MiB
    Speed (MHz):avg: 601 min/max: 400/4600:3400 cores:1: 601 2: 601 3: 601
    4: 601 5: 601 6: 601 7: 601 8: 601 9: 601 10: 601 11: 601 12: 601
    Graphics:
    Device-1: Intel Raptor Lake-P [Iris Xe Graphics] driver: i915 v: kernel
    Device-2: Quanta HP Wide Vision 5MP Camera
    driver: hid-sensor-hub,usbhid,uvcvideo type: USB
    Display: wayland server: X.org v: 1.21.1.16 with: Xwayland v: 24.1.6
    compositor: kwin_wayland driver:X:loaded: modesetting unloaded: fbdev,vesa
    dri: iris gpu: i915 resolution:1: 2560x1440~144Hz 2: 2560x1440~144Hz
    3: 2560x1440~120Hz 4: 1920x1080
    API: EGL v: 1.5 drivers: iris,swrast
    platforms: gbm,wayland,x11,surfaceless,device
    API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa
    v: 25.0.7-0ubuntu0.25.04.2 renderer: Mesa Intel Iris Xe Graphics (RPL-U)
    API: Vulkan v: 1.4.304 drivers: N/A surfaces: xcb,xlib,wayland
    Info:Tools:api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info,wlr-randr x11: xdriinfo,
    xdpyinfo, xprop, xrandr
    Audio:
    Device-1: Intel Raptor Lake-P/U/H cAVS driver: sof-audio-pci-intel-tgl
    API: ALSA v: k6.14.0-29-generic status: kernel-api
    Server-1: PipeWire v: 1.2.7 status: active
    Network:
    Device-1: Intel Raptor Lake PCH CNVi WiFi driver: iwlwifi
    IF: wlo1 state: down mac: ac:19:8e:e4:1b:cd
    Device-2: Intel Ethernet I225-LMvP driver: igc
    IF: enp85s0 state: up speed: 2500 Mbps duplex: full mac: 84:3a:5b:f7:b4:cd
    Bluetooth:
    Device-1: Intel AX211 Bluetooth driver: btusb type: USB
    Report: hciconfig ID: hci0 state: up address: AC:19:8E:E4:1B1 bt-v: 5.3
    Drives:
    Local Storage:total: 1.86 TiB used: 411.84 GiB (21.6%)
    ID-1: /dev/nvme0n1 vendor: Lexar model: SSD NM790 2TB size: 1.86 TiB
    Partition:
    ID-1: / size: 1 TiB used: 47.92 GiB (4.7%) fs: ext4 dev: /dev/nvme0n1p5
    ID-2: /boot/efi size: 96 MiB used: 38.6 MiB (40.2%) fs: vfat
    dev: /dev/nvme0n1p1
    Swap:
    ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) file: /swapfile
    Sensors:
    Src: /sys System Temperatures:cpu: 37.0 C mobo: N/A
    Fan Speeds (rpm): N/A
    Info:
    Memory:total: 16 GiB note: est. available: 15.34 GiB used: 5.92 GiB (38.6%)
    Processes: 324 Uptime: 48m Shell: Bash inxi: 3.3.37​​
    The middle Monitor​ https://ibb.co/ZRx7v5bB is also used by my Gaming-Computer and under Windows i used the multimonitorswitcher to deactivate that Display on my notebook whenever i started the other computer up. Worked fine.

    Now under Linux there is unfortunaly no such tool (or at least i haven found one) so i resorted to write two scripts (after an afull amount of google) that allow me to either deactivate or activate the third screen. And then made thse two scripts executable with chmod -x and assigned them hotkey. All could be fine...

    But alas Wayland isnt overly compliant. When I activate the Dual Monitor setup it leaves a gap between those two monitors which doiesnt allow my mouse to hop from one screen to the other and basically makes my seupt unworkable. See screenshot #2: https://ibb.co/KcKgCh1C
    Code:
    #!/bin/bash
    # MSI links
    kscreen-doctor output.DP-7.enable
    
    # LG Mitte, Primärmonitor
    kscreen-doctor output.DP-6.enable \
    output.DP-6.primary
    
    # HP rechts
    kscreen-doctor output.DP-5.enable
    
    notify-send "Triple-Monitor aktiv (MSI + LG + HP)"

    Code:
    #!/bin/bash
    
    # MSI links, Primärmonitor
    kscreen-doctor output.DP-7.enable \
    output.DP-7.primary
    
    # HP rechts
    kscreen-doctor output.DP-5.enable
    
    # LG (DP-6)
    kscreen-doctor output.DP-6.disable \
    
    notify-send "Dual-Monitor aktiv (MSI + HP)"
    Any commands i found to enforce a certain position for my screens failed by being utterly ignored. With some googling i also found that a tool named xrandr is supposed to provide what i need but it doenst work under wayland, and the wayland alternative to it wlr-randr doesnt like Plasma:
    Code:
    wlr-randr
    compositor doesn't support wlr-output-management-unstable-v1


    So, is anyone here who can point me in the right direction? I eithern eed to set a fixed monitor position relative to the primary OR allow my mouse to "jump" over the void.

    Or is what i want currently unachievable with wayland and plasma and i need to switch something there (i also have the issue that the vast majority of global themes arent installable, plasma6+wayland doesnt seem to be that refined yet it seems)


    Edit: Forgot to mention: Linux is installed together with Windows but the default boot option, also the monitors are connected to the notebook via a HP Thunderbolt Dock G4 (which would warrant another topic alltogether...)

    Last edited by Snowhog; Yesterday, 08:49 AM.

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X