How to execute bash file on onboard snippet?
Hello,
I am trying to execute bash commands on onboard custom layout snippets. Or is there alternate ways of doing that using python or autokey etc.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Onboard Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2016-04-26
- Last reply:
- 2016-04-26
marmuta (marmuta) said : | #1 |
Hi, Onboard 's snippets are mainly meant to be used while you are typing with the on-screen keyboard anyway. There are no hotkeys for example, you always have to press a snippet button.
However there exists actually an autokey-gtk package that seems to allow to assign hotkeys to arbitrary actions. Perhaps just try it and see which one you like better. I don't have experience with it, unfortunately.
sudo apt-get install autokey-gtk
Francesco Fumanti (frafu) said : | #2 |
Simply terminate the command in the snippet with a space, a backslash and the letter n. For example:
ls \n
(I am assuming that a bash terminal is the active window.)
AACOS (ubuntuaaos) said : | #3 |
Thanks you both, will try an report back.
Can you help with this problem?
Provide an answer of your own, or ask AACOS for more information if necessary.