[openbox] Per-App Settings Question / Request

Mikael Magnusson mangosoft at comhem.se
Sun Feb 3 11:21:37 EST 2008


On Sun, 3 Feb 2008, George De Bruin wrote:

> Is there any way to match a window in the per-app settings based on either 
> the WM_ICON_NAME or WM_NAME properties?

no.

> What I am trying to do is match a specific instance of a terminal when it 
> starts up so I can set it's geometry, decor, etc. Since the class string is 
> already set by the terminal, and I don't have a method to set the role 
> property, I am searching for some way to accomplish this.  The best I have 
> found so far is to set the title, which in turn, sets the two properties I've 
> mentioned.
>
> This would actually be more useful to me than just this one case...  It wold 
> lend itself, for example, to setting unique properties on several different 
> terminal types I use (ie, "root terminal", "plain terminal", "screen", etc.)

Most good terminals take a -name option, so you can do
xterm -name foobar
or
urxvt -name foobar
and match on <application name="foobar">.

--
Mikael Magnusson



More information about the openbox mailing list