[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Determine XTerm Geometry



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?


Reply to: