![GitLab merge requests](https://img.shields.io/gitlab/merge-requests/open/drtexx/open-latest-screenshot?logo=gitlab)
Open Latest Screenshot
Opens the latest screenshot taken in your default image viewer.
![PyPI - License](https://img.shields.io/pypi/l/openlatestscreenshot?color=orange&logo=Python)
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 Shortcut
button - Set the
name
, command
and shortcut
to the following:
name
: Open latest screenshot
command
: open-latest-screenshot
shortcut
: 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.
Links