Open the latest screenshot you took in your default image viewer
Project description
Open Latest Screenshot
Opens the latest screenshot taken in your default image viewer.
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
- Open GNOME settings
- Navigate to
Keyboard > Keyboard Shortcuts > Customize Shortcuts > Custom Shortcuts - Click the
Add Shortcutbutton - Set the
name,commandandshortcutto the following:name:Open latest screenshotcommand:open-latest-screenshotshortcut: Whatever you like!
- 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 ⚙️ ✅
Links
- 📖 Documentation
- 🐍 Latest Release
- 🧰 Source Code
- 🐞 Issue Tracker
🐦 Twitter@DrTexx📨 Emaildenver.opensource@tutanota.com
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 Distributions
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 openlatestscreenshot-0.3.1-py3-none-any.whl.
File metadata
- Download URL: openlatestscreenshot-0.3.1-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6f179a46ed6b2480c2d14acdb0a7f83c3172fac83676a23bb503e7eb72c6765
|
|
| MD5 |
86c3ba5fa3065dc5028a04a16184a769
|
|
| BLAKE2b-256 |
24c08c609ad93627b632a896755e96bab62c1805c376c66d9f206b976753bb14
|