one terminal with two tabs:
gnome-terminal --tab --tab
use the -e switch to execute commands (or scripts):
gnome-terminal --tab -e "command1" --tab -e "command2"
(I don't think there is an easy way of feeding your credentials to skype via the terminal.)
Update: check w4YGcbTeIH's answer, skype allows giving credentials via the command line.
But beware, your credentials would be exposed and this should be avoided.
A script to open skype and chromium-browser would look like the following:
#!/bin/bash
skype --dbpath=<path> &
chromium-browser &
Put this code into myscript.sh
and execute chmod +x myscript.sh
(in a terminal) to make it executable.
About skype:
- you can run skype without arguments (
skype &
) and it will load your default user profile ~/.Skype
.
- run it with
--dbpath=<path>
where <path>
is your actual path of the Skype profile you want skype to load.
To run the script do one of the following:
- open a terminal and execute
./myscript.sh
- double click on the script and choose Run in the dialog.
You can switch the tabs using Ctrl+PgDn to next tabs and Ctrl+PgUp for the previous tabs.
Reordering can be done using Ctrl+Shift+PgDn and Ctrl+Shift+PgUp.
Also Alt+1 to Alt + 0 can be used to switch tabs starting from 1 to 10. Where Alt+1 is for 1st tab in terminal, Alt+2 is for 2nd tab ... Alt+0 is for 10th tab.
If more than 10 tabs are opened then you've to switch using the shortcut mentioned above. i,e Ctrl+PgDn and Ctrl+PgUp
To close any selected tabs use Ctrl+Shift+W
Best Answer
In gnome-terminal.. there is inbuilt function without assigning any shortcut key..
you can assign a shortcut key by Selecting Edit -- >> Preferences -- >> Shortcuts -->> Switch to Last Tab and by pressing valid key/ key combination like below