Re: Determine XTerm Geometry
On Tue, 21 Jan 2014, Zenaan Harkness wrote:
> On 1/21/14, Patrick Bartek <bartek047@yahoo.com> wrote:
> > On Mon, 20 Jan 2014, Mathias Bauer wrote:
> >
> >> Hello Patrick,
> >>
> >> * Patrick Bartek wrote on 2014-01-20 at 13:18 (-0800):
> >>
> >> > Need to get geometry of running xterms. Resize gives me the
> >> > columns and lines. How do I get the X & Y offsets?
> >>
> >> take a look at
> >>
> >> $ xwininfo -id WINDOW_ID
> >>
> >> Perhaps that helps.
> >
> > It did indeed. Gives me more than I needed. Thanks.
> >
> > And FYI: you don't even need the WINDOW_ID. Just run xwininfo in
> > any terminal, left click on the target window, and it spits out THAT
> > windows stats.
>
> Are you wanting the location/size to script the re-creation of xterms?
Yes. Already accomplished. All I needed was each running xterm's
stats. xwininfo nicely supplied that.
For future reference: Any other utilities you can suggest that do the
same thing? Never can have too many tools to do the same thing. This
is Linux after all. ;-)
B
Reply to: