I’m using EndeavourOS with KDE.

The display is correctly oriented when logged in but it doesn’t rotate correctly when I’m logged out.

EDIT: corrected the post. This happens when logged out, locking the screen has it displayed correctly.

    • AnIndefiniteArticle@sh.itjust.works
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      5 months ago

      This is why X11 is better. I’d rather have settings like this in a text file that I can copy over to my next machine than have to navigate a UI that will change on a different DE or the next upgrade.

      Backwards compatibility, portability, and text-based interfaces are a virtue.

      X config files aren’t “hacky scripts”, they are fundamentally more powerful, customizable, usable, and future-proof. Xrandr is a powerful and capable interface with applications across the system.

      When Wayland adopts these kinds of powerful interfaces with decades of refinement I’ll switch to it. I don’t want to keep track of whether my DE uses wlroots or gnome or plasma and their independent/redundant/feature-lacking randr alternatives. Randrs should be more fundamental to the display operation than the DE. Wayland is fundamentally hacky and broken.

      Edit: thank you all for the discussion. I’d like to clarify a point. I don’t just want a text file with configuration settings that implement features that I need to beg/bother the devs for. They are likely to have better things to do and it might not be a priority for them. I want access to powerful tools via the configuration files that I can make do pretty much anything if I read the documentation. Xrandr is such a tool. I don’t want setting for a feature that has to be baked into the DE which I have to beg to have implemented and which will be implemented differently across different DEs. I want flexible, dynamic, modular tools.

      • narc0tic_bird@lemm.ee
        link
        fedilink
        arrow-up
        15
        ·
        5 months ago

        Yeah that difference in configuration definitely makes it so much better, it completely outweighs the fact that Wayland does proper multi-monitor VRR, fractional scaling, HDR and much more.

        • uhN0id@programming.dev
          link
          fedilink
          English
          arrow-up
          4
          ·
          5 months ago

          Not OP comment but I had no idea Wayland supported all of that. Thanks for sharing! I really need to leave my Linux bubble more often.

          • doona@aussie.zone
            link
            fedilink
            arrow-up
            3
            ·
            5 months ago

            And now you know why it’s so funny to read people on the internet exclaiming that X11 is so much better despite its lack of development…

        • AnIndefiniteArticle@sh.itjust.works
          link
          fedilink
          arrow-up
          3
          ·
          5 months ago

          I’ve never needed any of those things.

          I do need to change monitor configurations.

          I once had an old TV that I used as a monitor that had 1027p worth of pixels instead of 1080p. Auto detection tools said it was 1080p. With xrandr I was able to modify the output to 1027p so I didn’t lose the edges of the display to the TV’s broken forced overscan design. Could you do that with Wayland?

          • frozen@lemmy.frozeninferno.xyz
            link
            fedilink
            arrow-up
            17
            ·
            edit-2
            5 months ago

            Literally yes. And you don’t even need to know the exact pixel resolution of the TV.

            Edit: Here are the problems with you “Wayland isn’t good enough” people.

            First, you don’t use Wayland, so you don’t even know if it’s fixed whatever weird issue you encountered with it before or if it supports a niche use case, for example.

            Second, Wayland won’t get good enough for you until you start using it and reporting bugs. You think X11 was a bed of roses when it first started? Or do you think they bumped the version number 11 times for fun?

            • doona@aussie.zone
              link
              fedilink
              arrow-up
              6
              ·
              edit-2
              5 months ago

              First, you don’t use Wayland, so you don’t even know if it’s fixed whatever weird issue you encountered with it before or if it supports a niche use case, for example.

              Bingo. So many complaints I’ve seen about Wayland have been from Nvidia users who tried it three years ago when the driver support was beyond fucked. I get Linux development moves slow sometimes but holy shit…

            • AnIndefiniteArticle@sh.itjust.works
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              5 months ago

              Good to know that this has been implemented in your favorite DE! Considering how Wayland often implements things, it’s probably implemented on the DE-level, leading to a fractured configuration ecosystem. Being implemented in Wayland is different from being implemented in some of the DEs that use Wayland.

              edit: if I’m wrong about that, and it is implemented in Wayland itself, please continue to correct me!

      • Nibodhika@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        5 months ago

        You can’t be this stupid, Wayland also uses a config file, you just have a GUI button to copy the configs from inside your session to the login screen. Or do you think the button recompiles the login screen with a different configuration?

      • LeFantome@programming.dev
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        5 months ago

        In Wayland, the compositor is the window server ( the equivalent of Xserver ). What you are looking for has to be a feature of the compositor and it is.

        As others have said below, wlroots based compositors offer wlr-randr. There is also gnome-randr. For KDE, there is Kscreen-doctor. For X ( the window server being used by SDDM here ), there is xramdr.

        Now, some people may see it as a problem that we have multiple Wayland implementations. I am mostly not fighting that battle. I will say that I hope these are not the same people that winge about systemd though and push for alternate init systems. I hope nobody that thinks MUSL is cool Is clinging to X11.

        I would prefer that there was a common configuration standard for this stuff on Wayland. It will probably come eventually. Maybe as part of the freedesktop.org stuff.

        Generally, I believe the Linux ecosystem has been stronger in areas where there has been competition between implementations ( even compilers ). I hope that Wayland will be one of those areas. As the core problems get fixed, the pace of innovation will increase. I believe we are already seeing that. There are more examples every day of things Wayland can do that X11 cannot. Let’s hope for more of that.

        • AnIndefiniteArticle@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          5 months ago

          Thanks for pointing out that in this case the DM is using X regardless of whatever graphical environment gets loaded when the user logs in. This really is a moot point/discussion. I’m still glad I raised it to get perspectives like yours.

          You’re right that I should play around with wlroots a bit more. It’s been a while, personally. Mostly because it’s been a while since I’ve had time to just play around with my system. My life is at a point that it looks like I’ll have that free time soon, for better or for worse.

          I’ll note that I do like alternative init systems for diversity and competition and because systemd was very hungry and rigid. An init system is also a bit more fundamental to system stability than a display server, so I think it’s reasonable to be critical of systemd and Wayland for contradictory reasons. Systemd has also come a very long way in the past decade plus. I have also seen it learn from the other ideas implemented in its competition, mirroring your argument. Diversity and unification are not at odds with each other, but are different parts of the same cycle of improvement.

          • LeFantome@programming.dev
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            5 months ago

            You left a very gracious reply so let’s not fight.

            I see a certain amount of irony in the overlap between the group of people ranting that Wayland has too many implementations and the group demanding more implementations of everything else. So that was my point.

            Certainly we can agree though that there is nothing wrong with demanding more of both.

            One my favourite new distros, Chimera, uses both Wayland and dinit (and Turnstile ).

            I am interested to see where the diversity that Wayland provides goes actually. Have you seen this?

            https://github.com/CuarzoSoftware/Louvre

            • AnIndefiniteArticle@sh.itjust.works
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              5 months ago

              Thanks for the leads and the good conversation. I have found that being an idiot in public and then deescalating is one of the fastest ways to gather information.

        • AnIndefiniteArticle@sh.itjust.works
          link
          fedilink
          arrow-up
          3
          ·
          5 months ago

          I am serious, and I’ll tell you exactly what will change my mind. I need real tools instead of “upgrades” that have less functionality and are less usable. If Wayland (or whatever comes next) can deliver on functionality, I’ll sing its praises. For now I’m on X.

      • 30p87@feddit.de
        link
        fedilink
        arrow-up
        2
        ·
        5 months ago

        I never configured anything on X with a DE, let it be KDE, Gnome or Cosmic, but configure everything with config files I can just copy on sway. It has nothing to do with X or Wayland, but the DE/WM you use.

        • AnIndefiniteArticle@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          5 months ago

          That’s kind of my point. Something like randr is more fundamental than the DE, and its configuration shouldn’t be fractured by being DE-dependent. I personally don’t like DEs at all, and like the ability to control a more minimal system.

    • narc0tic_bird@lemm.ee
      link
      fedilink
      arrow-up
      5
      ·
      5 months ago

      Oh, I didn’t know that button existed. Great! Even though I just tried it and it didn’t apply my rotation settings correctly.

    • Ark-5
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      I’m using Wayland, where do I find this settings gui?

        • Ark-5
          link
          fedilink
          arrow-up
          2
          ·
          5 months ago

          Ah, so being on Hyprland means I can’t really gain access to this, right?

          • frozen@lemmy.frozeninferno.xyz
            link
            fedilink
            arrow-up
            4
            ·
            5 months ago

            Correct. Unfortunately, it’s something that each desktop environment or window manager has to implement themselves. But all the button is doing is moving some config files around, so you can probably do some digging to figure out what it’s copying to where.

            • Ark-5
              link
              fedilink
              arrow-up
              1
              ·
              5 months ago

              Yeah, I’ve largely figured out how to change all these settings from configs for myself, just always on the lookout for a nice gui. I’m slowly working to make a Linux experience I can install for my relatives that makes the transition from crapware Windows relatively painless.

          • Astongt615@lemmy.one
            link
            fedilink
            arrow-up
            3
            ·
            5 months ago

            XDG_SESSION_THEME=KDE got my hyprland config to work on everything except the cursor (other than in Firefox/steam for some reason). Took me way too long to find the old reddit post that had this tip, so I hope it helps!

  • Anna@lemmy.ml
    link
    fedilink
    arrow-up
    41
    ·
    5 months ago

    Put one hand on the top and one on bottom and rotate the screen by 90° or π/2 radians

  • nehal3m@sh.itjust.works
    link
    fedilink
    arrow-up
    36
    ·
    5 months ago

    Rotate the left display 90 degrees clockwise. Now they’re both in landscape. Ta-da!

    Sorry, I’ll see myself out.

  • bloodfart@lemmy.ml
    link
    fedilink
    arrow-up
    15
    ·
    5 months ago

    usually monitors can be freely rotated. if yours can’t, the back usually has a square vesa mount on the back and you can just take out the four screws and reattach it the way you like.

  • ClemaX@lemm.ee
    link
    fedilink
    arrow-up
    15
    ·
    edit-2
    5 months ago

    From Archwiki > xrandr:

    Tip: Both GDM and SDDM have startup scripts that are executed when X is initiated. For GDM, these are in /etc/gdm/, while for SDDM this is done at /usr/share/sddm/scripts/Xsetup. This method requires root access and mucking around in system configuration files, but will take effect earlier in the startup process than using xprofile.

      • Klara
        link
        fedilink
        arrow-up
        10
        ·
        5 months ago

        SDDM is still X11 based, no matter which desktop you run with it. I have tried enabling Wayland on it, but it’s been… Unstable to say the least.

  • Björn Tantau@swg-empire.de
    link
    fedilink
    arrow-up
    9
    ·
    5 months ago

    Is this when the screen is locked or when you’re logged out? Those are two different things and I suspect it’s the latter. That’s probably sddm and I suspect it can be fixed by using Wayland with it. Should be some option in /etc/sddm.conf or so.

    • governorkeagan@lemdro.idOP
      link
      fedilink
      English
      arrow-up
      8
      ·
      5 months ago

      I corrected the post, thanks for calling it out! It’s fine when locked but the issue happens when logged out.

  • UmeU@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    5 months ago

    You could use Windows 11 from Microsoft, it can do both landscape and portrait.

    • Hugh_Jeggs@lemm.ee
      link
      fedilink
      arrow-up
      10
      ·
      5 months ago

      It’s true though, every thread about Windows is full of Linux users saying how you should just use Linux, and others saying they still can’t because it still doesn’t work properly after all this time. Then you get the Linux users saying “iT jUSt wORks”, then posting shit like this demonstrating that it clearly still doesn’t

      • Lotarion@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        5 months ago

        If you think this is very witty and a gotcha, you’re wrong. This argument doesn’t work in reverse because whoever is using Linux already knows all about Windows, since, y’know, it has most of the Desktop market in its grip

        This is like yelling about straight pride

            • Hugh_Jeggs@lemm.ee
              link
              fedilink
              arrow-up
              1
              ·
              5 months ago

              If you think this is very witty and a gotcha, you’re wrong. This argument doesn’t work in reverse because whoever is using iOS already knows all about Android, since, y’know, it has most of the mobile market in its grip

              This is like yelling about straight pride

      • UmeU@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        5 months ago

        Is that what it takes to get two different desktop orientations using Linux?

          • ilinamorato@lemmy.world
            link
            fedilink
            arrow-up
            8
            ·
            5 months ago

            Well, there was zero effort documented in the post.

            You’re not their teacher. It’s not your job to decide how much effort they’ve put forth, or to grade whether or not that is sufficient.

            Take a look at Ubuntu trying to teach newcomers how to ask a question.

            And if they documented their research process, you’d say “tldr just ask the question.” Stop trying to be paternalistic and gatekeepy. Just answer or don’t.

              • ilinamorato@lemmy.world
                link
                fedilink
                arrow-up
                4
                ·
                5 months ago

                That’s totally the biggest problem with the internet. And definitely deploying self-important moderaptors is the way to fix it.

                /s, of course. Get off your high horse.

              • uhN0id@programming.dev
                link
                fedilink
                English
                arrow-up
                2
                ·
                5 months ago

                Now we have millions of useless posts being archived like this one.

                The archives! Why won’t anyone think of the archives!?

                If we have room for comments like yours in the archives then we have room for legitimate questions by beginners in there too. Your post history shows a significant amount of deleted comments and downvotes. I bet they were all very productive and helpful comments for the archives, right?

              • tate@lemmy.sdf.org
                link
                fedilink
                arrow-up
                3
                ·
                5 months ago

                The goal of Ubuntu’s help forum is to solve users’ problems efficiently and effectively. That goal is better achieved if questions are posed in certain optimal ways.

                The goal of Lemmy is for people to have discussions (like this one! ;). That goal is not better achieved with well posed questions.

      • Séra Balázs@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        5 months ago

        This type of answer wouldn’t exist if people typed the question into google instead of reddit/lemmy/forums/etc…

        • tate@lemmy.sdf.org
          link
          fedilink
          arrow-up
          19
          ·
          edit-2
          5 months ago

          When you search for a problem like this one, often the results with helpful answers are on forums. These wouldn’t exist if no one ever asked their question on a forum.

          To put it another way, google doesn’t create any content. That’s what we’re here to do instead.

          • NaibofTabr@infosec.pub
            link
            fedilink
            English
            arrow-up
            13
            ·
            5 months ago

            Yup, and it might be necessary to reproduce a lot of the answers that people used to find on reddit.

            • tate@lemmy.sdf.org
              link
              fedilink
              arrow-up
              6
              ·
              5 months ago

              What is the harm, to you or anyone else, when someone makes a forum their first resort, instead of last? If having people ask questions here that aren’t “good questions” according to you is bothering you, perhaps you are the problem.

            • Séra Balázs@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              5 months ago

              I support this idea, and based on the things I read here, it seems to me that different cultures have different norms for asking a question, and that’s a good thing, but can create not so pleasant social situations here in the internet

          • Séra Balázs@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            5 months ago

            I have no problem with questions on forums, sometimes I ask them myself, but I think that if you expect people to try to answer your question, people should be able to expect you to have tried looking for an answer yourself.

            • Telorand@reddthat.com
              link
              fedilink
              arrow-up
              4
              ·
              5 months ago

              Sometimes people like community conversation; it often gets to the heart of the issue better than parsing a semi-related post from 12 years ago, and it allows back-and-forth discussion to get details and drill down issues.

              On top of that, redundancy for technical issues is never something we should reject.

            • ilinamorato@lemmy.world
              link
              fedilink
              arrow-up
              4
              ·
              5 months ago

              I don’t know about other people, but it’s way easier to google something than to ask a question and then wait for the answer. I’m not OP, but if I’ve asked a question, it’s only because I’ve exhausted my ability to find the answer on its own.

            • tate@lemmy.sdf.org
              link
              fedilink
              arrow-up
              3
              ·
              5 months ago

              Why though? Seriously, why is it a problem for you if they ask here first, instead of asking somewhere else first? What is the actual harm to you?

              Some people would rather interact with other humans. Some prefer to find their answers without interacting with other humans. It’s all good.

        • kurumin@linux.community
          link
          fedilink
          English
          arrow-up
          8
          ·
          5 months ago

          My goodness, people complain that this place lacks content. A person as for help which creates content for the site and you come to bash on them?

          Come kiddo! You can do better.

        • ilinamorato@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          5 months ago

          How do you think the OP is supposed to know that “SDDM” is the issue to look up? You don’t get to enforce another person’s effort. If all you want to provide is "you’re looking for ‘SDDM,’ that would provide help and empower them without sounding like you’re biting the newbie for not knowing everything.

            • ilinamorato@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              5 months ago

              Yes. I would assume that the problem is in X11 or Wayland before thinking it could be SDDM, frankly. But even then, googling “Linux login screen” doesn’t immediately reveal SDDM to be the point of concern.

                • ilinamorato@lemmy.world
                  link
                  fedilink
                  arrow-up
                  3
                  ·
                  5 months ago

                  I’m not moving any goalposts at all. I’m expressing how inexperience and bad assumptions can make one’s searching unfruitful through no fault of their own. That’s all I’ve ever been saying.

            • ilinamorato@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              5 months ago

              Ah, you made an edit. Yeah, “kde login rotation” does, but “EndeavourOS login rotation” gives you no results mentioning SDDM. Giving people the benefit of the doubt costs you nothing over assuming that they’re lazy, and the added bonus is that you don’t sound like a jerk.

    • tate@lemmy.sdf.org
      link
      fedilink
      arrow-up
      11
      ·
      5 months ago

      Google wouldn’t have any answers if no one ever asked their question in a forum instead.

        • tate@lemmy.sdf.org
          link
          fedilink
          arrow-up
          6
          ·
          5 months ago

          a valid forum question

          I wouldn’t presume to judge this, and I dont think you should.

          There is no issue related to a deluge of “invalid” or even redundant forum questions. That’s simply not a real problem.

        • uhN0id@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          5 months ago

          Then offer education or ignore the post. You know what’s easier than OP googling the question? You not responding to OP if you don’t have anything of value to add. You’re here with a passive aggressive “let me Google that for you” bullshit attitude yet YOU’RE upset at OP for not being better at searching for their answers?

          I agree people should put more effort into trying to figure it out on their own and learning how to ask good questions but the tone of your comments is more detrimental to the quality of these communities than a “stupid question” ever will be.