Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is this a configuration problem of konsole? 1

Status
Not open for further replies.

julianLiuRsch

Programmer
Oct 4, 2008
11
hello,

I am using Fedora8 and konsole in gnome.

I used to open four konsole windows on the gnome desktop, and drag them to four proper positions.

I wonder if it can be configured for the system to automatically put each new opened konsole window at a particular pre-defined position?

Can anyone give a thread on this?

thanks in advance.
 
If you want to have several konsole windows open at the same time,
then maby you should check out a program called Terminator.
It allows you to have multiple terminals open in the same window,
you dont need to start several different konsoles and drag them to
different places on the screen.

HTH
:)
 
I think maybe terminator is the thing I am looking for, thanks.
But, please, geirendre, several more questions :
Have you used terminator before?
Seen from the snapshot of terminator, the window was deficed into several panes, each for a konsole window. Are these panes spread side by side or partly overlapped? I hope that they are partly overlapped, for if they are spread side by side, some pane may be too small for me.
 
Actually, you can specify window size and position when starting Konsole - or pretty much any KDE application, for that matter - from the command line. Just use the --geometry option. The argument to --geometry is a string of the form <width>x<height>+<x_pos>+<y_pos>. For example:
Code:
konsole --geometry 300x200+0+800
This will put a 300x200 Konsole window at 800 pixels to the right of the top-left corner of your screen.

For your purposes, you could just write a script to open up each window at a specified position. For instance:
Code:
#!/bin/bash
# Open a konsole in the upper-left corner
konsole --geometry 600x400+0+0 &
# Open one right below it
konsole --geometry 600x400+0+415 &
The one "gotcha" is that the window size doesn't account for the window manager decorations (the window frame and title bar), so you may have to experiment a little to get the right numbers.
 
You launch Terminator as one "terminal" with one "pane", and then
you can split it eighter verticaly or horisontaly.
Then you jump from one "pane" to the next with <CTRL-Shift-N> (next)
or <CTRL-Shift-P> (previous).
You can then split the "pane" you'r inn even further and further and further...
Theres no overlapping windows, just one application with as many panes
as you like that you can jump back and forth in.
You can even drag the borders of the panes with your mouse to
adjust the size of the panes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top