-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
third display_power option to use wlr-randr i.e. for RPi5 wayland des…
…ktop
- Loading branch information
1 parent
0a50dce
commit 0e2c8eb
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0e2c8eb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@paddywwoof
It's great to see you're working on this topic! Last weekend I tried to update my picframe installation to a bookworm / wayland based setup and discovered exactly this problem.
My current solution was basically as described in #386 but with triggering of the start / stop by SSH. But it would be great to have the wlr-randr calls integrated into picframe itself.
One comment to your commit: So far you only changed the method "display_is_on(self, on_off)". Don't we need to update the method display_is_on(self): as well to consider the third option (self.__display_power== 2). In my current workaround script I'm searching for the string "enabled: yes" in the wlr-randr output, thus something like this could work:
P.S. I will be happy to support testing of this new feature!
0e2c8eb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a very good point, and neat solution.Grateful for offer of testing too!