And preferably run it as single.sh and dual.sh when I need whichever. It’s a Wayland session.

(Otherwise I’d have to manually arrange them every time I plug/unplug one of them.)

Edit: I also would like to do this without unplugging. Currently, when I disable/enable a monitor, its geometry gets reset.

Edit 2: Unplugging/plugging works, no idea why it didn’t work before. However I still would like to do this via scripts because setting monitor setup from super+P also resets the geometry.

  • vpklotar@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 month ago

    Hmm, this all seems to be a work around for another issue. My computer remember the position and settings of all men screens when replugging them. It seems your system doesn’t remember the display configuration.

    Perhaps reach out with an issue to KDE on their issue tracker?

    • muhyb@programming.devOP
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      Correction: Unplugging/plugging works (don’t know why it didn’t work previously). However, enable/disable doesn’t remember. When I press super+P and make the changes there it also doesn’t remember when switch back to dual monitor. Is this also an issue?