Ubuntu system tray for displaying battery level and providing a system tray menu for launching Stretch tools or help resources.
Project description
Overview
stretch4_tray is an Ubuntu system tray application for displaying battery level and providing a system tray menu for launching Stretch tools or help resources. This package can be installed by:
python3 -m pip install -U hello-robot-stretch4-tray
Developing
To develop on this package:
sudo apt update
sudo apt install pkg-config libcairo-dev gir1.2-appindicator3-0.1 libgirepository-2.0-dev
git clone https://github.com/hello-robot/stretch4_tray
cd stretch4_tray
uv venv --system-site-packages --no-managed-python
uv pip install -e .
Managing stretch4_tray Service (Recommended)
The easiest way to run stretch4_tray is as a linux systemd user service.
To install and start the service:
stretch_tray --install
Other available management commands:
stretch_tray --status: Check if the service is running and view recent logsstretch_tray --restart: Restart the servicestretch_tray --uninstall: Stop and remove the service, and uninstall the Python packagestretch_tray --kill: Forcefully stop the service and any dangling processes
To view continuous logs:
journalctl --user -u stretch_tray.service -f
Configuration
On the first run, stretch_tray creates a user-editable configuration file at:
$HELLO_FLEET_PATH/$HELLO_FLEET_ID/stretch_tray.yaml
By default, this is a copy of the built-in configuration. You can modify this file to add, remove, or change the tools that appear in the tray and the GUI.
If you want to reset your configuration to the default:
stretch_tray --factory_reset
Edit scripts list
To edit the scripts list that shows up in both the system tray and the GUI, please do the following:
- Edit your user configuration file at $HELLO_FLEET_PATH/$HELLO_FLEET_ID/stretch_tray.yaml
- Add or modify commands to match the ScriptsConfig data model schema.
- Please reference the docstrings in ScriptsConfig for details on each field.
- Restart the tray:
stretch_tray --restart
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hello_robot_stretch4_tray-2026.7.1.tar.gz.
File metadata
- Download URL: hello_robot_stretch4_tray-2026.7.1.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7fcdd0f2d2eb777fee9426048a0471ee9e6417706e8f0580d6ea849ec163114
|
|
| MD5 |
29ca9dd18ce1fad04d07dcd31c4d11d3
|
|
| BLAKE2b-256 |
4c1a71290c34dff2f4d796a3d10e9e655bd3fe4abc26a547bb32d91812fc5d20
|
File details
Details for the file hello_robot_stretch4_tray-2026.7.1-py3-none-any.whl.
File metadata
- Download URL: hello_robot_stretch4_tray-2026.7.1-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3501815df10d32c5f6747b3503e5b00ff782bdd9d2ee8f642264a4a8ff79564f
|
|
| MD5 |
df4e3ae67958e65bb4e7fc937ff2ef51
|
|
| BLAKE2b-256 |
56fbe5a261585a874e48b2e512e2106d353ae3d5fd6b932295c75f6809e67b21
|