Countscape
A private, offline photo wallpaper with a countdown or today's date.
Countscape combines local photos with a timezone-aware countdown or today's date and a message. It understands GNOME/Wayland display layouts, renders every monitor as one coherent canvas, and updates the wallpaper from a user-scoped systemd timer. Your source photos stay where they are and are never modified.
Why Countscape
- Local JPG, JPEG, and PNG photo pools; no cloud account, upload, or telemetry.
- Aware countdowns with an explicit UTC offset and matching IANA timezone.
- Current-date overlays with a message and explicit IANA timezone; no target needed.
- Independent countdown-refresh and photo-rotation schedules.
- Mixed orientation, scaling, transforms, and mirrored GNOME/Wayland layouts.
containandcoverphoto fitting with adaptive, wrapped overlay text.- Atomic output, unchanged-render reuse, and conservative cleanup.
- User-scoped installation and conditional restoration of the prior wallpaper.
Supported platform
| Component | v0.3 support target |
|---|---|
| Operating system | Ubuntu 26.04 |
| Desktop | GNOME on Wayland |
| Session integration | systemd user manager and GNOME settings |
| Python | >=3.15.2 |
| Host commands | busctl, fc-match, gsettings, systemctl, systemd-analyze |
Other GNOME distributions may work, but they are not supported until contract
fixtures and live-session evidence exist. Countscape itself does not require
root. A standard Ubuntu GNOME installation normally supplies the host commands;
countscape doctor reports anything missing.
Quick start
Install uv, then install the exact Countscape
release into a persistent tool environment:
uv tool install --python 3.15.2 "countscape==0.3.0"
countscape --version
Create a private configuration. The target must include an explicit UTC offset that agrees with its IANA timezone:
countscape init \
--target "2030-01-01T12:00:00+00:00" \
--timezone "Etc/UTC" \
--label "Until the big day" \
--after-message "It's here!"
For the current date and a message, use this initialization command instead:
countscape init --mode date --message "A good day" --timezone "Etc/UTC"
Date mode shows the weekday, month, day, and year in the chosen timezone. It needs no event target and keeps photo rotation independent of date refresh.
Add at least one .jpg, .jpeg, or .png directly to:
${XDG_DATA_HOME:-$HOME/.local/share}/countscape/backgrounds/
Check the environment, render a non-mutating preview, and only then install the timer:
countscape doctor
countscape render
countscape install
countscape status
countscape install stores validated countscape.service and
countscape.timer sources under the recorded runtime-state directory and links
them into the systemd user manager. The service runs the persistent tool
installation, not this repository and not an ephemeral command environment.
Everyday use
countscape status
countscape doctor
countscape apply
countscape calibrate
countscape calibrate --apply
journalctl --user-unit countscape.service
systemctl --user list-timers countscape.timer
calibrate creates a numbered display-layout image without reading the photo
bank. If you apply it, run countscape apply afterward to restore your wallpaper.
Common changes do not require hand-editing TOML:
countscape configure --event-label "Until launch"
countscape configure --after-message "We made it!"
countscape configure --overlay-position center
countscape configure --photo-fit cover
countscape configure --photos "/path/to/another-photo-folder"
countscape configure \
--countdown-refresh-seconds 60 \
--photo-rotation-seconds 600
countscape configure \
--target "2030-06-01T09:00:00-04:00" \
--timezone "America/New_York"
Rerun countscape install after changing either schedule so the timer is
regenerated. Event and presentation changes take effect on the next timer run.
To switch an existing configuration to date mode:
countscape configure --mode date --message "A good day" --timezone "Etc/UTC"
The existing event is retained. countscape configure --mode countdown resumes
it. A configuration initialized in date mode needs a target and timezone before
it can show a countdown; see the
configuration guide.
Version lifecycle
Always name the version you intend to run. After any package upgrade, downgrade, or reinstall, regenerate the systemd integration so it records the current tool environment.
An exact-version tool install records its pin in uv's receipt. uv tool upgrade
retains that requirement, so use a forced tool install to replace the pin when
changing versions.
Before enabling date mode, keep a private backup of a compatible countdown
configuration. Version 0.2.0 rejects the new [overlay] table; restore that backup
before rolling back. Keep the backup outside this repository.
# Upgrade to an exact published version; replace X.Y.Z.
uv tool install --force --python 3.15.2 "countscape==X.Y.Z"
countscape --version
countscape doctor
countscape install
# Restore the compatible private config backup, then roll back to v0.2.0.
uv tool install --force --python 3.15.2 "countscape==0.2.0"
countscape --version
countscape doctor
countscape install
# Remove integration first, then the tool environment.
countscape uninstall
uv tool uninstall countscape
Configuration and source photos are preserved by countscape uninstall.
Generated files are removed only after Countscape validates ownership and
confirms that GNOME no longer references them. See the complete
installation, update, rollback, and removal guide.
Pre-v0.1 preview config and integration state are not migrated. Remove preview
integration with the matching preview code before installing v0.1, then recreate
configuration with countscape init --force; do not change a schema number by
hand. Forced initialization refuses to replace config while managed integration
is active; run countscape uninstall first.
Files and privacy
Defaults honor the XDG base-directory environment variables:
| Data | Default location | Removal behavior |
|---|---|---|
| Configuration | ${XDG_CONFIG_HOME:-$HOME/.config}/countscape/config.toml |
Preserved |
| Source photos | ${XDG_DATA_HOME:-$HOME/.local/share}/countscape/backgrounds/ |
Preserved; never modified |
| Final wallpapers | ${XDG_DATA_HOME:-$HOME/.local/share}/countscape/generated/ |
Recognized managed files removed only when safe |
| Rebuildable cache | ${XDG_CACHE_HOME:-$HOME/.cache}/countscape/ |
Recognized managed files removed |
| Runtime and integration state | Configured [runtime].state_directory; defaults to ${XDG_STATE_HOME:-$HOME/.local/state}/countscape/ at init time |
Managed state removed |
| User-unit sources | [runtime].state_directory/systemd/, linked into the user manager |
Validated Countscape units and links removed |
Final wallpapers are persistent data because GNOME may still reference one after normal cache cleanup. Output and cache directories have private ownership markers; Countscape refuses destructive cleanup when those markers or its unit digests do not match.
Default countscape doctor and countscape status output, including JSON, is
redacted, but review either before sharing. Never publish output from either
command with --include-private; those modes expose private diagnostic or raw
runtime state. Also review configuration, generated wallpapers, logs, and
screenshots: they can reveal event details, photo content, usernames, paths,
monitor data, or other machine information.
Documentation
| Guide | Purpose |
|---|---|
| Installation | Prerequisites and first setup |
| Configuration | Date/message mode, event, schedule, style, storage, and display schema |
| Lifecycle | Exact-version install, update, rollback, and uninstall |
| Troubleshooting | Diagnostics and safe recovery |
| Security model | Trust boundaries and local-data handling |
| Architecture | Current implementation and data flow |
| Release checklist | Artifact gates and live Ubuntu evidence |
| Release-readiness audit | Historical v0.1 platform evidence |
| Community Wiki | Privacy-safe FAQ, recipes, and community troubleshooting |
| Support | Supported scope and how to ask for help |
The checked-in example configuration documents
the TOML schema. It deliberately has event.confirmed = false and cannot run as
an installable sample target; use countscape init for a private, confirmed
configuration.
Contributing and security
Contributions are welcome. Read CONTRIBUTING.md and follow the Code of Conduct. Use SUPPORT.md for ordinary help. Report vulnerabilities privately as described in the security policy.
Countscape is available under the MIT License.
Metadata
Release files for countscape 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| countscape-0.3.0.tar.gz | 42.7 kB | With provenance | Details for countscape-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| countscape-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for countscape-0.3.0-py3-none-any.whl |
Total release size: 91.1 kB
Release files / countscape-0.3.0.tar.gz
| Download URL | countscape-0.3.0.tar.gz |
|---|---|
| Size | 42.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19c27d6b23723fae2d77f5b51135482baf3009d9d446fe206dd2a487c2790cf0
|
|
BLAKE2b-256 checksum How to use checksums |
68142665d7b59f299f20da5d02e150346da3ae2eb764709933e4b456e52ad518
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logRelease files / countscape-0.3.0-py3-none-any.whl
| Download URL | countscape-0.3.0-py3-none-any.whl |
|---|---|
| Size | 48.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88f9f6f878255a56449e56d2effb502167c26609c262882c64f87710b103a0a7
|
|
BLAKE2b-256 checksum How to use checksums |
8577aac20062631640311f1c07893d2863545e75bdd64e6dd4ec9f1391425f4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logSecurity for countscape 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for countscape-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.