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.

82 points

If you’re using Wayland, you can go to Settings -> Colors & Themes -> Login Screen (SDDM) and click “Apply Plasma Settings…”

If you’re using X11, it looks like you’ll have to resort to hacky scripts, unfortunately.

Source: https://discuss.kde.org/t/how-to-change-monitor-layout-and-orientation-in-sddm/3377

permalink
report
reply
21 points

Unfortunately, I’m having to use X11 because of work (context). Thanks for the help!

permalink
report
parent
reply
5 points

I suppose xrandr can help you here: See the Arch wiki about xrandr

permalink
report
parent
reply
1 point
5 points

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

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
2 points

This is the system settings application for the KDE desktop environment.

permalink
report
parent
reply
3 points

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

permalink
report
parent
reply
-23 points
*

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.

permalink
report
parent
reply
20 points

Okay grandma, let’s get you to bed

permalink
report
parent
reply
14 points
*

Give me real tools or get off my lawn rewilded patch of native plants and bugs!

permalink
report
parent
reply
16 points

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.

permalink
report
parent
reply
4 points

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.

permalink
report
parent
reply
1 point

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?

permalink
report
parent
reply
10 points

Uh, all that button does is write your configuration to the sddm config. Of course you can also do that manually.

permalink
report
parent
reply
-3 points

It’s not just about it being a config file, it’s also about having access to a powerful tool like xrandr within that config file.

permalink
report
parent
reply
10 points

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?

permalink
report
parent
reply
1 point

Ironically SDDM itself still runs on X11 afaik, Wayland support is still experimental.

permalink
report
parent
reply
6 points
*

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.

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
0 points

There are more examples every day of things Wayland can do that X11 cannot

What are the examples Wayland can do and X11 cannot?

permalink
report
parent
reply
3 points

Not sure if you’re a troll, but if you’re serious, nothing I say is going to change your mind, so I won’t bother.

permalink
report
parent
reply
-2 points

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.

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
0 points

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.

permalink
report
parent
reply
32 points

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

permalink
report
reply
9 points

If you have to read PDFs regularly having a vertical monitor is a lifesaver.

permalink
report
parent
reply
30 points

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

Sorry, I’ll see myself out.

permalink
report
reply
30 points

This is SDDM, the default login manager used by KDE.

The Arch Wiki has an article about it, look under section 2.6.

permalink
report
reply
5 points

Great answer!

permalink
report
parent
reply
17 points

On the arch wiki for SSDM I found this:

Changes to your display configuration made in a Plasma Wayland session (e.g. monitor layout, resolution, etc) will not persist to SDDM. To make them persist open Plasma’s System Settings and navigate to Startup and Shutdown> Login Screen (SDDM) and click “Apply Plasma Settings…”. You will need to have permission to perform this action.

You should give that a try

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 8.4K

    Monthly active users

  • 6.3K

    Posts

  • 172K

    Comments