Results 1 to 7 of 7

Thread: Display window dimensions during resize?

  1. #1
    Join Date
    Mar 2009
    Beans
    1,982

    Display window dimensions during resize?

    Hi,

    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.

    http://blogs.gnome.org/metacity/2009...ring-resizing/

    Any help you can give would be much appreciated.

  2. #2
    Join Date
    Nov 2008
    Beans
    92

    Re: Display window dimensions during resize?

    compiz shows the size of the window during resize

  3. #3
    Join Date
    Mar 2009
    Beans
    1,982

    Re: Display window dimensions during resize?

    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.

  4. #4
    Join Date
    Nov 2008
    Beans
    92

    Re: Display window dimensions during resize?

    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?

  5. #5
    Join Date
    Mar 2009
    Beans
    1,982

    Re: Display window dimensions during resize?

    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.

  6. #6
    Join Date
    Mar 2009
    Beans
    1,982

    Re: Display window dimensions during resize?

    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.

  7. #7
    Join Date
    Aug 2008
    Beans
    11

    Re: Display window dimensions during resize?

    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.

    Code:
    akelly@big-blue:~$ cat ~/bin/xwininfo_loop.sh
    Code:
    #!  /bin/sh
    XWINFO=`xwininfo | perl -ne '/Window id: (0x[\da-z]+)/ and print $1'`
    echo "#################################"
    echo $XWINFO
    while [ 1 ]
    do
        date
        xwininfo -id $XWINFO | grep 'Width\|Height'
        sleep 1
    done
    Last edited by allankelly; August 7th, 2010 at 09:44 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •