[PR #240] [MERGED] feat(steam): allow proper exit through power menu #252

Closed
opened 2026-10-15 12:50:19 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/gow/pull/240
Author: @shawly
Created: 6/8/2025
Status: ✅ Merged
Merged: 9/14/2025
Merged by: @ABeltramo

Base: master ← Head: feature/steam-powermenu-shutdown


📝 Commits (1)

  • def533a feat(steam): allow shutdown through power menu

📊 Changes

3 files changed (+32 additions, -0 deletions)

View changed files

📝 apps/steam/build/Dockerfile (+1 -0)
➕ apps/steam/build/scripts/steamos-dbus-watchdog.sh (+28 -0)
📝 apps/steam/build/scripts/system-services.sh (+3 -0)

📄 Description

steamos-dbus-watchdog.sh listens for dbus messages which are sent by Steam Big Picture's power menu and then sends a shutdown signal to steam using the -shutdown arg. This allows stopping using the power menu which is useful when using steam with -steamos/-steamdeck args.

We could also integrate something similar like to this script into the base-app image that SIGTERMs gamescope and sway when we detect a Shutdown signal on the DBus, this would add compatibility for other launchers that have a power menu, like Kodi for example and other frontends. At least if these frontends actually are using the D-Bus to communicate, which would require some testing.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/games-on-whales/gow/pull/240 **Author:** [@shawly](https://github.com/shawly) **Created:** 6/8/2025 **Status:** ✅ Merged **Merged:** 9/14/2025 **Merged by:** [@ABeltramo](https://github.com/ABeltramo) **Base:** `master` ← **Head:** `feature/steam-powermenu-shutdown` --- ### 📝 Commits (1) - [`def533a`](https://github.com/games-on-whales/gow/commit/def533aa81d691e010916f8d784c890c64600999) feat(steam): allow shutdown through power menu ### 📊 Changes **3 files changed** (+32 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `apps/steam/build/Dockerfile` (+1 -0) ➕ `apps/steam/build/scripts/steamos-dbus-watchdog.sh` (+28 -0) 📝 `apps/steam/build/scripts/system-services.sh` (+3 -0) </details> ### 📄 Description steamos-dbus-watchdog.sh listens for dbus messages which are sent by Steam Big Picture's power menu and then sends a shutdown signal to steam using the -shutdown arg. This allows stopping using the power menu which is useful when using steam with -steamos/-steamdeck args. We could also integrate something similar like to this script into the base-app image that SIGTERMs gamescope and sway when we detect a Shutdown signal on the DBus, this would add compatibility for other launchers that have a power menu, like Kodi for example and other frontends. At least if these frontends actually are using the D-Bus to communicate, which would require some testing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 12:50:19 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/gow#252
No description provided.