I have created different scripts that I successfully used under Lubuntu/Lxde, including some made to be run by keyboard shortcut that would start firefox and search selected text on the internet.
For example, this script, if associated with a shortcut, should search selected text in google:
#! bin/sh sh -c 'firefox "https://www.google.com/search?q='$'(xclip -o)"'
One to translate French to English:
#! bin/sh sh -c 'firefox "http://translate.google.com/#fr/en/$(xclip -o)"'
and so on
But in Mint/Xfce, cannot add these scripts to be run by shortcut in Settings/Keyboard/Application Shortcuts: I get an error similar to this:
I think some applications have to be installed to run this. But after installing
git it still doesn't work.