Set Window Maximum Width

Hi, I use a fairly large monitor (24" widescreen). Most applications I open, are too large when they take up the entire space, and I end up needing to open another application (like a terminal) to shrink them down. I was wondering if there's a way to set a maximum window width. So if only one application is running, it would float in the middle of the workspace? It would be a plus if this size can be set per application type (e.g. window class). Thank you,

* On Monday, December 27 2010, Eyal Erez wrote:
Hi,
I use a fairly large monitor (24" widescreen). Most applications I open, are too large when they take up the entire space, and I end up needing to open another application (like a terminal) to shrink them down. I was wondering if there's a way to set a maximum window width. So if only one application is running, it would float in the middle of the workspace?
It would be a plus if this size can be set per application type (e.g. window class).
Thank you,
Hello Eyal, Attached is a preliminary module which does some of what you ask. Refer to the included comments and TODO which I suppose could be followed up on to make a proper contrib module. The example there shrinks white xterms like http://i.imgur.com/YD3r2.png Adam

Hi Adam,
Thank you very much. This is definitely a big step in the right direction.
Is there anyway to get the downsized window to always be centered?
On Thu, Dec 30, 2010 at 9:56 PM, Adam Vogt
* On Monday, December 27 2010, Eyal Erez wrote:
Hi,
I use a fairly large monitor (24" widescreen). Most applications I open, are too large when they take up the entire space, and I end up needing to open another application (like a terminal) to shrink them down. I was wondering if there's a way to set a maximum window width. So if only one application is running, it would float in the middle of the workspace?
It would be a plus if this size can be set per application type (e.g. window class).
Thank you,
Hello Eyal,
Attached is a preliminary module which does some of what you ask. Refer to the included comments and TODO which I suppose could be followed up on to make a proper contrib module. The example there shrinks white xterms like http://i.imgur.com/YD3r2.png
Adam
--
*Eyal Erez <**oneself@gmail.com*
participants (2)
-
Adam Vogt
-
Eyal Erez