-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: set tabs for startup (is not "save session") #198
Comments
I believe you should be able to write a bash script which is loaded automatically on boot, e.g. GNOME autostart script. Something like: #!/bin/bash
# guake-open-tabs.sh
sleep 5
guake --new-tab=whatever && guake --execute-command='cd /home/patrick/path/to/project/'
guake --new-tab=whatever && guake --execute-command='ssh passwordless_machine_alias' That should work. Although it would certainly be cool to borrow some of the functionality from web browsers (open these tabs when I start, or, perhaps even better, open tabs from last session, etc.). |
Thats interesting, wasn't aware of terminal functionality for guake Having just tested this, it gets close to achieving what would be wanted. Delving into the source on bithub I found what was needed. guake --new-tab='doesnothing' --rename-tab='the tabs name' && guake Since the users of guake are likely to be comfortable with the terminal Thanks for the help, exactly what I was hoping for! On 07/08/2013 10:22 PM, Patrick Paul wrote:
Best Regards, Mark Walker PPCnSEO http://ppcnseo.com Website: http://www.ppcnseo.com Like on Facebook |
from my personal experience i used: #!/bin/bash
# guake-open-tabs.sh
/usr/bin/guake &
sleep 5
guake -r "home"
guake -n k -r "client" --execute-command='cd projects/project1/client/'
guake -n k -r "server" --execute-command='cd projects/project2/server/'
guake -n k -r "git" --execute-command='cd projects/project1/'
guake -n k -r "sudo"
guake -n k -r "optional"
Make it a script and add it to your linux distribution startup system, instead of using |
nice, thanks for sharing |
I like the idea on saving the tab between session. Will see if I can do something around it. |
closing it. Wont fix |
I've added a parameter that allows to setup a startup script when guake starts. It's not exposed in the preferences, only in gconf. |
+ fix pylint errors Signed-off-by: Gaetan Semet <[email protected]>
For information, here is my startup script: sleep 5
guake -r "main" -e "cd ~/projects/"
guake -n "devtools" -r "dev-tools" -e "cd ~/projects/dev-tools"
guake -n "python" -r "ipython" -e "python"
guake -s 0 |
+ fix pylint errors Signed-off-by: Gaetan Semet <[email protected]>
Signed-off-by: Gaetan Semet <[email protected]>
+ fix pylint errors Signed-off-by: Gaetan Semet <[email protected]>
Signed-off-by: Gaetan Semet <[email protected]>
It would be really useful if you could save certain tabs to be loaded when Guake starts up, similar to the options in web browsers.
Each tab would be able to assign the name of the tab and a single command which is run.
So tab "server"1 is created, having already run "ssh server1" and being logged into the server ready and waiting.
Another one for "top", one each for different servers, the possibilities are endless depending on the individuals requirements and shell use knowledge.
The text was updated successfully, but these errors were encountered: