X/Gnome:如何测量打开窗口的几何形状
是否有标准的 X / Gnome 程序可以显示我选择的窗口的 X、Y 宽度和深度(以像素为单位)? 类似于 xterm 在您调整窗口大小时显示窗口的宽度和深度(以行为单位)的方式。
我在 Red Hat Enterprise Linux 4.4 上运行。
谢谢!
Is there a standard X / Gnome program that will display the X,Y width and depth in pixels of a window that I select? Something similar to the way an xterm shows you the width and depth of the window (in lines) as you resize it.
I'm running on Red Hat Enterprise Linux 4.4.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,您正在寻找程序“xwininfo”。 在另一个终端中运行它,然后单击您想要的信息窗口,它会给您提供信息。
希望这可以帮助!
Yes, you're looking for the program 'xwininfo'. Run it in another terminal and then click on the window you want info about and it will give it to you.
Hope this helps!