Determine program screen size

Olivier Fourdan fourdan at gmail.com
Sun Mar 28 16:47:00 CEST 2010


On Sun, Mar 28, 2010 at 3:59 PM, houghi <houghi at houghi.org> wrote:
> How can I determine the size and location of a program on my desktop?
>
> e.g. I can sometimes run a program with -geometry, but when I resize it,
> how can I find out what the current size and location is for that program?
>
> I would want to use this in a bash script, so if possible no typing
> involved. I also treid looking for the code for the screenshot
> application, but looking for it gave me a LOT of nice images, but not the
> program itself.
>
> If possible, I would adapt that to not take screenshots, but video
> capture.
>
> Yes, I am aware that there are video capture programs out there. I just
> would like to learn something.


xwininfo ?



More information about the Xfce mailing list