When I start my day in front of my computer, I first have to do the following:
- In workspace 1:
- Open a new terminal window,
ssh loginserver
, thenssh serverA1
andsudo su account00
- Open a new terminal tab,
ssh loginserver
, thenssh serverA2
andsudo su account00
- Open a new terminal tab,
ssh loginserver
, thenssh serverA3
andsudo su account00
- Open a new terminal window,
- In workspace 2:
- Open a new terminal window, 1
ssh loginserver
, thenssh serverB1
andsudo su account00
- Open a new terminal tab,
ssh loginserver
, thenssh serverB2
andsudo su account00
- Open a new terminal tab,
ssh loginserver
, thenssh serverB3
andsudo su account00
- Open a new terminal window, 1
- In workspace 3:
- etc...
Is there a way to automatize the whole process, e.g., having a script that automatically opens each terminal window in its own workspace, all terminal tabs in each window, and all corresponding ssh
/ sudo su
commands? If not, which parts can I automatize?
xdotool
help. – Pandya Sep 13 '14 at 13:37