View Full Version : [gnome] Display window dimensions during resize?

June 4th, 2009, 06:50 PM

I've searched this forum and the web for this bit of information.

I need to be able to see the size of the window during resize. Does anyone know how to turn this on in Gnome? I don't care if it's a separate widget or if it's in the window manager itself, but I need this functionality.

I'm a software developer. I need to be able to test our applications on various screen resolutions. The dimensions of the screen used to show up in all the old window managers, FVWM2 for example.

The only bit I found on this is a thread discussing the fact that Gnome's spec says the information should be displayed, and that it doesn't, posted back in March. I know of nothing more recent.


Any help you can give would be much appreciated.

June 4th, 2009, 07:23 PM
compiz shows the size of the window during resize

June 4th, 2009, 09:27 PM
That's a whole different window manager. Is there something that plugs into Gnome?

My last install, I bucked the trend on everything. It was a pain in the rear to maintain. Now I just need a workstation/developer box that can do what I need, so I'd like to leave the pot largely unstirred, if you know what I mean.

June 4th, 2009, 10:05 PM
the only thing i can think of is resizing the window with a small piece of software if you have a few different resolutions e.g. with a/1..2..3.. starter. would this be right?

June 4th, 2009, 11:12 PM
I suppose I could use the -geometry=whatever argument for those things started with command line, but that really doesn't cover all my bases.

I wish the Gnome people would realize that this is a really handy feature.

June 11th, 2009, 10:13 PM
FWIW, the entire world seems to be fighting against me on this.

Of the applications which claim to support opening to a specific size, few of them seem to pay any attention to the settings.

firefox -height 768 -width 1024 brings up a window of whatever size you used last. Gnome's specification is that the window size will show up while resizing, but they have not implemented it.

About the only things I use which actually pay attention to requested geometry are gnome-terminal and rdesktop.

August 7th, 2010, 12:06 AM
Hi, I also need this. I threw together this little hack that does it for me. It's just an xwininfo loop - runs once to have you click on the window of interest, then reports Height and Width of that window every 1 second until killed.

Cheers, al.

akelly@big-blue:~$ cat ~/bin/xwininfo_loop.sh

#! /bin/sh
XWINFO=`xwininfo | perl -ne '/Window id: (0x[\da-z]+)/ and print $1'`
echo "#################################"
echo $XWINFO
while [ 1 ]
xwininfo -id $XWINFO | grep 'Width\|Height'
sleep 1