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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1623382

Title:
  custom shortcut key ignores commands

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-control-center/+bug/1623382/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to