

The code itself can be further enhanced by others. Key combination in Lightshot application installed on Linux in Wine. Script : Lightshot print screen Linux handlerĭescription: This script works with XDOTOOL to trigger Print Screen If you download the file lightshot_print_screen, you will need to open your terminal and give it permission to read and execute to all users with: Visit the latest release download page (direct link). Usage instructions Download and Preparation Lightshot (installation info page) properly installed into Wine (home page).

X Window System (wiki), with any desktop environment (wiki). procps containing pgrep (man page): In Ubuntu the package is in the main part of official archive.One more necessary package which should be pre-installed on most distributions (wiki): xdotool (Ubuntu man page): In Ubuntu the package is in the universe part of official archive.One necessary command-line tool to have manually installed (same package name):

This script's sole purpose is to simulate (send) hotkey to Lightshot, be it Print, Control + Print, or anything else completely.
