6

I am following the fairly simple step to set custom keyboard for opening a specific file, following the official guidance: Set keyboard shortcuts.

But its not working. Is there something obviuos I am missing here or not sure a bug exist for this in Ubuntu

enter image description here

1 Answers1

6

While you have a valid bash command, the "Set custom shortcut" dialog does not support some features of it, among others concatenating two commands. You can have it work by specifying your command as following:

sh -c "cd /home... && libreoffice ..."

Here, you launch the shell and pass a command to it as an argument.

vanadium
  • 88,010