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 hashes)

Uploaded Python 3

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