On Linux Mint, I would like to bind a shortcut key to run a command*.
I can achievehave already achieved this using the GUI, but I need a way to adddefine this keyboard shortcut from the command-line, without GUI interaction**.
The keybinding should work identical to the one created through the GUI and work anywhere. In other words: not a bash binding, which would only work when sent to that terminal window.
* The command it will runThe command it will run is
shutter -s. It lets me take a screenshot of an area of the screen, but that isn't relevant to the scope of this question.
** Why I want to do this: I run Mint on many machines/VMs, and need to be able to provision new ones quickly. To achieve this, I've scripted the installation of everything I need to do dev work.