Skip to content

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

lenemter commented Mar 10, 2024

@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 about this topic 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

None yet

Development

Successfully merging this pull request may close these issues.

4 participants