180
submitted 7 months ago* (last edited 7 months ago) by governorkeagan@lemdro.id to c/linux@lemmy.ml

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.

top 50 comments
sorted by: hot top controversial new old
[-] frozen@lemmy.frozeninferno.xyz 81 points 7 months ago

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

[-] governorkeagan@lemdro.id 21 points 7 months ago

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

[-] Nilz@sopuli.xyz 6 points 7 months ago

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

[-] anindefinitearticle@sh.itjust.works 8 points 7 months ago* (last edited 7 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.

[-] KarfiolosHus@discuss.tchncs.de 21 points 7 months ago

Okay grandma, let's get you to bed

[-] anindefinitearticle@sh.itjust.works 15 points 7 months ago* (last edited 7 months ago)

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

[-] narc0tic_bird@lemm.ee 15 points 7 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 4 points 7 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.

load more comments (1 replies)
load more comments (4 replies)
[-] Nibodhika@lemmy.world 10 points 7 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?

load more comments (2 replies)
[-] bjoern_tantau@swg-empire.de 9 points 7 months ago

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

load more comments (2 replies)
[-] LeFantome@programming.dev 5 points 7 months ago* (last edited 7 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.

load more comments (3 replies)
load more comments (4 replies)
[-] narc0tic_bird@lemm.ee 5 points 7 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.

load more comments (6 replies)
[-] AnnaFrankfurter@lemmy.ml 41 points 7 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 36 points 7 months ago

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

Sorry, I'll see myself out.

[-] narc0tic_bird@lemm.ee 31 points 7 months ago

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

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

[-] kurumin@linux.community 5 points 7 months ago

Great answer!

[-] ClemaX@lemm.ee 15 points 7 months ago* (last edited 7 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.

load more comments (2 replies)
[-] bloodfart@lemmy.ml 15 points 7 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.

[-] foremanguy92_@lemmy.ml 14 points 7 months ago

That's not the point here but can you share your wallpaper? 😄

[-] governorkeagan@lemdro.id 10 points 7 months ago

I can't remember where I found it, but here it is. I thought it might be from here (I've used these previously) but it is not.

[-] cheezits@lemmy.ca 11 points 7 months ago

Turn your head

[-] bjoern_tantau@swg-empire.de 9 points 7 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.id 8 points 7 months ago

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

[-] AkatsukiLevi@lemmy.world 9 points 7 months ago

You just need to look at the problem from a different angle

[-] pineapplelover@lemm.ee 9 points 7 months ago

Your screen on the left appears to be rotated vertically, rotate it 90 degrees clockwise and it should be better.

[-] UmeU@lemmy.world 7 points 7 months ago

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

[-] Hugh_Jeggs@lemm.ee 10 points 7 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 6 points 7 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

load more comments (3 replies)
load more comments (2 replies)
[-] terminhell@lemmy.dbzer0.com 7 points 7 months ago

Fix what? It looks perfect /s

load more comments
view more: next ›
this post was submitted on 14 Jun 2024
180 points (100.0% liked)

Linux

49403 readers
1035 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS