Comment 1 for bug 1623382

Revision history for this message
Davood Heshmaty (elmclose) wrote :

I have now found out that the shell commands placed in the command box of Custom Shortcut Key must be inside single quote marks AND preceded by bash -c

this rule also applies to running scripts, e.g.

bash -c 'python ~/my_pythons_scripts/append_clipboard.py'
bash -c 'bash ~/my_scripts_folder/script1.sh'

None of this is explained in any documentations. It should at least be added as examples of how to assign custom shortcut keys to run commands and scripts