Skip to main content

pipeline status coverage report GitLab issues GitLab merge requests

Open Latest Screenshot

Opens the latest screenshot taken in your default image viewer.

PyPI Release PyPI - Downloads PyPI - License

Getting Started

Follow the install instructions, then see usage.

Requirements

All popular Linux distributions with Python 3.8 or later are currently supported.

If you're on Linux and you find open-latest-screenshot doesn't work on your distro, please open a new issue here.

Installation

pip install openlatestscreenshot

Usage

open-latest-screenshot

Keyboard Shortcut Setup

If you find yourself using open-latest-screenshot a lot, it's recommended to set a custom keyboard shortcut to launch the script. Many popular Linux desktop environments allow you to do this easily.

Gnome Keyboard Shortcut Setup

  1. Open GNOME settings
  2. Navigate to Keyboard > Keyboard Shortcuts > Customize Shortcuts > Custom Shortcuts
  3. Click the Add Shortcut button
  4. Set the name, command and shortcut to the following:
    • name: Open latest screenshot
    • command: open-latest-screenshot
    • shortcut: Whatever you like!
  5. Done!

TIP: If the keyboard shortcut doesn't seem to be working, make sure to test that open-latest-screenshot is working as expected from your terminal, as GNOME won't let you know if an error has occured.

Development

Installation (for Developers)

cd "<repo_root_dir>"
poetry install

Usage (for Developers)

cd "<repo_root_dir>"
poetry run open-latest-screenshot

Generating Coverage Reports Locally

cd "<repo_root_dir>"
./development-scripts/generate-html-coverage-report.sh  # generate HTML coverage report
start "htmlcov/index.html"  # open coverage report in default browser

Important Note: Coverage results will only be updated each time the generate-html-coverage-report.sh script is run. If you've added/updated tests but your coverage hasn't changed, make sure that you haven't forgotten to rerun the script.

Build/Test

Builds and tests are automated by GitLab pipelines!

Just create a merge request and everything should happen automatically ⚙️ ✅

Metadata

Release files for openlatestscreenshot 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for openlatestscreenshot 0.3.1
File Interpreter ABI Platform Actions
openlatestscreenshot-0.3.1-py3-none-any.whl Python 3 none any Details for openlatestscreenshot-0.3.1-py3-none-any.whl

Release files / openlatestscreenshot-0.3.1-py3-none-any.whl

Download URL openlatestscreenshot-0.3.1-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6f179a46ed6b2480c2d14acdb0a7f83c3172fac83676a23bb503e7eb72c6765
BLAKE2b-256 checksum
How to use checksums
24c08c609ad93627b632a896755e96bab62c1805c376c66d9f206b976753bb14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Pop!_OS","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for openlatestscreenshot 0.3.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page