How to bind PrtScr key to Flameshot in Ubuntu or Linux Mint

1. Install Flameshot on your Linux:

sudo apt install flameshot

2. Go to Settings -> Keyboard -> Shortcuts and add command /usr/bin/flameshot gui to key PrtScr (Print)

/usr/bin/flameshot gui