Thanks to /u/[email protected] for mentioning KDE window rules. In KDE, we can add rules for windows so that they behave in specific ways. One rule that can be added is the position: remember rule, and it’s possible to make that rule apply to all windows by removing the match field. This way, closing and reopening windows keeps them where they were.

This is a very typical complaint about wayland that a lot of people have, something that apparently worked natively with X11 and annoyed me to no end since I had to position all the windows every day when logging into my desktop. No more! I hope this helps :)

https://imgur.com/a/zrvbRPI

  • Orac@feddit.nl
    link
    fedilink
    arrow-up
    1
    ·
    7 months ago

    This does not remember the position of each individual window, though. i.e. all programs will (still) open on the same position.

    • ReversalHatchery@beehaw.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 months ago

      Usually the program manages this for itself, among a few other things, so normally this is not needed, but it seems wayland does not allow them to set their own location.

      • boredsquirrel@slrpnk.net
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        7 months ago

        Yes and that is known. Programs are not able to see the screen, as this can be fingerprintable or other issues. So they cannot place themselves.

        So this is the obvious solution!