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

Brightness, Inhibit: mark both applets incompatable with wayland #388

Merged
merged 2 commits into from
Aug 17, 2023

Conversation

lukefromdc
Copy link
Member

*Brightness applet depends on Xrandr, and wlr-randr wayland equivalent does not yet offer brightness control
*Inhibit applet depends on Xevent and on x11 extension DPMS (X Display Power Management Signaling)

*Depends on x11 and Xrandr to function
*Wlroots replacement for Xrandr wlr-randr does not have brightness control yet
*Depends on Xevent and DPMS x11 extension
@lukefromdc
Copy link
Member Author

These dependencies are in mate-power-manager itself not the applets: they can be ported to out of process and will then show in Wayland but mate-power-manager cannot be run. A "stripped" version of m-p-m for Wayland could probably be written to handle shutting down or suspending a laptop, and connect to an SNI replacement for the current status icon.

@lukefromdc
Copy link
Member Author

Travis build failure on Debian looks like a translation issue:
/usr/bin/msgfmt: cannot locate ITS rules for org.mate.power.policy.in

@raveit65
Copy link
Member

Only debian:testing failed to build. Fedora:latest (stable fedora 38) runs well and doesn't stop building at same place https://app.travis-ci.com/github/mate-desktop/mate-power-manager/jobs/608068767#L2042
I am guessing there is something wrong in debian:testing which can happen all the time; ...it's called testing, or something new unstable is introduced.
I will do a scratch build for fedora rawhide branch at fedora build-server (koji) to see if something new is introduced in linux world :-)

@raveit65
Copy link
Member

Building this branch for forthcoming fedora 39 or fedora rawhide works well.
https://koji.fedoraproject.org/koji/taskinfo?taskID=104965792
https://koji.fedoraproject.org/koji/taskinfo?taskID=104965800
So i guess it's a temporarily issue with debian-testing.

Copy link
Member

@raveit65 raveit65 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM,
applets are not selectable in add-to-panel-dialog in wayland-session

@raveit65 raveit65 merged commit 876276f into master Aug 17, 2023
@raveit65 raveit65 deleted the applet-platform branch August 17, 2023 19:24
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.

2 participants