Skip to main content

System tray application for managing gamescope

Project description

Trayscope

A system tray application for managing gamescope, the SteamOS session compositing window manager.

Uses StatusNotifier D-Bus protocol for native Wayland support with waybar and other StatusNotifier-compatible bars.

Features

  • System tray integration: Start/stop gamescope from your desktop's system tray (waybar, KDE, etc.)
  • Pure Python: No GTK/Qt dependencies, just D-Bus
  • Tray menu controls: Configure resolution, refresh rate, filter, backend, and toggles directly from the tray menu
  • Single instance: D-Bus name ownership prevents duplicate instances
  • Configurable: Settings saved to ~/.config/trayscope/config.json

Installation

pip install . installs Python dependencies (including dbus-next).

pip install .

Usage

trayscope

The app will appear in your system tray (waybar tray module, KDE system tray, etc.).

Configuration

Settings are saved to ~/.config/trayscope/config.json:

{
  "render_width": 1920,
  "render_height": 1080,
  "output_width": 0,
  "output_height": 0,
  "refresh_rate": 60,
  "filter": "fsr",
  "fullscreen": true,
  "backend": "wayland",
  "force_grab_cursor": true,
  "hdr_enabled": false,
  "adaptive_sync": false,
  "gamescope_command": "",
  "extra_args": "",
  "autostart": false
}

Most settings can be changed via the tray menu. Additional notes:

  • output_width/output_height: Set to 0 for native resolution (config-only)
  • gamescope_command: Custom gamescope command, e.g. flatpak run sh.ironforge.gamescope (config-only)
  • extra_args: Additional gamescope arguments (config-only)
  • autostart: Start gamescope automatically when trayscope launches

Requirements

  • Python 3.10+
  • dbus-next
  • A StatusNotifier-compatible system tray (waybar, KDE Plasma, GNOME with AppIndicator extension)
  • gamescope (must be installed separately)

License

BSD 2-Clause License. See LICENSE for details.

Copyright (c) 2025, Omnimodular AB

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trayscope-0.3.2.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trayscope-0.3.2-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file trayscope-0.3.2.tar.gz.

File metadata

  • Download URL: trayscope-0.3.2.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for trayscope-0.3.2.tar.gz
Algorithm Hash digest
SHA256 3ea5c9297c7d1c57695eb0707129fe9c9edf7960c1f7854750d8065920d9b9e7
MD5 47ab7e7f83bc5836c7910f1c3ce22903
BLAKE2b-256 91335446ff4b3a65736659ac2df560013bddfa6bcc8cbff800841aa387558205

See more details on using hashes here.

Provenance

The following attestation bundles were made for trayscope-0.3.2.tar.gz:

Publisher: python-publish.yaml on omnimodular/trayscope

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file trayscope-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: trayscope-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for trayscope-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4a0ab0e242e2c7d0fa07852bbcd19f52c28aeafa04fe82213916367d7db2dce2
MD5 6dd07dbfcb14bb27b82fc1bc6258bf09
BLAKE2b-256 5d7f0576404d0c27df95c7f9e27ab756c055062731df23063ddbe7d133985fe7

See more details on using hashes here.

Provenance

The following attestation bundles were made for trayscope-0.3.2-py3-none-any.whl:

Publisher: python-publish.yaml on omnimodular/trayscope

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page