Commit graph

11 commits

Author SHA1 Message Date
Harald Sitter
75af4e0a12 implement SessionManagement1
SessionManagement1 provides control over which sessions are started by
the login manager. See the dbus API documentation for more information.

This commit lifts rust-ini from transitive dependency to direct
dependency since we need slightly better control over the ini content.

SessionManagement1 is implemented in both user and root scope. User
scope implements the public API and internally calls into root scope for
root-elevated actions, where necessary augmenting with user-level
actions (namely managing user systemd services).

Two SDDM configuration files are in play here

- `/etc/sddm.conf.d/yy-steamos-session.conf`: acting as "persistent"
default configuration
- `/etc/sddm.conf.d/zz-steamos-autologin.conf`: the "temporary"
configuration overrides the persistent one whenever present and is meant
to be cleared by either the login manager or the session. This follows
current behavior where we have oneshot sessions that simply reset the
temporary back to gamescope.

Internal configuration keys are stored in the persistent config inside
an `[X-SteamOS]` section.
2025-06-19 17:29:30 +02:00
Jeremy Whiting
cff6303b6c screenreader: add screen reader commands to steamosctl.
Adds get-screen-reader-enabled, set-screen-reader-enabled,
get-screen-reader-(pitch|rate|volume),
set-screen-reader-(pitch|rate|volume).
2025-05-28 20:17:43 -06:00
Vicki Pfau
65a81cee47 power: Add LowPowerMode1 service
Add a new service to limit the platform TDP while handles are still held. This
feature is currently limited to the Steam Deck.
2025-04-30 18:53:08 -07:00
Vicki Pfau
45edfe2c7c power: Add interface for accessing platform-profiles 2025-04-09 17:50:33 -07:00
Vicki Pfau
91890e5948 manager/user: Add BatteryChargeLimit1 interface (#12) 2025-01-21 17:31:51 -08:00
Vicki Pfau
54351414fa wifi: Add method for generating and capturing an ath11k dump 2025-01-21 16:45:33 -08:00
Vicki Pfau
2f4cfb1e66 Proxy: Fix up straggler interface names
A handful of interface names got updated but the XML and implementations got
out of sync. This fixes that, as well as adding some missing comments and
fixing formatting in the XML.
2024-11-07 17:46:38 -08:00
Vicki Pfau
b8f3f79e0b clippy: Fix more pedantic warnings 2024-08-30 22:30:14 -07:00
Vicki Pfau
2d4647a918 manager/user: Rename GpuTdpLimit1 to TdpLimit1 2024-08-29 01:48:06 +00:00
Vicki Pfau
6a08ce823e job: Rename DBus interfaces Job and JobManager to Job1 and JobManager1 2024-08-27 19:43:57 -07:00
Vicki Pfau
428350b4c7 proxy: Split out per-file and re-export relevant proxies 2024-08-06 19:15:40 -07:00