Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using this script with gnome terminal:

gnome-terminal --tab --title="1" --command="ssh 1" \
--tab --title="2" --command="ssh 2" \
--tab --title="3" --command="ssh 3" \
--tab --title="4" --command="ssh 4"
exit 0

How can I do the same things by script but on a Guake terminal?

share|improve this question

3 Answers 3

up vote 5 down vote accepted

Did you read guake --help?

Usage: guake.py [options]

  -h, --help            show this help message and exit
  -t, --toggle-visibility
                        ?ndert die Sichtbarkeit des Terminal-Fensters.
  -p, --preferences     Zeigt die Einstellungen von Guake
  -a, --about           Zeigt Guake's Programminformationen
  -n NEW_TAB, --new-tab=NEW_TAB
                        Tab hinzuf?gen
  -s SELECT_TAB, --select-tab=SELECT_TAB
                        Tab ausw?hlen
  -g, --selected-tab    Return the selectd tab index.
  -e COMMAND, --execute-command=COMMAND
                        Eigenen Befehl im ausgew?hlten Tab ausf?hren
  -r RENAME_TAB, --rename-tab=RENAME_TAB
                        Gew?hlten Tab umbenennen
  -q, --quit            Sagt Guake das es verschwinden soll :o(
share|improve this answer
While helpful, it doesn't answer the question. Would be helpful to others if a more thorough answer was given. –  Zachary Schuessler May 7 '13 at 14:38
Thanks for posting this, clearly should have just looked at the help but needed to know how another application could toggle visibility - guake -t is just the trick! –  M1ke Jun 4 '14 at 8:38

Try this:

guake -n "whatever" -r "1" -e "ssh 1"
guake -n "whatever" -r "2" -e "ssh 2"
guake -n "whatever" -r "3" -e "ssh 3"
guake -n "whatever" -r "4" -e "ssh 4"
exit 0

(It turns out that neither guake -n "1" -e "ssh" nor guake -n "1" -s "1" -e "ssh 1" works, only renaming the tabs does the job)

share|improve this answer

It works like this: guake -n guake -e 'ssh 1' guake -r 'name_of_tab'

This will open a new tab, execute the command (ssh 1, in this case) and rename the newly created tab to "name_of_tab".

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.