Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync display settings to Greeter #125

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

lenemter
Copy link
Member

@lenemter lenemter commented Jan 27, 2024

Required for elementary/greeter#693

@lenemter lenemter marked this pull request as ready for review January 27, 2024 13:16
@lenemter lenemter requested a review from a team January 27, 2024 13:16
@tintou
Copy link
Member

tintou commented Jan 29, 2024

It should be possible to define a system-wide setting by copying the monitor file to one of the GLib.Environment.get_system_config_dirs () directly.

@lenemter lenemter marked this pull request as draft February 8, 2024 05:20
@lenemter
Copy link
Member Author

@tintou I tried to do that but it requires root to access the file "/etc/xdg/monitors.xml". Seems like there is no easy way to access it using polkit. There is a good stackoverflow answer on this here but is this really what we want to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

None yet

2 participants