Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

So I am trying to make a bashscript, which does the above mentioned. Background is that I have to keep an eye on lots of logs, and theres have to have opened many console side-by-side. E.g. one terminal in the left half of my primary monitor, one on the right have, and one terminal on the top half of my second monitor and one on the lower half of my second.

I am using Xubuntu (Xfce, Xfwm) and I realized I could access the xfce4-terminal via /usr/bin/x-terminal-emulator. This does have --window and --tab options, but I can not get the following to work, as example: Create two new terminal windows, with each having two tabs open.

Also I see that I can remove a terminal via wmctrl -r :ACTIVE: -e 1,0,0,683,768, but how can I give that command to a newly created terminal? And how can I move it to my second monitor, without having to calculate the widh of both monitors by hand?

And last but not least, how could I tell a newly opened terminal(-tab) to run a specific command, e.g. a tail on a logfile?

share|improve this question
    
superuser.com/a/178618/312809 –  MolbOrg Apr 11 at 18:21

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.