Register
It is currently Fri Oct 31, 2014 9:21 pm

Terminal displaying script


All times are UTC - 6 hours


Post new topic Reply to topic  [ 2 posts ] 
Author Message
 PostPosted: Wed Dec 03, 2008 1:31 pm   

Joined: Wed Nov 26, 2008 7:43 pm
Posts: 50
Location: Texas
Hi guys,

Anyone have a script, or know how to make a script that will open up 4 terminals lined up on a screen.
I'm thinking that it would be possible to do this by telling it the coordinates and width and height information

Anyone know what commands I would need to do this,

Thanks,

Ted.


Top
 Profile  
 PostPosted: Fri Dec 05, 2008 4:02 am   
Moderator
User avatar

Joined: Thu Oct 11, 2007 7:12 am
Posts: 229
Location: London - UK
find out what your terminal program is called and try reading it's manpage for what options it needs.
for example gnome-terminal can use the following;

Quote:
--geometry GEOMETRY

Specifies the startup geometry for this terminal. The geometry specifies the desired width and height in terminal characters. For example: --geometry=80x40 will create an eighty-column by forty-line terminal. You can also specify the location of the terminal Window on the screen; for example, --geometry=80x40+100+200 will create a Window whose top left corner is 100 pixels to the right and 200 pixels down from the top left corner of the screen, while --geometry=80x40+100-200 will give a Window whose bottom left corner is 100 pixels to the right and 200 pixels up from the bottom left corner of the screen.


The script would then just be 4 lines, each one opening a terminal with a different geometry


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP