Skip to main content

Open the latest screenshot you took in your default image viewer

Project description

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.

Links

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

openlatestscreenshot-0.1.1-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file openlatestscreenshot-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for openlatestscreenshot-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f1b21fe6092860a0f8b41b1844c9c9a67639745314f91f0be52a3c9257507b8f
MD5 d9445fb6540fb929234b709783dfa6cd
BLAKE2b-256 f52cc0ac54c67bd12e7ecd774c8e496d133b6a4ca2ae040f62a2a94ee1ca2c8f

See more details on using hashes here.

Supported by

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