Bug 473081 - The option to automatically apply display settings and layouts without needing to manually apply via SDDM config
Summary: The option to automatically apply display settings and layouts without needin...
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kscreen (other bugs)
Version First Reported In: master
Platform: unspecified Linux
: LO wishlist
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2023-08-06 20:36 UTC by yamiyukisenpai
Modified: 2025-02-12 13:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yamiyukisenpai 2023-08-06 20:36:18 UTC
SUMMARY
It'd be great if a user can automatically apply the display(s)' settings and layout without needing to jump through an additional hoop that the user may not know exists.

OBSERVED RESULT
As per this post: https://discuss.kde.org/t/how-to-change-monitor-layout-and-orientation-in-sddm/3377/4?u=yamiyukisenpai
It seems that, in order to apply the layout to both Plasma and SDDM, the user has to click "Apply Plasma settings" in order for it to apply on Wayland.

EXPECTED RESULT
When a user changes their monitor layout, orientation, settings, etc. it'd be incredibly convenient if it's applied automatically on SDDM after the user does the change.  One less inconvenience

ADDITIONAL INFORMATION
I unfortunately haven't had the chance to fully spend time on Wayland as it isn't well suited for gaming just yet.  The only time I ever get to use Wayland is with my VM with NVIDIA GPU.
Comment 1 Nate Graham 2023-08-07 21:55:55 UTC
This is something that would be nice to have, but there are some conceptual issues that would need to be hashed out first. Among them:

- How could SDDM read these user settings without giving it access to the user's homedir (which we obviously can't do)?
- If you have a multi-user system, whose user should the settings be read from? And should this be configurable by the user?
Comment 2 yamiyukisenpai 2024-08-22 02:53:27 UTC
I've been daily driving Wayland on my Neon at work (2x 4K + 1x 1080p) and Tuxedo OS at home (1x 1440p ultrawide + 2x 1440p (or 1x 2880x2560), so I've had some renewed...insight for this issue

> How could SDDM read these user settings without giving it access to the user's homedir (which we obviously can't do)?

I think some changes would need to be done on SDDM itself in order to accommodate that?   In the meantime, can we not use the display configuration setting to "apply" the settings to SDDM, instead of manually navigating to SDDM's settings?  Applying via SDDM already requires root permissions, so the same concept can apply on Plasma's display config.

> If you have a multi-user system, whose user should the settings be read from? And should this be configurable by the user?
In the meantime, any user that has sudo access, but it should be done in Display configuration settings page as it would be less troublesome.  The system can automatically prompt them if they have the necessary permission.
Comment 3 yamiyukisenpai 2025-02-12 13:34:51 UTC
(In reply to Nate Graham from comment #1)
> - If you have a multi-user system, whose user should the settings be read from? And should this be configurable by the user?

I had a thought as we have Ubuntu/Kubuntu as thin clients in our offices.

The layout should respect that last user's layout because each person's preferred layout is different from the other (i.e. one may prefer 1 portrait monitor and 1 landscape, while the other might prefer a stacking layout instead of side-by-side).

If the monitor's placement doesn't reflect SDDM, it will just provide confusion to users