How can I fix this rotation issue?

2 years ago by governorkeagan to c/linux

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.

frozen 80 points 2 years 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/...

path: 0 10630659, hotness: undefined, score: 80, children: 40
governorkeagan 20 points 2 years ago

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

path: 0 10630659 10631442, hotness: undefined, score: 20, children: 2
Nilz 6 points 2 years ago path: 0 10630659 10631442 10636258, hotness: undefined, score: 6, children: 0
Rustmilian 5 points 2 years ago
path: 0 10630659 10631442 10638566, hotness: undefined, score: 5, children: 0
narc0tic_bird 4 points 2 years 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.

path: 0 10630659 10633647, hotness: undefined, score: 4, children: 2
Rustmilian 1 point 2 years ago
path: 0 10630659 10633647 10638517, hotness: undefined, score: 1, children: 1
jaxxed 1 point 2 years ago

SDDm now has a wayland implementation? About time.

path: 0 10630659 10633647 10638517 10642623, hotness: undefined, score: 1, children: 0
Arkhive 1 point 2 years ago

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

path: 0 10630659 10637027, hotness: undefined, score: 1, children: 5
frozen 2 points 2 years ago

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

path: 0 10630659 10637027 10638523, hotness: undefined, score: 2, children: 4
Arkhive 3 points 2 years ago

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

path: 0 10630659 10637027 10638523 10640139, hotness: undefined, score: 3, children: 3
frozen 4 points 2 years 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.

path: 0 10630659 10637027 10638523 10640139 10641040, hotness: undefined, score: 4, children: 1
Astongt615 3 points 2 years 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!

path: 0 10630659 10637027 10638523 10640139 10641585, hotness: undefined, score: 3, children: 0
anindefinitearticle -24 points 2 years ago
path: 0 10630659 10632863, hotness: undefined, score: -24, children: 27
KarfiolosHus 19 points 2 years ago

Okay grandma, let's get you to bed

path: 0 10630659 10632863 10633347, hotness: undefined, score: 19, children: 1
anindefinitearticle 12 points 2 years ago
path: 0 10630659 10632863 10633347 10633437, hotness: undefined, score: 12, children: 0
narc0tic_bird 15 points 2 years 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.

path: 0 10630659 10632863 10633685, hotness: undefined, score: 15, children: 10
uhN0id 4 points 2 years 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.

path: 0 10630659 10632863 10633685 10637967, hotness: undefined, score: 4, children: 1
doona 3 points 2 years 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…

path: 0 10630659 10632863 10633685 10637967 10642258, hotness: undefined, score: 3, children: 0
anindefinitearticle 0 points 2 years ago
path: 0 10630659 10632863 10633685 10633856, hotness: undefined, score: 0, children: 7
frozen 18 points 2 years 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?

path: 0 10630659 10632863 10633685 10633856 10634634, hotness: undefined, score: 18, children: 6
Nibodhika 11 points 2 years 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?

path: 0 10630659 10632863 10634362, hotness: undefined, score: 11, children: 2
narc0tic_bird 1 point 2 years ago

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

path: 0 10630659 10632863 10634362 10636497, hotness: undefined, score: 1, children: 1
Thorned_Rose 2 points 2 years ago

I think you have to manually enable it (may depend on your distro/DE) but SDDM works fine with Wayland as it stands now.

path: 0 10630659 10632863 10634362 10636497 10676818, hotness: undefined, score: 2, children: 0
bjoern_tantau 10 points 2 years ago

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

path: 0 10630659 10632863 10634541, hotness: undefined, score: 10, children: 3
anindefinitearticle -4 points 2 years ago
path: 0 10630659 10632863 10634541 10634872, hotness: undefined, score: -4, children: 2
null 5 points 2 years ago

wlr-randr

path: 0 10630659 10632863 10634541 10634872 10636155, hotness: undefined, score: 5, children: 0
Rustmilian 2 points 2 years ago
path: 0 10630659 10632863 10634541 10634872 10638024, hotness: undefined, score: 2, children: 0
LeFantome 7 points 2 years 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.

path: 0 10630659 10632863 10637941, hotness: undefined, score: 7, children: 4
anindefinitearticle 1 point 2 years ago
path: 0 10630659 10632863 10637941 10640266, hotness: undefined, score: 1, children: 2
LeFantome 3 points 2 years 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

path: 0 10630659 10632863 10637941 10640266 10642214, hotness: undefined, score: 3, children: 1
shekau 0 points 2 years ago
path: 0 10630659 10632863 10637941 10659884, hotness: undefined, score: 0, children: 0
frozen 3 points 2 years ago

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.

path: 0 10630659 10632863 10633459, hotness: undefined, score: 3, children: 1
anindefinitearticle -3 points 2 years ago
path: 0 10630659 10632863 10633459 10633546, hotness: undefined, score: -3, children: 0
nehal3m 31 points 2 years ago

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

Sorry, I'll see myself out.

path: 0 10635383, hotness: undefined, score: 31, children: 0
AnnaFrankfurter 29 points 2 years ago

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

path: 0 10642259, hotness: undefined, score: 29, children: 0
narc0tic_bird 26 points 2 years ago path: 0 10630652, hotness: undefined, score: 26, children: 1
kurumin 5 points 2 years ago

Great answer!

path: 0 10630652 10634776, hotness: undefined, score: 5, children: 0
ClemaX 15 points 2 years 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.

path: 0 10644622, hotness: undefined, score: 15, children: 2
woodgen -1 points 2 years ago

You still use X11?

path: 0 10644622 10648361, hotness: undefined, score: -1, children: 1
boo_ 9 points 2 years 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.

path: 0 10644622 10648361 10649397, hotness: undefined, score: 9, children: 0
foremanguy92_ 12 points 2 years ago

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

path: 0 10637558, hotness: undefined, score: 12, children: 1
governorkeagan 10 points 2 years 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.

path: 0 10637558 10639428, hotness: undefined, score: 10, children: 0
AkatsukiLevi 9 points 2 years ago

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

path: 0 10658529, hotness: undefined, score: 9, children: 0
bjoern_tantau 8 points 2 years 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.

path: 0 10630679, hotness: undefined, score: 8, children: 1
governorkeagan 6 points 2 years ago

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

path: 0 10630679 10630973, hotness: undefined, score: 6, children: 0
cheezits 6 points 2 years ago

Turn your head

path: 0 10640670, hotness: undefined, score: 6, children: 0
therealjcdenton 5 points 2 years ago

Can I have that wallpaper?

path: 0 10633788, hotness: undefined, score: 5, children: 3
boredsquirrel 3 points 2 years ago path: 0 10633788 10634344, hotness: undefined, score: 3, children: 1
therealjcdenton 1 point 2 years ago

Thank you

path: 0 10633788 10634344 10645401, hotness: undefined, score: 1, children: 0
sirico 2 points 2 years ago path: 0 10633788 10634243, hotness: undefined, score: 2, children: 0
terminhell 5 points 2 years ago

Fix what? It looks perfect /s

path: 0 10648521, hotness: undefined, score: 5, children: 0
bloodfart 2 points 2 years 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.

path: 0 10632373, hotness: undefined, score: 2, children: 0
intensely_human 1 point 2 years ago

I recommend playing Penguin Pursuit on Lumosity

path: 0 10646334, hotness: undefined, score: 1, children: 0
Tenkard 1 point 2 years ago

I kinda love this aside from it being unusable

path: 0 10632519, hotness: undefined, score: 1, children: 0
possiblylinux127 0 points 2 years ago

Seems fine to me

path: 0 10639647, hotness: undefined, score: 0, children: 0
interdimensionalmeme 0 points 2 years ago

The command is

swaymsg output DP-2 transform 90

path: 0 10642024, hotness: undefined, score: 0, children: 0
pineapplelover -2 points 2 years ago

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

path: 0 10641928, hotness: undefined, score: -2, children: 0
baatliwala -16 points 2 years ago

Easily fixable, just use Windows bro

path: 0 10635522, hotness: undefined, score: -16, children: 3
Lotarion 4 points 2 years 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

path: 0 10635522 10645850, hotness: undefined, score: 4, children: 2
baatliwala 2 points 2 years ago

It's satirical/sarcastic, I even added the bro and everything. You see Linux users doing the same on every fucking Windows post so I couldn't resist.

path: 0 10635522 10645850 10649069, hotness: undefined, score: 2, children: 1
Lotarion 1 point 2 years ago

Damn, guess I got wooshed

path: 0 10635522 10645850 10649069 10649547, hotness: undefined, score: 1, children: 0
zelifcam -25 points 2 years ago
path: 0 10630431, hotness: undefined, score: -25, children: 37
ilinamorato 32 points 2 years ago

This sort of passive-aggressive "help" feels like a relic of the early 2010s we could do without.

path: 0 10630431 10630795, hotness: undefined, score: 32, children: 32
tacostrange 9 points 2 years ago

OP probably wasn't aware it was an SDDM issue. Or even what SDDM is, hence the question.

path: 0 10630431 10630795 10631608, hotness: undefined, score: 9, children: 9
zelifcam -7 points 2 years ago
path: 0 10630431 10630795 10631608 10631692, hotness: undefined, score: -7, children: 8
ilinamorato 5 points 2 years 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.

path: 0 10630431 10630795 10631608 10631692 10633335, hotness: undefined, score: 5, children: 3
tate 3 points 2 years ago

We aren't Ubuntu here. As far as I'm concerned OP's question was just fine.

path: 0 10630431 10630795 10631608 10631692 10635377, hotness: undefined, score: 3, children: 3
zelifcam -3 points 2 years ago
path: 0 10630431 10630795 10631231, hotness: undefined, score: -3, children: 9
ilinamorato 0 points 2 years 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.

path: 0 10630431 10630795 10631231 10633253, hotness: undefined, score: 0, children: 8
zelifcam -3 points 2 years ago
path: 0 10630431 10630795 10631231 10633253 10633327, hotness: undefined, score: -3, children: 7
bali10050 -5 points 2 years ago

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

path: 0 10630431 10630795 10631237, hotness: undefined, score: -5, children: 11
tate 18 points 2 years 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.

path: 0 10630431 10630795 10631237 10632089, hotness: undefined, score: 18, children: 8
NaibofTabr 13 points 2 years ago

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

path: 0 10630431 10630795 10631237 10632089 10632417, hotness: undefined, score: 13, children: 0
bali10050 0 points 2 years 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.

path: 0 10630431 10630795 10631237 10632089 10632551, hotness: undefined, score: 0, children: 3
zelifcam -2 points 2 years ago
path: 0 10630431 10630795 10631237 10632089 10633276, hotness: undefined, score: -2, children: 2
kurumin 6 points 2 years 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.

path: 0 10630431 10630795 10631237 10634745, hotness: undefined, score: 6, children: 1
braindefragger 2 points 2 years ago
path: 0 10630431 10630795 10631237 10634745 10635965, hotness: undefined, score: 2, children: 0
tate 8 points 2 years ago

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

path: 0 10630431 10632116, hotness: undefined, score: 8, children: 3
zelifcam -3 points 2 years ago
path: 0 10630431 10632116 10632493, hotness: undefined, score: -3, children: 2
tate 3 points 2 years 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.

path: 0 10630431 10632116 10632493 10632879, hotness: undefined, score: 3, children: 0
uhN0id 0 points 2 years 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.

path: 0 10630431 10632116 10632493 10638548, hotness: undefined, score: 0, children: 0
UmeU -27 points 2 years ago

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

path: 0 10642453, hotness: undefined, score: -27, children: 11
sag 5 points 2 years ago

Bruh

path: 0 10642453 10643471, hotness: undefined, score: 5, children: 3
UmeU 1 point 2 years ago

I couldn’t resist

path: 0 10642453 10643471 10648435, hotness: undefined, score: 1, children: 2
baatliwala 2 points 2 years ago path: 0 10642453 10643471 10648435 10649128, hotness: undefined, score: 2, children: 1
Hugh_Jeggs 1 point 2 years ago

I vow to do the same on each appropriate thread my Liege

It's only right

path: 0 10642453 10643471 10648435 10649128 10658960, hotness: undefined, score: 1, children: 0
Hugh_Jeggs 3 points 2 years 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

path: 0 10642453 10643822, hotness: undefined, score: 3, children: 4
Lotarion 4 points 2 years 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

path: 0 10642453 10643822 10645831, hotness: undefined, score: 4, children: 3
Hugh_Jeggs 2 points 2 years ago

You type well for someone holding their head at 90°

path: 0 10642453 10643822 10645831 10647451, hotness: undefined, score: 2, children: 2
Lotarion 2 points 2 years ago

Jokes on you, I typed this on a mobile device

path: 0 10642453 10643822 10645831 10647451 10649507, hotness: undefined, score: 2, children: 1
ProgrammingSocks 1 point 2 years ago

Sure.

I could also shoot off both my testicles with an M1911.

path: 0 10642453 10670270, hotness: undefined, score: 1, children: 1
UmeU 1 point 2 years ago

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

path: 0 10642453 10670270 10671028, hotness: undefined, score: 1, children: 0
linux
linux

@lemmy.ml

login for more options
68060
9446
5184

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

go to feed...