[openbox] ob and wmctrl

Ryan Freeman ryan at slipgate.org
Mon Feb 23 20:38:33 EST 2004


On Tue, 24 Feb 2004 02:08:47 +0100 (CET)
Mikael Magnusson <mangosoft at comhem.se> wrote:

> On Mon, 23 Feb 2004, John Russell wrote:
> 
> > On Mon, 2004-02-23 at 18:01, Mikael Magnusson wrote:
> > > On Mon, 23 Feb 2004, Christian Timmer wrote:
> > > 
> > > > Hi there,
> > > > 
> > > > I want to control with wmctrl at which position my aterm starts.
> > > > The menu-entry looks like this:
> > > > 
> > > > <item label="aterm">
> > > >       <action name="Execute"><execute>aterm -title
> > > >       ...::aterm::... -e screen -A</execute></action><action
> > > >       name="Execute"><execute>wmctrl -r aterm -e
> > > >       0,5,450,-1,-1</execute></action>
> > > > </item>
> > > > 
> > > > Strange, but this doesn't work. I've tested wmctrl with various
> > > > other apps inside the ob-menu, but I can't get it to work
> > > > correctly. Btw, it works when I start wmctrl outside the
> > > > ob-menu.
> > > > 
> > > > Does anyone have a solution for this?
> > > 
> > > man aterm reveals the -geometry option
> > > 
> > 
> > I'm pretty sure that geometry dictates the size of the window, not
> > the position.
> 
> i regret to announce that you are very wrong and could have looked at
> said manual page
> 

actually, the said option makes the aterm the said size. my irssi window
opens up with -geometry 120x40 and works as john said. it indeed
specifies the window size, not the position.

- ryan



More information about the openbox mailing list