23
submitted 2 days ago by mub@lemmy.ml to c/linux@lemmy.ml

I'm using EndeavourOS (Arch btw) with KDE plasma 6.x (Wayland), SDDM, and systemd as boot manager. I have 2 displays, one HDMI-A-1 (1080p) and one on DP-1 (Ultrawide).

When I boot the password entry cursor defaults to the HDMI display, but I want it to default to the DP-1 display.

I've tried a few things, mostly suggestions from ChatGPT. But nothing has worked. The weird thing is at boot the boot menu and boot messages all appear on DP-1, and it is set as primary in KDE and that works fine as well. It is just the logon prompt that defaults to the wrong display.

Things I've tried so far.

  • Adding video=DP-1:e to the options in the systemd entry - (No effect)
  • Edited /etc/sddm.conf.d/wayland.conf to run a script that did the following: kwriteconfig6 --file startkderc --group General --key PrimaryScreen DP-1 (didn't fix it, actually broke the logon process so had to remove it)

I'm just not familiar enough with how SDDM works so hoping for some good pointers to provide the answer or point me in the right direction.

top 7 comments
sorted by: hot top controversial new old
[-] minimalfootprint@discuss.tchncs.de 2 points 1 day ago* (last edited 1 day ago)

According to this discussion, you can apply your Wayland settings to SDDM from the system settings.

Edit: Although some users reporting issues with it, but worth a try.

[-] Max_P@lemmy.max-p.me 4 points 2 days ago

In theory it should be on all monitors. At least on mine, all 3 monitors display the login screen and any of them can be used to input the password.

You can edit the settings from KDE's settings to copy the KWin monitor configuration to it, you probably want to set the primary display.

[-] mub@lemmy.ml 2 points 2 days ago* (last edited 2 days ago)

The prompt screen is the same on both monitors. But the typing cursor is in the password box on the secondary monitor.

I had a go at setting the kwin primary using another method but I'll have a look at copying the settings across like you said.

[-] Max_P@lemmy.max-p.me 2 points 2 days ago

If just follows the cursor so if you move the mouse to another screen you can also input your password there.

The only difference is which one the mouse cursor is on initially.

[-] mub@lemmy.ml 2 points 2 days ago

Interesting. That's not what happens on mine. I have to actually click into the password box on the primary screen if I want to use that one. Password entry works on both screens so doesn't really matter which I use, it is just a cosmetic thing that bothers me.

[-] gaylord_fartmaster@lemmy.world 3 points 2 days ago

For me it has always just defaulted to the left-most monitor. I had a script that would disable that monitor with xrandr when sddm loaded and then re-enable it on logon, but I couldn't get something similar working in Wayland.

[-] bjoern_tantau@swg-empire.de 1 points 2 days ago

SDDM seems to be severely underdeveloped. It doesn't seem to get nearly as much love as the rest of KDE. You might consider switching to GDM or another display manager that does what you want. You can be happy that your HDMI monitor is not mirrored smaller on your ultrawide.

this post was submitted on 01 Oct 2024
23 points (100.0% liked)

Linux

47544 readers
735 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