I use Linux Mint 18.3 Cinnamon 64-bit. I have
Lightshot is running since login, always, I used Startup Applications tool to create a start-up immediately after login:
env WINEPREFIX="/home/vlastimil/.lightshot" wine C:\\windows\\command\\start.exe /Unix /home/vlastimil/.lightshot/dosdevices/c:/users/Public/Start\ Menu/Programs/Lightshot/Lightshot.lnk
To press PrtSc (print screen key) and enter full-screen cutting mode (de facto, the same functionality Lightshot has under Windows).
What works (when run from
xdotool key --window $(xdotool search --limit 1 --all --pid $(pgrep Lightshot) --name Lightshot) "Print"
However, it does not do anything, if that is copy-pasted into the Add custom shortcut dialog:
I merely wonder why that is and, more importantly, how to make it work?