Skip to content

Inrtoduce BrightnessManager dbus interface#2831

Draft
garaevdi wants to merge 2 commits intoelementary:mainfrom
garaevdi:backlight-dbus-interface
Draft

Inrtoduce BrightnessManager dbus interface#2831
garaevdi wants to merge 2 commits intoelementary:mainfrom
garaevdi:backlight-dbus-interface

Conversation

@garaevdi
Copy link
Copy Markdown
Contributor

@garaevdi garaevdi commented Apr 25, 2026

With gnome 49 screen brightness management was moved into mutter. This is a simple and naive implementation of backlight interface which could be controlled via DBus.

Note: to build this you would need to compile mutter from git

@leolost2605
Copy link
Copy Markdown
Member

Did you check whether it might already be exposed via org.gnome.mutter.displayconfig ?

@garaevdi
Copy link
Copy Markdown
Contributor Author

Did you check whether it might already be exposed via org.gnome.mutter.displayconfig ?

Yes, but I think it's better to abstract it with a gala interface. Otherwise both switchboard-plug-power and wingpanel-power would need to implement the same things (handling monitors changes, converting raw brightness values to percentages).

Also you won't have to deal with complicated dbus types

@danirabbit danirabbit added this to OS 9 Apr 30, 2026
@danirabbit danirabbit moved this to Needs Review in OS 9 Apr 30, 2026
@danirabbit danirabbit requested a review from leolost2605 April 30, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

3 participants