11 Jun 2016
I have been googled around for this technique for like a week. I have been using the wrong keyword. I was googling for “Shortcut to terminal ubuntu”. And I found nothing.
After switching the keyword to “Shortcut to switch to terminal ubuntu”. And that was it.
The solution is to use
wmctrl and bind keys to a
wmctrl command that switches to the terminal. Here's an example:
wmctrl -a "tanin@tanin-linuxworkstation: ~"