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

fix(Power Button): add power button support over dbus #187

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ShadowApex
Copy link
Contributor

No description provided.

@ShadowApex ShadowApex requested a review from pastaq August 13, 2024 17:35
@pastaq
Copy link
Contributor

pastaq commented Aug 13, 2024

We need to have a larger conversation about this. Currently ChimeraOS uses https://github.com/ShadowBlip/steam-powerbuttond (and we have been recommending that to other folks as well). Steam's suspend/resume/power menu functionality is done entirely in unprivileged userspace for the current user as it needs to point to the steam binary in ~/.local

We don't want to add hacky workarounds like HandyGCCS had to access user directory as root. Steam currently doesn't use dbus for this functionality either, and not everyone wants to use opengamepadui with steam. If we're going to do this we should include a user level systemd daemon for receiving the dbus signals that can then route the command as needed (OpenGamepadUI, call Steam, or Playtron). That client should probably default to steam as it won't have any interaction and the client software could change its settings.

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